“In this article, you learn how to work with files. First, we review a simple way to output data in Python, using the print statement, then learn about the file object, which is used by Python programs to read and write data to a file. The different modes with which a file can be opened are demonstrated, and the article concludes by showing how to read and write a binary file.”
I bookmarked the root of the article, “Discover Python”. It makes a great introductory series for a beginning Python programmer.
I was looking for something like that. IBM’s DeveloperWorks is amazing, lots of great info.
The DeveloperWorks “Charming Python” is even better. A lot of really cool stuff is presented there.
NOTE to EVERYONE!:
Am not starting a flame war!!
I have looked into python before. However, most of the projects I work on require threading. For example, We use some third party components for asynchronous communication over some proprietary network. It is used by some high precision cutting and welding equipment at a factory.
I like python’s syntax mostly, however we’ve had problems with threading and especially on SMP systems.
Does anybody here know whether they have resolved the GIL issues and are there any planned releases with the fix?
-Ad
Yeah gotta agree there, whenever I’ve needed threading in Python, I’ve always used PyQt’s QThreads, they seem to ‘just work’ better than Python’s threads.