Skip to content

Instantly share code, notes, and snippets.

@schinken
Created April 10, 2012 14:16
Show Gist options
  • Save schinken/2351687 to your computer and use it in GitHub Desktop.
Save schinken/2351687 to your computer and use it in GitHub Desktop.
python modules
.
\_ server.py
\_ track
\_ __init__.py
\_ history.py (class history)
\_ downloader.py (class downloader)
server.py:
import track
def main():
obj = track.history('bla/')
Traceback (most recent call last):
File "server.py", line 52, in <module>
main()
File "server.py", line 37, in main
objhistory = track.history( dataPath )
AttributeError: 'module' object has no attribute 'history'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment