Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #28424

Re: Import Problem on WIndows py3

Date 2012-09-04 10:45 -1000
From Werner Thie <werner@thieprojects.ch>
Organization Thie & Co Projects
Subject Re: Import Problem on WIndows py3
References <5087114e-3c76-4a39-b0dd-881c8adc76ab@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.191.1346791542.27098.python-list@python.org> (permalink)

Show all headers | View raw


On 9/4/12 9:49 AM, jimmyli1528@gmail.com 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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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