Import Problem on WIndows py3

Jimbo Jim jimmyli1528 at gmail.com
Tue Sep 4 16:52:29 EDT 2012


On Tuesday, September 4, 2012 1:45:55 PM UTC-7, Werner Thie wrote:
> On 9/4/12 9:49 AM, jimmyli1528 wrote:
> 
> > I have a main program and a 3rd party module. Trying to import colorama, where colorama is a folder with files in it, returns an ImportError: No module named colorama. How should I import folders?
> 
> >
> 
> 
> 
> 
> 
> Do you have a (empty) __init__.py file present in this particular directory?
> 
> 
> 
> Werner

OK works perfectly!



More information about the Python-list mailing list