[Tutor] Basic Help Implementing Saved Scripts

John Fouhy john at fouhy.net
Thu Jul 10 06:51:27 CEST 2008


On 10/07/2008, jar_head at fuse.net <jar_head at fuse.net> wrote:
> Hi,
>      Sorry for this, most likely, idiotic question on my part.  I'm really liking Python and it's
> ease of use.  My only trouble is that I'm not sure how to use a script that I've saved, during
> another script located within the same folder.
>
>  The idea is that I want to make a few functions and be able to pull them up within my
> program without copy and pasting them.  Is it possible in Python?  Do I have to import
> them?

Short answer: Yes.  Check out the tutorial:
http://docs.python.org/tut/node8.html

-- 
John.


More information about the Tutor mailing list