Dungeon of Crow
Project description
public domain code
freenico2000@yahoo.fr
this is cde i wrote for the exercice 46 of the pyhonthehardway by Zed Shaw
the purpose of this is to see if i can create a little package that has a script installed too.
usage example :
>>> from dungeon import printlist
>>> printlist("argument")
1. from the root directory (dungeon) do the following (after having installed pip, distribute, virtualenv, nose)
python setup.py
2. This create aa dist/ directory with dungeon... tarball directory.
3. copy the tarball to ~/testing/
4. from ~/testing/ directory run
sudo pip install dungeon....(the tarball file)
5. from same directory run
testprint.py
some many thing i do not understand with the python 2.6 it display the following :
a list of things
['milk', 'bread', 'carrot', 'cheese', 'butter', 'yogurt']
with python2.7 :
Traceback (most recent call last):
File "testprint.py", line 3, in <module>
from dungeon import printlist
ImportError: No module named dungeon
freenico2000@yahoo.fr
this is cde i wrote for the exercice 46 of the pyhonthehardway by Zed Shaw
the purpose of this is to see if i can create a little package that has a script installed too.
usage example :
>>> from dungeon import printlist
>>> printlist("argument")
1. from the root directory (dungeon) do the following (after having installed pip, distribute, virtualenv, nose)
python setup.py
2. This create aa dist/ directory with dungeon... tarball directory.
3. copy the tarball to ~/testing/
4. from ~/testing/ directory run
sudo pip install dungeon....(the tarball file)
5. from same directory run
testprint.py
some many thing i do not understand with the python 2.6 it display the following :
a list of things
['milk', 'bread', 'carrot', 'cheese', 'butter', 'yogurt']
with python2.7 :
Traceback (most recent call last):
File "testprint.py", line 3, in <module>
from dungeon import printlist
ImportError: No module named dungeon
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dungeon-0.1.tar.gz
(1.6 kB
view details)
File details
Details for the file dungeon-0.1.tar.gz
.
File metadata
- Download URL: dungeon-0.1.tar.gz
- Upload date:
- Size: 1.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ebd5fb19c834b9419d21608650312436c6e60c16485d2ce3f106e4035977c99 |
|
MD5 | 68ea639ea12752cf26c4f1f431965223 |
|
BLAKE2b-256 | eac915eeb484400f92c785000de34b49688d2f7ec072824523ecaa29b7c59f39 |