From: Aaron T. <ti...@ma...> - 2005-12-19 20:12:48
|
open /Applications/Utilities/X11.app will start X11. As far as /sw/bin not being in the path, just create a symbolic link to vpython in /usr/bin. To create a symbolic link, use ln -s /sw/bin/vpython vpython Now, typing "vpython" will open vpython. Generally, I edit my python files in a text editor BBedit (an often used programmer's editor for the Mac) and run the python files from the command line. However, if you type "python filename.py" then you will run the Mac python installation which doesn't have visual. You have to run the Fink distribution of python. I created a symbolic link called "py" that points to /sw/bin/vpython2.3. That allows me to run my python programs from the command line by typing "py filename.py". On Dec 19, 2005, at 2:39 PM, Jonathan Brandmeyer wrote: > On Mon, 2005-12-19 at 13:21 -0600, Lenore Horner wrote: >> Thank you Aaron, Martin, and Gary for your help. Martin's suggestion >> to look at "fink describe visual-py23" (which turns into "show >> package info" in Fink Commander) got me the piece I needed. I have >> to manually start X11 and then use /sw/bin/vpython. > > If anyone knows how to start Apple's X server from the command-line, > that action can be integrated to /sw/bin/vpython. > > -Jonathan > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through > log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD > SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > |