Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #108103 > unrolled thread
| Started by | David Shi <davidgshi@yahoo.co.uk> |
|---|---|
| First post | 2016-05-03 22:56 +0000 |
| Last post | 2016-05-03 22:56 +0000 |
| 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.
How to call a Python Class? David Shi <davidgshi@yahoo.co.uk> - 2016-05-03 22:56 +0000
| From | David Shi <davidgshi@yahoo.co.uk> |
|---|---|
| Date | 2016-05-03 22:56 +0000 |
| Subject | How to call a Python Class? |
| Message-ID | <mailman.366.1462316531.32212.python-list@python.org> |
I found a Python class within an Open Source software. I would like to use it in my own Python script. I tried to import it, but I got following message. from intersection import *Traceback (most recent call last): File "<pyshell#4>", line 1, in <module> from intersection import *ImportError: bad magic number in 'intersection': b'\x03\xf3\r\n' Can any one help? Regards. David
Back to top | Article view | comp.lang.python
csiph-web