Looking to start learning Python?

Begin Here

Author: Mike

Most Popular Language on CodeEval.com? Python!

February 5, 2014 by Mike
What's the most popular language of 2013? According to CodeEval.com, it's Python! If you compare that with TIOBE, Python is only at #8, but at least it's still in the top ten! Hopefully Python will continue to gain in the ranks and be used in many new places in 2014. You might also find the […]

wxPython: How to Catch All Exceptions

January 31, 2014 by Mike
One of my friends on the wxPython Google Group asked how to catch any exception that happens in wxPython. The problem is complicated somewhat because wxPython is a wrapper on top of a C++ library (wxWidgets). You can read about the issue on the wxPython wiki. Several wxPython users mentioned using Python's sys.excepthook to catch […]

How to Time Small Pieces of Python Code with timeit

January 30, 2014 by Mike
Sometimes when you are coding, you want to know how long it takes for a particular function to run. This topic is known as profiling or performance tuning. Python has a couple of profilers built into its Standard Library, but for small pieces of code, it's easier to just use Python's timeit module. Thus, timeit […]

wxPython: Creating a File Downloading App

January 29, 2014 by Mike
I've been thinking about creating a simple downloading script with wxPython for quite a while. Then I saw someone on StackOverflow asking about how to do it and I decided it was time to figure it out. Downloading a file with Python is trivial. I wrote about a couple of different ways to do that […]

eBook Review: Learn Python the Hard Way

January 28, 2014 by Mike
A few years ago, a fellow named Zed Shaw created a website called Learn Python the Hard Way that a lot of people praised. The website is made up of lots of short exercises that help beginner programmers learn the various nuances of Python but in bit-sized chunks. He kept updating it from time to […]

Python 201: An Intro to Generators

January 27, 2014 by Mike
The topic of generators has been covered numerous times before. However, it's still a topic that a lot of new programmers have trouble with and I would hazard a guess that even experienced users don't really use them either. Python generators allow developers to lazily evaluate data. This is very helpful when you are dealing […]
View More

End of content

No more pages to load

Copyright © 2024 Mouse Vs Python | Powered by Pythonlibrary