[BangPypers] Re :Re: Re :Use of module (Include file) in Python???
dpatel_07 at rediffmail.com
Fri Sep 12 00:59:32 CEST 2008
Thanks a lot guys, I have not yet tried it, got involved in something else, but will try it shortly.It looks like this "IMPORT" will be replacing the "#include" kind of behaviour in Python.Thanks,Deepak.On Sun, 7 Sep 2008 01:58:15 +0530 Bangalore Python Users Group - India wroteOn Sun, Sep 7, 2008 at 1:16 AM, Abhinav Sarkar wrote:>> from modulename import methodname>> or to import all methods at once do:>> from modulename import *Of course ... the first way is better form than the second for variousreasons ... so you might want to make that a habit if you're startingon a career in python.RegardsRajeev J Sebastian_______________________________________________BangPypers mailing listBangPypers at python.orghttp://mail.python.org/mailman/listinfo/bangpypers
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the BangPypers