What do you do if you want to see if you are receiving any packets on specific network port, well you could use a tool like TCPDump – or you could do something using a short python script. Advertisements
I decided to put together a short python script to generate (and eventually check) a checksum for one or more files.
Posted in Programming
Just a few notes on how date and time formats can be affected by the locale setting in python.
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?
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
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
When using pygame it seems a good idea to use named colours as this makes it a little more obvious what is going on.
Having got my WiPy connected to my Wireless network I wrote the following script mainly as a way of testing the process of updating main.py (which is the python script that is executed automatically when the4 WiPy 2.0 finishes booting), … Continue reading
By default the WiPy 2.0 advertises it self as a wireless access point with a default SSID, IP address, username and password. This makes sense as the factory default since unless you use the USB serial console the only way … Continue reading
While browsing the RS catalog the other evening (I lead an exciting life) I came across the WiPy 2.0. It is most certainly NOT the same sort of beast as a Raspberry Pi but it isn’t meant to be! It … Continue reading