Pandas is a free and open source Python library released under the BSD license. Originally developed by Wes McKinney in 2008, and supported by companies like Intel and Nvidia, it is targeted at data analysis and manipulation. It can be easily used to read and write data from a variety of sources such as Excel spreadsheets, Comma-separated Values (CSV) files, and many more.
How to install PyCharm on Ubuntu 20.04 Linux Desktop
PyCharm is a graphical IDE (integrated development environment) that can be installed on Ubuntu Desktop. Many Python programmers enjoy using PyCharm because it can be used to analyze code, debug programs, and is integrated with Git and other version control systems, as well as web development applications. PyCharm is developed by JetBrains. It is free and open source, or at least the community edition is.
How to change from default to alternative Python version on Debian Linux
Your Debian Linux installation may include multiple Python versions and thus also include multiple Python binary executables, and it’s possible to change the python version that the system is using. In this tutorial, you will see how to install multiple versions of python, and change the python version on Debian using the
update-alternatives python command. This will allow you to run various Python programs including legacy scripts. Check the sections below to learn how.
Introduction to Ansible roles
Ansible is a free and open source provisioning system written in Python and sponsored by Red Hat. In previous tutorials we learned the Ansible basics, and we saw how to organize tasks in playbooks and how to secure sensitive data using ansible-vault. There is another, very important concept we need to focus on when dealing with Ansible: roles.
How to Use a Bash Script to Run Your Python Scripts
Python is a popular programming language used in a wide range of applications, from data analysis and scientific computing to web development and artificial intelligence. Bash is a powerful scripting language used primarily in Unix and Linux environments for automating tasks and running commands. By combining the two languages, developers can create powerful scripts that can automate complex tasks and workflows. In this article, we’ll explore various techniques for running Python scripts with bash, including passing arguments, activating virtual environments, and running scripts in the background. We’ll also provide examples of real-world scripts that demonstrate these techniques in action.
How to setup Linux Apache Mysql Python server
Apache, MySQL, and Python can be used in tandem to host and serve a website from a Linux system. This assortment of software is known as a LAMP stack (Linux, Apache, MySQL, Python) although sometimes the ‘P’ means PHP, which can either be used in addition to or as a replacement of Python. Apache serves the website, MySQL stores and retrieves information from a database, and Python can generate HTML and related code for the site’s visitors to view.
An Introduction to Linux Automation, Tools and Techniques
In the fast-paced world of technology, automating routine tasks can be the key to increased efficiency and productivity. Linux systems are no exception, and there are a variety of automation tools and techniques available to help streamline administration and management tasks. This article provides a comprehensive introduction to Linux automation tools and techniques, discussing the benefits of automation, the different types of tools available, and how to get started with automating your Linux workflow. Whether you’re a seasoned Linux administrator or just getting started, this article will provide you with the information and guidance you need to take your skills to the next level.
List of Python Escape sequence characters with examples
When programming in Python, escape characters can be used in order to tell the compiler that it should treat the next character or characters differently. For example, we can tell Python to print a quote
" as an actual quote character, rather than interpreting it to be part of the Python code. Other special characters like
\t can create TAB spaces, and
\n can create new lines. In this tutorial, you will see a list of Python escape sequence characters and examples that you can use on a Linux system.
How to write Nautilus extensions with nautilus-python
Nautilus, also known as “Files”, is the default file manager of the GNOME desktop environment. In a previous tutorial we saw how to create and call custom scripts from the Nautilus context-menu: this feature can be really useful but is somehow limited. By installing the nautilus-python package in our favorite Linux distribution, and writing just few lines of Python code, we can overcome such limitations and create proper Nautilus extensions.
Install Python 2 on Ubuntu 20.04 Focal Fossa Linux
This tutorial will show how to install Python2 for Ubuntu 20.04 Focal Fossa Linux. Python 2 has not been the default installed version on Ubuntu for a few years, but it’s still possible to install Python2 and to install Python 2.7 on Ubuntu.
How to manage git repositories with Python
Neither Python nor Git need presentations: the former is one of the most used general-purpose programming language; the latter is probably the most used version control system in the world, created by Linus Torvalds himself. Normally, we interact with git repositories using the git binary; when we need to work with them using Python, instead, we can use the GitPython library.
Install Numpy on Ubuntu 22.04 Jammy Jellyfish Linux
NumPy is a Python library, which supports large, multi-dimensional arrays and matrices. It also offers a wide set of high-level mathematical functions to operate on these arrays. The objective of this short guide is to install NumPy on Ubuntu 22.04 Jammy Jellyfish Linux.