Introduction One of the primary functions of programming languages is to help you deal with data. This includes data writing, reading, storage, as well as transfer. Python is one of the most popular programming languages. If you are planning to use Python, you should have a basic idea of how to use different file types. The simplest of file types …
Importing Modules in Python 3: A Comprehensive Guide
Introduction Most of us are familiar with Python as a programming language. One of the great things about Python 3 is the myriad of built-in functions it offers. You get access to these functions when you are using Python 3 to write different types of code. Before we start, take a look at our tutorial on installing Python 3 and …
Programming with Python 3: How To Go About Constructing Classes and Defining Objects?
Introduction We all know about Python as a programming language. To be more specific, Python is an object-oriented programming language. In object-oriented programming, or OOP, the goal is to make reusable code patterns. This is different from procedural programming where we give a sequence of instructions. Object-oriented code is especially useful when you are working on complex programs. When you …
Setting up Django with PostgreSQL, Nginx, and Gunicorn on Ubuntu 20.04
Django is a free, and open-source web application framework that’s built in the Python programming language. Django is super-fast, secure, and highly scalable. At the hand of a skilled developer, Django can quickly establish a powerful website. It can seamlessly integrate with popular web servers (Apache, Nginx), and databases (MySQL, MariaDB, PostgreSQL, Oracle, and SQLite), etc. Django powers some of …
Using Python 3 String Formatters
Introduction The str.format() method in the string class of Python lets you do a variety of value formatting and substitution. Positional formatting and concatenation of elements within a string are done using string formatters in Python 3. In this tutorial, you will learn about the common uses of string formatters in Python. Formatting the strings will help you write more …
Installing Python 3 and Setting up a Local Programming Environment on Ubuntu 16.04
Introduction Python is an interactive, object-oriented, and simple programming language which can be used for a plethora of different programming projects. A fun fact is that Python is not named after the python snake but after the comedy television show Monty Python’s Flying Circus. Python is a great language to get started with programming and a great choice for experienced …
How to Install Anaconda on Ubuntu 18.04 in Six Simple Steps
Introduction Anaconda is an open-source package manager and framework for handling machine learning and data science workflows. It also helps to distribute some programming languages like Python and R. With over 7500 different scientific data packages, Anaconda helps process large-scale data, scientific computing, and predictive analysis. This package is available as a free and paid version. In this tutorial, we …
Extracting Twitter Data Using Python
Twitter is not just an extended source of news, it is by far one of the best samples of the world’s thoughts. With more than 330 million active users, it is one of the top platforms where people like to share their thoughts. Twitter data can be used for a variety of purposes such as research, consumer insights, demographic insights, …
NASDAQ Per Minute Data Using Python
If analysis is the body, data is the soul. In our project of stock market analysis based on Twitter sentiments, we selected a few sample companies. We decided what we needed but we still had to cast some spells to get to the core data. As much as we dream about attending Hogwarts, we can’t simply say ‘Accio’ to make …
Storage management with automatic periodic snapshots
A while ago, we introduced the ability to take snapshots of a drive. This is a very handy feature that allows you to quickly and efficiently save drive states even on live systems. Thanks to ZFS, automatic snapshots will only consume the delta between the current state and where the snapshot was taken. This means that if your original drive …
CompatibleOne, jclouds and LibCloud now support CloudSigma’s IaaS cloud
We try hard to make our platform as accessible and open as possible. This is an ongoing effort of continual improvement so we’re happy to announce a number of recent initiatives that back up these commitments. As you probably know, we already allow you to upload and download your disk images from our cloud making migration into and away from …
Spice up your servers with Salt
In recent times, the automation tool Salt has gained a lot of attention. In fact, Salt, along with Ansible, are seen by many as refreshing alternatives to the more established automation tools Puppet and Chef. Recently, a new tool was added to the Salt stack named salt-ssh, which enables you to manage servers without having to install any tools on …