Category Archives: Python

The place for anything Py

Trolltech QT 4.0 GPL’d

qt4

Trolltech has finally launched a GPL version of their software for Win32. This is great news for myself, and a lot of people out there.I for one, have never been able to install QT properly on my linux box.
There was always some missing or mis-referenced library, and I never could get it to work. I could also never seem to find the old 2.3 Win32 version that was GPL’d. Now, I can try it on my windoze box, and see if it is easier to write my Python Gui’s.

Click here for the win32 download mirrors!

 

Simple Python Socket Test

python
I have found that there is not a lot of documentation out there that shows you a simple way to instantiate a socket connection. Here is a simple code snippet, that shows you how to make a connection using the socket module. This would be useful for checking whether a host is listening on a particular port. This is not a full sockets implementation(no send, or recieve), but simply tests if a TCP socket is open.
Continue reading

 

Great Python Articles/Tutorials

I thought I would throw some information out there that has helped me immensely in the past. Here is a link to some articles on Devshed.com that simplify and de-mystify some common problems people have when learning Python, from beginner on up. For beginners I suggest checking out the articles here and here for info on file handling and sockets.
Also, check out the forums if you are ever in need of some guidance or help in the world of Python , or just about any other language/technology.

–List of articles–