application name":
return dir
dir, file = os.path.split(sys.argv[0])
return dir
If you want a more general version to handle any application name, then
you need to deal with determining whether the app is being run from a
script or has been frozen (with py2exe or py2app or
sure what the medium term fix is (long term I think it is probably
setuptools as Ronald suggested earlier) - but there will be a short term
fix in CVS soon, hopefully tonight, so if you have been wanting to move
to Python 2.4 but were held back by PythonCard, you should be able to
get that soon. Note th
bed matplotlib windows
within wxPython (and therefore also can be used to embed them within
PythonCard); telling you about wxmpl is in response to the part of your
original post saying "or open a window to plot in"
--
Alex Tweedly http://www.twee
Louis Pecora wrote:
> Alex Tweedly wrote:
>
>>
>> You should also look, then, at Pythoncard ( www.pythoncard.org )
>> Excellent for simple UIs, simple for excellent UIs :-)
>>
> Got it, ran sudo python setup.py install, seemed to go OK. Ran
> minimaltest and
Louis Pecora wrote:
> Alex Tweedly wrote:
>
>>
>>
>
> Just looked it over. Seems like the right level for what I do. But
> is it still under development? Looked stagnent to me.
It's under development - 0.8.2 will be out any day now, and contains a
fair n
cket. Thanks, again.
>
>
You should also look, then, at Pythoncard ( www.pythoncard.org )
Excellent for simple UIs, simple for excellent UIs :-)
--
Alex Tweedly http://www.tweedly.net
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / V
s.modules[myFile.myClass.__module__].__file__
> 'mmm/myFile.py'
>
Thanks again for that. (Not quite was I was hoping for :-), but very
valuable info).
So we now know this simplest case works as expected - and the rather
complex case within PythonCard doesn't.
It should be
on Python 2.4.1 on Windows.
I'd like to see the equivalent of this on each of Python 2.3 and 2.4 on
Mac.
Then we'd know what the next step might be ... :-)
--
Alex Tweedly http://www.tweedly.net
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.
dules reports for imported files. As far as I know, no-one has
yet verified for sure whether it is a Python bug or merely a
platform-specific change that Pythoncard will need to adjust for. (Nor
do I know how we'll be able to adjust - but I'm hoping that some of the
PythonCard / Mac users