Re: [Tutor] import.... (Joseph Q.)

2005-04-09 Thread Kent Johnson
Joseph Quigley wrote:
I don't think I have said it already, but I'll say it again just incase 
:-), I'm new to python. I started Feb. this year.

import is handy. But my questions are:
is there a type of unimport or something to unload a module? 
This is not normally needed.
Foo: What's
it good for?
Foo and Bar are popular names used in examples. They don't mean anything. For example to show how to 
define a function I might write

def foo():
  print 'Hello'
I just use foo to avoid having to think of a meaningful name.
Kent
___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


RE: [Tutor] import.... (Joseph Q.)

2005-04-09 Thread Alberto Troiano
Hey Joseph
Why do you want to unload a module?
I don't understand why you need to "unimport" but I do know that every module has a constructor and a deconstructor
maybe you can start from there but I will need an example or more info about why you need to do this
Regards
Alberto>From: Joseph Quigley <[EMAIL PROTECTED]> >To: tutor@python.org >Subject: [Tutor] import (Joseph Q.) >Date: Fri, 08 Apr 2005 16:58:37 -0600 > >I don't think I have said it already, but I'll say it again just >incase :-), I'm new to python. I started Feb. this year. > >import is handy. But my questions are: >is there a type of unimport or something to unload a module? Foo: >What's it good for? > >___ >Tutor maillist - Tutor@python.org >http://mail.python.org/mailman/listinfo/tutor 

___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


[Tutor] import.... (Joseph Q.)

2005-04-09 Thread Joseph Quigley
I don't think I have said it already, but I'll say it again just incase 
:-), I'm new to python. I started Feb. this year.

import is handy. But my questions are:
is there a type of unimport or something to unload a module? Foo: What's it 
good for?

___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor