Skip to content Skip to sidebar Skip to footer
Showing posts with the label Main

What's The Best Practice For Writing An "execute Only" Python Module?

I have a Python module that is intended exclusively for running as a script and never as something … Read more What's The Best Practice For Writing An "execute Only" Python Module?

Using Python, Reverse An Integer, And Tell If Palindrome

Using Python, reverse an integer and determine if it is a palindrome. Here is my definition of reve… Read more Using Python, Reverse An Integer, And Tell If Palindrome

Python Variables Not Defined After If __name__ == '__main__'

I'm trying to divvy up the task of looking up historical stock price data for a list of symbols… Read more Python Variables Not Defined After If __name__ == '__main__'

How To Use Python Main() Function In Gae (google App Engine)?

I'd like to use a main() function in my GAE code (note: the code below is just a minimal demons… Read more How To Use Python Main() Function In Gae (google App Engine)?