## How to Plot the Confidence Interval in Python?

Problem Formulation: How to plot the confidence interval in Python? To plot a filled interval with the width ci and interval boundaries from y-ci to y+ci around function values y, use the plt.fill_between(x, (y-ci), (y+ci), color=’blue’, alpha=0.1) function call on the Matplotlib plt module. The first argument x defines the x values of the filled … Read more

## Top 10 PyCharm Cheat Sheets

Hey Finxters! We all need cheat sheets for Python and all its intricacies. Python has many libraries and there are so many IDE applications you can use  with it! One of these IDEs is called Pycharm! I want to introduce you to some of Pycharms shortcuts! Let’s get started right away! Full PyCharm Tutorial Finxter … Read more

## Doubly Linked List in Python

In this tutorial you will learn about doubly linked list. You will learn how to implement a doubly linked list in Python. A doubly linked list, unlike a singly linked lists consists of a data value along with a next and previous pointer. Let us see a simple example of a doubly linked list. In … Read more

## How to Open a PDF File in Python?

In this tutorial, you’ll learn how to open a PDF file in an external PDF reader or the browser, using a simple Python command. There are many variants to this problem, so let’s dive right into the different ones—and their solutions! Method 1: Open PDF Standard Viewer with os.system(path) — With CMD You can open … Read more

## Less Is More in Design

This chapter draft from my upcoming book “From One to Zero: Minimalism in Programming” will appear in revised form in 2021 with NoStarch (SanFrancisco). Stay tuned for updates on the book launch: In this chapter, you’ll enter a vital area in computer science that greatly benefits from a minimalistic mindset: design and user experience (UX). … Read more

## How to Convert a Unicode String to a String Object in Python?

This tutorial will show you how to convert a Unicode string to a string in Python. If you already know about Unicode, you can skip the following background section and dive into the problem right away. Background Unicode A bit about Unicode from Wikipedia. Unicode is a character encoding standard that includes characters from almost … Read more

## Top 10 Algorithm Cheat Sheets

Hey Finxters! Do you  know what time it is? That’s right! It’s time for some more cheat sheets!! These cheat sheets are meant to help you on your way to becoming a great Python developer and of course becoming one of the best Python freelancers globally! This article is all about algorithms used in software … Read more

## How to Create an Interactive Web Application using a Jupyter Notebook

Summary: To create an interactive web application in a Jupyter Notebook, use the three libraries ipywidgets, voila, and binder. This requires only basic Python programming skills without the need to learn a new framework. There are various Python tools available to create web applications and frontend GUIs.  For example, Flask and Django. As useful as … Read more

## Python property() — What You Always Wanted to Know But Never Dared to Ask

Object-orientation is great way to encapsulate data in your application. This minimizes complexity and adheres to good software engineering principles. However, attributes in Python can be easily accessed from the outside—they’re not really encapsulated. That’s one of the reason the property() built-in function exists: it allows you to truly encapsulate data with the means of … Read more

## Python Get Milliseconds

In this article we are going to look at how we can see time in milliseconds,  i.e. one thousandth (1000th) of a second, using Python. This could be for pure curiosity, benchmarking code or to get  a very, very accurate time of day –  whatever the reason, the focus of the article is how to … Read more

## 10 Best Advanced Python Cheat Sheets

Hey Finxters! I have another set of cheat sheets for you! This time, I am going to focus on the more advanced aspects of Python and what you can do with it! As you know Python is a flexible language used in web development, games, and desktop applications. I am not going to waste too … Read more

## Python id() Function

Python’s built-in id(object) function takes a Python object as an input and returns the identity of an object that is a static, unique integer. The identity is static, it never changes throughout the program’s execution, and unique, no other object has the same identity. It is implemented in cPython by returning the address of the … Read more