Fri 3 Sep 2010
Posted by Mike under Pyowa
View Comments
This is for all you Pyowa home-boys out there what missed our gathering. We don’t know why you homebodies didn’t come and hang out and talk shop wit us, but we think you really truly missed out on our phat gathering. We had around 10 real homies show up to hear the jibber jabber about South, a Django data migration tool. We were supposed to hear about SWIG too, but ended up swigging pop (or soda for you southerners) and chowing down on free pizza instead.
Next time, we’ll be booking it at the Ames Public Library in (you guessed it!) Ames, IA on Thursday, October 7th. If you think you got the chops for talking about Python, drop me a line and I’ll hook you up.
Tue 31 Aug 2010
This is the last article of my “Build a Binary Series”. If you haven’t done so already, be sure to check out the others. For our finale, we are to look at Andrea Gavana’s wxPython-based GUI2Exe, a nice graphical user interface to py2exe, bbfreeze, cx_Freeze, PyInstaller and py2app. The latest release of GUI2Exe is 0.5.0, although the source may be slightly newer. Feel free to run from the tip as well. We’ll be using the example scripts that we used for several of the previous articles: one console and one GUI script, neither of which do much of anything. (more…)
Sun 22 Aug 2010
 |
Python 3 Object Oriented Programming
By Dusty Phillips
Amazon
Packt
|
(more…)
Thu 19 Aug 2010
The bbfreeze package also allows us to create binaries, but only on Linux and Windows. It’s just an easy_install away, so if you plan on following along with the examples in the article, you should go get it. The bbfreeze package includes egg support, so it can include egg dependencies in your binary, unlike py2exe. You can also freeze multiple scripts at once, include the Python interpreter and more. According to bbfreeze’s PyPI entry, it’s only been tested with Python 2.4-2.5, so keep that in mind. However, I was able to use it with Python 2.6 with no obvious problems. (more…)
Sat 14 Aug 2010
 |
Practical Programming: An Introduction to Computer Science Using Python
By Jennifer Campbell, Paul Gries, Jason Montojo and Greg Wilson
Amazon
|
I received the book, Practical Programming: An Introduction to Computer Science Using Python as a gift last month from a family member. This book is by four authors: Jennifer Campbell, Paul Gries, Jason Montojo and Greg Wilson. I’d been interested in reading another Python-related textbook for a while, and this happens to be one of the few out there. The only other Python textbook I’ve read is Python Programming: An Introduction to Computer Science by John Zelle. I’m aware of one or two others, but those books are beyond what I’m willing to pay. (more…)
Thu 12 Aug 2010
In this article, we will be learning about cx_Freeze, a cross-platform set of scripts designed to “freeze” Python scripts into executables in a manner similar to py2exe, PyInstaller, etc. We will freeze one console script and one window (i.e GUI) script, using the examples from the previous article in this series. If you haven’t done so already, you can get cx_Freeze here. Let’s get this party started, shall we? (more…)
Tue 10 Aug 2010
In our previous article on building binaries, we learned a little about py2exe. This time around, we will be focusing our collective attention on the ins and outs of PyInstaller. We’ll use the same lame wxPython script from the last article for one of our examples, but we’ll also try a normal console script to see what the differences are, if any. In case you didn’t know, PyInstaller works on Linux, Windows and Mac (experimental) and works with Python 1.5-2.6 (except on Windows, where there’s a caveat for 2.6 – see below). PyInstaller supports code-signing (Windows), eggs, hidden imports, single executable, single directory, and lots more! (more…)
Fri 6 Aug 2010
Posted by Mike under Pyowa
View Comments
We had our August 2010 Pyowa meeting last night in Ames at the Ames Public Library. Seven people attended the meeting, most of whom were regulars. I think we had one new guy or maybe he’s only been to one. Anyway, Scott presented on SqlAlchemy. He walked us through the basics using a movies example that I think get found on Jonathan Ellis’s site. He also talked about SqlSoup, Migrate, a couple other extensions and SqlAlchemy’s TurboGears 2 integration. In fact, he demoed a couple TurboGears applications as well.
Our next meeting will be in Des Moines at the IMT Group building. We are currently getting all the details nailed down for that, so be sure to check out the Pyowa website for updates or join our mailing list!
Sat 31 Jul 2010
I received a request to create an article on how to use py2exe and wxPython to create an executable. I d, ecided to do a series on packaging instead. It is my intention to go over the major Windows binary building utilities and show you, dear reader, how to use them to create a binary that you can distribute. Once those articles are done, I’ll show how to use Inno and NSIS. To kick things off, we’ll go over how to use py2exe, probably the most popular of the Windows executable packages. (more…)
Tue 27 Jul 2010
The other day, there was a post on one of the mailing lists that I follow about accessing the Windows Event Logs. I thought that was an interesting topic, so I went looking for examples and found a pretty nice example on ActiveState. In this article, you’ll find out what I discovered. (more…)