How to Pickle: A Pickling and Unpickling Tutorial

Prerequisites Knowledge of  the following is required: Python 3 Basic Python data structures like dictionary File operations in Python Introduction Literally, the term pickle means storing something in a saline solution. Only here, instead of vegetables its objects. Not everything in life can be seen as 0s and 1s (gosh! philosophy), but pickling helps us […]

Read More

Debug Your Python Code: PyChecker

PyChecker is a valuable tool to use to check and debug your Python code. This tool is especially useful to have if you’re just beginning to learn the language — trying, failing, and learning from your mistakes is often the best way to learn to code! Luckily for beginner coders, PyChecker is very easy to […]

Read More

Interactive Resources: Learn and Practice Python for Free

Python is a great coding language to have under your belt. Not only is it a well sought after and lucrative skill, but it’s also one that will help you stand out when searching for jobs. If you’re looking to start learning, check out any of these web apps and tools that will help you […]

Read More

Learn Python with the Acire Python Snippets Project

Studying and playing with code snippets is always a great way to learn and get comfortable using a new language. Compared to other popular languages like PHP and Java, it seems like there are far fewer Python snippet resources available. If you’ve been trying to find some helpful Python snippets to aid you in learning […]

Read More

How to Clean Up Your Code with this Python Formatter

No one likes to see messy or disorganized code. If you’ve come across code like this (or maybe even if you write code like this…no judgement here), you could attempt to reformat the code yourself, which, depending on how big the files are, could take hours or even days, OR you can use a Python […]

Read More

Using Sparts to Write Python Code

Sparts is a Python library developed by Facebook to eliminate skeleton code. The main purpose of the library is to make it easy to implement services without having to write excess code, so you can create prototypes really quickly. To learn the basics of Sparts, be sure to read the documentation. The way that Sparts […]

Read More

Python Tools: Pyflame

Pyflame is new a tool brought to us by Uber’s engineering team (you can read about the conception of the idea here) that many Python coders will find very useful. The tool is used to generate flame graphs for Python processes.   Pyflame works by using the ptrace(2) system call to analyze the currently-executing stack trace […]

Read More

Using YAPF (Yet Another Python Formatter)

Yet Another Python Formatter (YAPF) is a valuable tool for writing Python. YAPF is an open-source Python Formatter that makes writing clean Python code a lot easier, so you can spend more time writing code and less time worrying about how it looks. One of the great advantages of using this formatter (besides the pretty […]

Read More

Python’s Django vs Ruby on Rails

Python vs Ruby Ruby is a dynamic, reflective, object-oriented general-purpose programming language which was designed and developed in the mid-1990s. Compared to Python, which treats code readability above everything else, the philosophy behind Ruby is that programmers should have the flexibility, freedom and power to write concise and compact code. The most important difference between […]

Read More

PyInstaller: Package Python Applications (Windows, Mac and Linux)

PyInstaller is a program used to convert Python scripts into standalone applications. PyInstaller allows you to run applications written in Python on a computer without requiring the user to install Python. It is an excellent option when you need to distribute a program to the end user as a standalone application. PyInstaller currently only works […]

Read More