On Sun, Sep 7, 2008 at 1:16 AM, Abhinav Sarkar <[EMAIL PROTECTED]> 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 various
reasons ... so you might want to make that a
David Elsen wrote:
Hi Venkata,
Thanks.
I could do this.
Import my first file as module and then using all my methods
. format, but I would like to include my
file and want to use just as not as
..
Hope I am clear.
Thanks,
Deepak
On Sat, Sep 6, 2008 at 5:45 AM, venkata subramanian
<[EMAIL
Hi Venkata,
Thanks.
I could do this.
Import my first file as module and then using all my methods
. format, but I would like to include my
file and want to use just as not as
..
Hope I am clear.
Thanks,
Deepak
On Sat, Sep 6, 2008 at 5:45 AM, venkata subramanian <
[EMAIL PROTECTED]> wrote:
> Hi
Hi Deepak,
You can do this.
It is using the keyword called import.
The basic syntax is
import
example: import RegDesc
then, you can do RegDesc.foo(bar)
My friend had the same problem. He read the tutorial till
one point and missed the part where they talk about modules
and packages. So
Hello,I am new to Python and need some help. Can someone please tell me whether
I can use the Python Module like include file? Is there a way to use the
"include" file in Python? If I try to include a file with "# include", that
line is treated as comment. What is the directive to include the in