Re: [Pythonmac-SIG] WhereAmI ?

2006-05-24 Thread Alex Tweedly
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

Re: [Pythonmac-SIG] [Pythoncard-users] Re: Python based apps woes on MacOs X (was :Re: [Pythoncard-users] Re: PythonCard on OS X 10.4 with Python 2.4.1)

2006-05-07 Thread Alex Tweedly
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

Re: [Pythonmac-SIG] wxPython -- some disappointment using it.

2006-04-18 Thread Alex Tweedly
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

Re: [Pythonmac-SIG] wxPython -- some disappointment using it.

2006-04-13 Thread Alex Tweedly
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

Re: [Pythonmac-SIG] wxPython -- some disappointment using it.

2006-04-12 Thread Alex Tweedly
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

Re: [Pythonmac-SIG] wxPython -- some disappointment using it.

2006-04-12 Thread Alex Tweedly
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

Re: [Pythonmac-SIG] Python based apps woes on MacOs X (was :Re: [Pythoncard-users] Re: PythonCard on OS X 10.4 with Python 2.4.1)

2005-09-04 Thread Alex Tweedly
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

Re: [Pythonmac-SIG] Python based apps woes on MacOs X (was :Re: [Pythoncard-users] Re: PythonCard on OS X 10.4 with Python 2.4.1)

2005-09-03 Thread Alex Tweedly
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.

Re: [Pythonmac-SIG] [Pythoncard-users] Re: PythonCard on OS X 10.4 with Python 2.4.1

2005-08-28 Thread Alex Tweedly
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