Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #28426
| Newsgroups | comp.lang.python |
|---|---|
| Date | 2012-09-04 13:52 -0700 |
| References | <5087114e-3c76-4a39-b0dd-881c8adc76ab@googlegroups.com> <mailman.191.1346791542.27098.python-list@python.org> |
| Subject | Re: Import Problem on WIndows py3 |
| From | Jimbo Jim <jimmyli1528@gmail.com> |
| Message-ID | <mailman.192.1346791952.27098.python-list@python.org> (permalink) |
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!
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Import Problem on WIndows py3 jimmyli1528@gmail.com - 2012-09-04 12:49 -0700
Re: Import Problem on WIndows py3 Werner Thie <werner@thieprojects.ch> - 2012-09-04 10:45 -1000
Re: Import Problem on WIndows py3 Jimbo Jim <jimmyli1528@gmail.com> - 2012-09-04 13:52 -0700
Re: Import Problem on WIndows py3 Jimbo Jim <jimmyli1528@gmail.com> - 2012-09-04 13:52 -0700
csiph-web