On 19/05/13 14:08, Jim Mooney wrote:
I'm a bit unclear about creating import directories.
The terminology you want here is "import packages". You cannot import
directories. You can only import modules and packages.
"Module" in Python has two meanings:
1) a module is a file containing Python
I'm a bit unclear about creating import directories.
I can import something like the json directory from Lib with a simple
import json
So I tried putting my own directory in Lib, called bagofries, as a
test, and put a simple printstuff.py program in it. But when I try to
import bagofries, I get