importing other .py files

Discussion in 'Python' started by Eric, Feb 14, 2004.

  1. Eric

    Eric Guest

    I created a file called TwoFourNode.py that has two classes, a tree
    class and a node class. in a tester file I want to build my 2-4 tree,
    but how do I import the TwoFourNode class?
     
    Eric, Feb 14, 2004
    #1
    1. Advertising

  2. Eric

    Jarek Zgoda Guest

    Jarek Zgoda, Feb 14, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Tobiah
    Replies:
    2
    Views:
    327
    Tobiah
    Sep 14, 2003
  2. Ed Leafe

    Importing files other than *.py

    Ed Leafe, Nov 19, 2004, in forum: Python
    Replies:
    2
    Views:
    296
    M.E.Farmer
    Nov 19, 2004
  3. plb
    Replies:
    2
    Views:
    369
  4. Joseph Turian
    Replies:
    2
    Views:
    302
    Joseph Turian
    Mar 21, 2006
  5. Mircescu Andrei
    Replies:
    3
    Views:
    132
    Mircescu Andrei
    Feb 20, 2014
Loading...

Share This Page