Tag Archives: python

Dates and Locale settings in Python

Just a few notes on how date and time formats can be affected by the locale setting in python. Advertisements

Posted in Linux, Programming | Tagged | Leave a comment

Python Dates Times and Timezones

Dealing with time zones is hard, you may know what time zone you are in but what happens when you want to convert your local time to that in another timezone?

Posted in Debian, Linux, Programming, Raspbian, Ubuntu | Tagged | Leave a comment

Pycon WiPy boot script

I use the following python script to connect automatically to my wireless network, set the time and configure the FTP service on my device.

Posted in PyCom | Tagged | Leave a comment

Manually configuring the network on my WiPy

When I received my Pycon WiPy 2.0 board the first thing I did was to work out how to connect it to my network, normally you would do this automatically in the ‘boot.py’ script but before you an update this … Continue reading

Posted in PyCom | Tagged | Leave a comment

Displaying a list of the named colours available in Pygame

When using pygame it seems a good idea to use named colours as this makes it a little more obvious what is going on.

Posted in Programming | Tagged , | Leave a comment