Recent articles filed under Python

Updating Python to version 3.12 on Ubuntu

Created 1/7/2024 9:19:08 AM
Filed in Python

Ubuntu comes with a default version for Python, which is 3.10 for the latest LTS 22.04. The active support for this version ended in April last year. It still gets security updates, which is fine, but I want to keep up-to-date with the latest versions. In this guide, we'll take a look at setting up the latest version of Python on Ubuntu 22.04.

Read more

My python setup on Windows 10

Created 1/10/2018 11:29:01 AM
Filed in Python

Setting up a proper development environment for Python and Data Science projects can be hard on Windows. Python's origin isn't on Windows which shows, but you can get it to work with just a few tweaks. Here's how.

Read more

How to quickly build a REST API in Django

Created 12/31/2017 9:40:01 AM
Filed in Python

Vacation time, an excellent time to learn something new, so I figured, why not build a recipe bot that recommends recipes? For that I needed a way to store recipes that the bot could retrieve. And I figured, why not try to build that in Python with Django?

Read more

5 easy steps to start editing python notebooks over SSH

Created 11/6/2017 9:06:47 PM
Filed in Python

When you work with Linux machines on Amazon EC2 or Azure over SSH and want to edit interactive python code you've got a challenge. There is vim and other console based editors, but that might not be what you want. Here's how you can edit python code in your browser over SSH in 4 steps.

Read more

How to setup tox on Windows with Anaconda

Created 11/1/2017 8:57:04 AM
Filed in Python

When you are developing packages for Python you need some way to test whether your package works on someone else's computer. Tox is a great tool for this, but doesn't work well with Anaconda. With some basic steps however you can have your code tested on tox without much trouble.

Read more