I've decided to try and learn some Python using a library book called "Beginning Python" by Peter Norton et al from Wrox Press (c) 2005.
The book advises that a package called PythonCard should be installed. I have downloaded the zip file, PythonCard-0.8.2.zip,
The archive's top level Readme.txt file states:-
"Place the "PythonCard" directory in your python directory or another directory on your PYTHONPATH. By default, the Windows installer and distutils installer will place PythonCard in your Python22\Lib\site-packages directory; the actual path will be different depending on your OS and version of Python."
I have placed the zip file into /usr/lib/python2.7/site-packages.
The Readme.txt file further states :-
"If you're running on a Unix/Linux system, you must unzip the release distribution with the -a option to convert the CR/LF line endings of each file to LF."
Using a terminal and after cd'ing into .../site-packages I unzipped the file into that directory using "unzip -a PythonCard-0.8.2.zip".
Lastly, the Readme.txt file also states :-
"PythonCard requires Python 2.3 or later and wxPython 2.5.2.x or later. wxPython is available at http://www.wxpython.org/
Looking into .../site-packages I found that there was already a folder called "wx-2.9.4-gtk2" which already contained wxPython 22.214.171.124.
On p.3 whilst "speaking" of codeEditor the book states:-
"Once it is installed on your system with PythonCard, on Linux or Unix-based systems, you can just type codeEditor in a terminal or shell window and it will start."
Well, no it doesn't. When I tried the system responded with :-
"If 'codeEditor' is not a typo you can use command-not-found to lookup the package that contains it, like this:
After a bit of investigation I tried :-
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/PythonCard-0.8.2/components/codeeditor.py", line 15, in <module>
from PythonCard import configuration, event, STCStyleEditor, widget
ImportError: No module named PythonCard
You can clearly see the result of that.
Has anyone managed to get this to work ?
Thanks in advance for any help that you can give with this.