Python Tutorials

Pygame game optimization

Pygame a cool Python module to build awesome games that's interesting to play and easy to build. Pygame limited by Python interpreters speed is suited for 2D games and works prett…

Read More

Build MP3 Player using Python

Code snippets to build MP3 player featues:

1. How to play a song?
A. There are a few options available in Python to play song but the best is mixer that comes with Pygame.

Read More

Play mp3 audio file using Python

1. Python module "playsound"

Its a great module to play sound files. Its cross platform that means it works on Windows, Mac as well as Linux.

Refer for more details: Read More

Django Pro Tips

Django Model Changes not taking effect

When developing a new feature I created Models and then I had to completely change the model structure. When running makemigrations …

Read More

Working with Date with SQLite and Python

SQLite does not have datatypes to store date or time. Instead it provides builtin functions that are capable of storing dates and times as TEXT, REAL or INTEGER values.

1 2 3 4