Run python file -- what function is main?
- by Jasie
I have simple python script, 'first.py':
#first.py
def firstFunctionEver() :
print "hello"
firstFunctionEver()
I want to call this script using : python first.py and have it call the firstFunctionEver(). But, the script is ugly -- what function can I put the call to firstFunctionEver() in and have it run when the script is loaded?