From: Lenore H. <lh...@si...> - 2005-12-19 19:20:25
|
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. I'm using OS X 10.4.3, X11 1.1 - XFree86 4.4.0 with an Apple copyright as well, and visual-py23 2.1.9-6. I do have to use /sw/bin/vpython rather than vpython as X11 apparently doesn't have /sw/bin in the path and I haven't (yet) fixed that. I'm working my way not through VPython_Intro.pdf. I note that on the Mac, it is cmd-mouse to move the camera and option-mouse to zoom as opposed to shift and cmd respectively as noted in the file. Thanks again. Lenore |
From: Bruce S. <Bru...@nc...> - 2005-12-19 19:23:47
|
Actually, the mouse button bindings can be chosen by you. It is a feature of the X window system that the end user gets to specify how to interpret mouse+keyset; I think it's a menu option to get to this. Apparently the bindings mention in the tutorial refer to an older system. Bruce Sherwood 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. > > I'm using OS X 10.4.3, X11 1.1 - XFree86 4.4.0 with an Apple > copyright as well, and visual-py23 2.1.9-6. > > I do have to use /sw/bin/vpython rather than vpython as X11 > apparently doesn't have /sw/bin in the path and I haven't (yet) fixed > that. > > I'm working my way not through VPython_Intro.pdf. I note that on the > Mac, it is cmd-mouse to move the camera and option-mouse to zoom as > opposed to shift and cmd respectively as noted in the file. > > Thanks again. > > Lenore > > > > ------------------------------------------------------- > 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 |
From: Jonathan B. <jbr...@ea...> - 2005-12-19 19:39:53
|
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 |
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 > |