Ok, I’m looking to create a quick debug function that prints
out the current function that is running (to help in debugging what functions
are being run). I know that I can use a debugger to get a stack trace (and
I do), but I’m still curious about this problem. Here’s what
I’ve got so fa
WRT creating the Excel file...
The previously mentioned techniques work great. But, if you want to
start off even simpler, just create a .csv (comma separated value) file
with python's file i/o (there is even a python module to help you with
this if you want). It is just a simple text file that
The Zen of Python (http://www.python.org/doc/Humor.html#zen)
states:
"There should be one-- and preferably only one
--obvious way to do it."
I'm searching for the obvious Pythonic way to achieve
automated package installation (I believe Perl's CPAN can be used to accomplish
this in Per
An unhandled exception immediately stops the execution of your code.
A handled exception (try/except) does not stop code execution (unless
you explicitly tell it to).
This shows how a handled exception does not stop code execution:
try:
raise Exception
except:
print 'caught excep
You could include the Pygame module. If this CD is for beginners,
nothing like writing a game to provide a little bit of motivation!
Plus, Pygame provides a lot of multimedia features all in one place
(graphics, sound, keyboard, mouse, joystick, CD, mixer)
http://www.pygame.org/
I'm sure everyon