Recent articles filed under Python

Running Django Tests in VSCode

Created 9/28/2024 9:52:29 AM
Filed in Python

Running Django tests in Visual Studio Code just got easier, thanks to recent updates! However, configuring it can still be a bit tricky. After some trial and error, I found a smooth workflow to set up and run Django tests right within VSCode. This guide will walk you through the essential steps to configure your environment and leverage the powerful Test Explorer to maintain high code quality. Let’s dive into how you can make your testing process more efficient, all without leaving your favorite code editor!

Read more

How to set up a Django project for production in 2024

Created 3/29/2024 12:36:42 PM
Filed in Python

Django is a great framework for building Python based web applications both for REST endpoints and regular websites. However, I've found that the default template lacks a few things that I like in my Python projects. In this article I'll show you why you should change the layout of your Django projects for the better.

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