Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #18485 > unrolled thread
| Started by | Andrew Berg <bahamutzero8825@gmail.com> |
|---|---|
| First post | 2012-01-03 21:06 -0600 |
| Last post | 2012-01-03 21:06 -0600 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: import issue with classes Andrew Berg <bahamutzero8825@gmail.com> - 2012-01-03 21:06 -0600
| From | Andrew Berg <bahamutzero8825@gmail.com> |
|---|---|
| Date | 2012-01-03 21:06 -0600 |
| Subject | Re: import issue with classes |
| Message-ID | <mailman.4398.1325646425.27778.python-list@python.org> |
On 1/3/2012 8:50 PM, Rodrick Brown wrote: > Import FooA doesn't work and I need to use from FooA import FooA > instead? This puzzles me. > Thanks. If you have a module called FooA with a class called FooA, then import FooA imports the /module/. The class would be FooA.FooA, just as the variable x from FooA would be FooA.x. -- CPython 3.2.2 | Windows NT 6.1.7601.17640
Back to top | Article view | comp.lang.python
csiph-web