Python 2 Vs Python 3

Python 2.x and Python 3.x are two major releases of the python programming language. Python 2 was released in 2000 and now in 2020, it is no longer in development. It was easy to write code in Python 2 as compared to its prior versions. The developers of the Python programming language notice so many … Read more

Setup Python Development Environment With VSCode On Windows

Visual studio code (VS Code) is a free and open-source IDE that is developed by Microsoft. It is a lightweight IDE that has powerful features like smart code completion, code linting for potential errors, debugger, etc. You can set up VS code for development using Python programming language by installing python extension. In this article, … Read more

Best 7 Python IDEs And Code Editors

A code editor basically used to write and edit code it is usually lightweight and considered good for learning and small projects. Once you start writing code for larger applications you need to use an Integrated Development Environment (IDE). An IDE has so many good features including features like build automation, code linting, testing, debugging, … Read more

Escape sequences in Python

An escape sequence or escape character allows you to insert a special character in a string. For example, you can insert a new line in a string using \n character. The backslash \ is used before the character that you want to escape. List of escape characters in Python The following table shows you a … Read more

How to install Scikit-Learn on Ubuntu Linux?

Scikit-Learn is a free machine learning library for Python, it is best for working with complex data. It is designed to interoperate with NumPy and SciPy libraries. Scikit-Learn provides a higher-level interface for machine learning and features various classification, regression, and clustering algorithms. It can be combined with the Python web framework to build the … Read more

How to install PyQt5 in Ubuntu Linux?

Qt is a framework for the graphical interface which is used for developing cross-platform applications. It makes it easy to develop applications with native-looking GUIs by using standard C++ that’s why it is classified as a widget toolkit. PyQt is a comprehensive set of Python bindings for Qt which makes python to be used … Read more

How to install Python pip on Linux?

Python pip in Linux is a package management tool used to find, install, remove and list the packages from the Python Package Index (PyPI). In this article, we will discuss how to install pip on Linux for Python 3 and Python 2 on different distributions. If you have not installed Python yet on your Linux … Read more

File handling in Python

File handling is the method of storing the data generated by a program in a file or taking the data of a file as input to the program. It is an integral part of most programming languages. Python provides built-in functions to perform file operations. Today in this article I will discuss different file operations in … Read more

Writing Hello World! Program In Python

In the last few articles, we have installed python and set up VS code IDE on Linux and Windows for development using Python. Today in this tutorial we will write and execute our first program in Python. Write and execute your first python program using terminal Follow the given steps to write and execute the … Read more