Skip to content

Instantly share code, notes, and snippets.

@dekoza
Created September 1, 2017 10:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dekoza/629c3d1ece9cfc5e1291fd5f33fa898d to your computer and use it in GitHub Desktop.
Save dekoza/629c3d1ece9cfc5e1291fd5f33fa898d to your computer and use it in GitHub Desktop.
minder@mindstorm ~/projekty/own/ahes
$ tree
.
├── mojaapka
│   ├── __init__.py
│   └── moj_modul.py
└── skrypt.py
1 directory, 3 files
minder@mindstorm ~/projekty/own/ahes
$ cat skrypt.py
import mojaapka
mojaapka.moj_modul.ahes_to_lama()
minder@mindstorm ~/projekty/own/ahes
$ cat mojaapka/__init__.py
from . import moj_modul
minder@mindstorm ~/projekty/own/ahes
$ cat mojaapka/moj_modul.py
def ahes_to_lama():
print("LAMA")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment