Re: Capturing the entry point of a script

2007-04-12 Thread Steve Holden
SamG wrote: > If a function does not have main function defined and there is only a > > if __name__="__main__": > > how do i make a call to that using > > profile.runcall( ...) > > in my profiling script. Is there a way to find the entry point of a > script and indentify it with module method.

Capturing the entry point of a script

2007-04-12 Thread SamG
If a function does not have main function defined and there is only a if __name__="__main__": how do i make a call to that using profile.runcall( ...) in my profiling script. Is there a way to find the entry point of a script and indentify it with module method. -- http://mail.python.org/mail

Capturing the entry point of a script

2007-04-12 Thread SamG
If a function does not have main function defined and there is only a if __name__="__main__": how do i make a call to that using profile.runcall( ...) in my profiling script. Is there a way to find the entry point of a script and indentify it with module method. -- http://mail.python.org/mail