printing inside and outside of main() module
- From: korean_dave <davidreynon@xxxxxxxxx>
- Date: Wed, 30 Apr 2008 08:21:17 -0700 (PDT)
This allows me to see output:
---begin of try.py
print "Hello World"
--end of try.py
This DOESN'T though...
--begin of try2.py
def main():
return "Hello"
--end of try2.py
Can someone explain why???
.
- Follow-Ups:
- Re: printing inside and outside of main() module
- From: Peter Otten
- Re: printing inside and outside of main() module
- Prev by Date: Re: Issue with regular expressions
- Next by Date: Re: printing inside and outside of main() module
- Previous by thread: new free fiction
- Next by thread: Re: printing inside and outside of main() module
- Index(es):