Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About setup instructions #3

Closed
simprince opened this issue Mar 12, 2013 · 2 comments
Closed

About setup instructions #3

simprince opened this issue Mar 12, 2013 · 2 comments

Comments

@simprince
Copy link

I am very new to Python but I have a lot of programming experience. So please excuse me for my ignorance. I downloaded the zip file and renamed the extracted folder as pyTree. Then I placed it in my project folder. In my code, I have to do

from pyTree.node import Node
from pyTree.tree import Tree

If I put from pyTree import tree, node, it fails. Any idea?

@hbast
Copy link
Contributor

hbast commented Mar 18, 2013

just import the module like this:
import tree

That's it ;-)

@caesar0301
Copy link
Owner

Now you can import these classes using

from treelib import Tree, Node

:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants