Re: Python Interpreter exits when Display window is closed
Bruce Sherwood <[email protected]> Mon, 16 Jul 2012 14:18:09 -0600
| Newsgroups | gmane.comp.python.visualpython.user |
|---|---|
| Message-ID | <CAFDG03gbtso708oto=k+zUczZYe92rq1pq8_MBRUpT3LUd9mbQ@mail.gmail.com> |
The deep puzzle is why anything works at all, as there isn't a version of VPython that has been built for Windows 64-bit Python. Here are the instructions on the Windows download page at vpython.org: First, download and install Python-2.7.2 (Important: Let it install in C:\Python27) (There is not a VPython version for Windows 64-bit Python, but this 32-bit version of Python works fine on 64-bit Windows machines) Second, download and install VPython-Win-Py2.7-5.74 Bruce Sherwood On Mon, Jul 16, 2012 at 12:39 PM, Gerrat Rickert <[email protected]> wrote: > I’m running the 64-bit version of VPython 5.72 > (http://www.lfd.uci.edu/~gohlke/pythonlibs/#vpython), on Windows 7, with a > normal, 64bit python 2.7.2 interpreter (not Vidle). > > I realize this isn’t an “official” version of VPython, but seems to work > otherwise. > > > > From the interactive python prompt, with a simple program like: > > from visual import * > > sphere() > > > > It displays the sphere, but when I close the Display window, the python > interpreter itself exits. > > Is there a way to prevent this? > > > > ...I can’t seem to use Vidle, if that’s the solution...either the 64bit > version doesn’t install it correctly, or I’m not invoking it correctly > (there is no desktop shortcut, and when I run idle.bat from the command line > I get a “Windows cannot find ‘idle.pyw’. Make sure you typed the name > correctly, and then try again”.) There is a file, idle.pyw in the vidle > directory, so I’m not sure why it can’t find it. > > > > Thanks for any assistance, > > Gerrat > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Visualpython-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/visualpython-users > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Visualpython-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/visualpython-users