Re: Updating an Imported Function

2009-05-07 Thread Diez B. Roggisch
Donovan Parks schrieb: Hello, I'm new to Python and have what is probably a very basic question. I am writing a helloWorld() function within a file called helloWorld.py: def helloWorld(): print 'hi' Now, I can import and run this function: import helloWorld helloWorld.helloWorld() Wh

Updating an Imported Function

2009-05-07 Thread Donovan Parks
Hello, I'm new to Python and have what is probably a very basic question. I am writing a helloWorld() function within a file called helloWorld.py: def helloWorld(): print 'hi' Now, I can import and run this function: import helloWorld helloWorld.helloWorld() Which will print 'hi' as ex