Looking to start learning Python?

Begin Here

Python 101: How to Move Files between Servers

October 26, 2012 by Mike
If you do much system administration, then you know that sometimes you have to write scripts that can move files between servers. I'm not really a system administrator by trade, but I did have to do this sort of thing in some of my programs anyway. Python has several 3rd party packages that provide this […]

Central Python Events Calendar Announced

October 25, 2012 by Mike
The Python Software Foundation recently put out an announcement about a central Python events calendar. I thought that was really cool, so I'm reproducing their announcement here. Spread the word! ________________________________________________________________________ ANNOUNCING Central Python Events Calendars maintained by the Python Software Foundation (PSF) and a group of volunteers ________________________________________________________________________ INTRODUCTION The PSF has put together […]

Python 101: Exception Handling

September 12, 2012 by Mike
Python provides robust exception handing baked right into the language. Exception handing is something every programmer will need to learn. It allows the programmer to continue their program or gracefully terminate the application after an exception has occurred. Python uses a try/except/finally convention. We'll spend some time learning about standard exceptions, how to create a […]

Python 101: The Ternary Operator

August 29, 2012 by Mike
There are a lot of computer languages that include the ternary (or tertiary) operator, which is basically a one-line conditional expression in Python. If you're interested, you can read about the various ways it's rendered in other languages over on Wikipedia. Here we will spend some time looking at several different examples and why you […]

Python logging with lggr

August 27, 2012 by Mike
Some people complained about my last logging article, wondering if it was even necessary since the docs and Doug Hellman have already written on the topic. I sometimes wonder why I write on these topics too, but usually when I do, I get lots of readers. In this case, I've gotten almost 10,000 hits just […]

wxPython: How to Get Children Widgets from a Sizer

August 24, 2012 by Mike
The other day, I stumbled across a question on StackOverflow asking how to get the children widgets of a BoxSizer. In wxPython, you would expect to call the sizer's GetChildren() method. However, this returns a list of SizerItems objects rather than a list of the actual widgets themselves. You can see the difference if you […]
View More

End of content

No more pages to load

Copyright © 2024 Mouse Vs Python | Powered by Pythonlibrary