You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(4) |
Jul
(1) |
Aug
|
Sep
(15) |
Oct
(32) |
Nov
(35) |
Dec
(48) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(46) |
Feb
(22) |
Mar
(65) |
Apr
(49) |
May
(22) |
Jun
(29) |
Jul
(51) |
Aug
(34) |
Sep
(32) |
Oct
(46) |
Nov
(30) |
Dec
(32) |
2002 |
Jan
(48) |
Feb
(4) |
Mar
(20) |
Apr
(28) |
May
(13) |
Jun
(34) |
Jul
(51) |
Aug
(15) |
Sep
(15) |
Oct
(35) |
Nov
(15) |
Dec
(20) |
2003 |
Jan
(31) |
Feb
(111) |
Mar
(41) |
Apr
(28) |
May
(36) |
Jun
(29) |
Jul
(27) |
Aug
(29) |
Sep
(47) |
Oct
(28) |
Nov
(7) |
Dec
(26) |
2004 |
Jan
(44) |
Feb
(9) |
Mar
(17) |
Apr
(26) |
May
(58) |
Jun
(13) |
Jul
(44) |
Aug
(64) |
Sep
(30) |
Oct
(11) |
Nov
(21) |
Dec
(28) |
2005 |
Jan
(29) |
Feb
(11) |
Mar
(11) |
Apr
(22) |
May
(85) |
Jun
(46) |
Jul
(17) |
Aug
(18) |
Sep
(14) |
Oct
(22) |
Nov
(1) |
Dec
(45) |
2006 |
Jan
(20) |
Feb
(36) |
Mar
(18) |
Apr
(24) |
May
(21) |
Jun
(48) |
Jul
(23) |
Aug
(20) |
Sep
(10) |
Oct
(41) |
Nov
(46) |
Dec
(40) |
2007 |
Jan
(40) |
Feb
(20) |
Mar
(13) |
Apr
(6) |
May
(24) |
Jun
(31) |
Jul
(30) |
Aug
(11) |
Sep
(11) |
Oct
(10) |
Nov
(56) |
Dec
(64) |
2008 |
Jan
(64) |
Feb
(22) |
Mar
(63) |
Apr
(28) |
May
(25) |
Jun
(36) |
Jul
(11) |
Aug
(9) |
Sep
(14) |
Oct
(41) |
Nov
(46) |
Dec
(130) |
2009 |
Jan
(95) |
Feb
(41) |
Mar
(24) |
Apr
(35) |
May
(53) |
Jun
(67) |
Jul
(48) |
Aug
(48) |
Sep
(86) |
Oct
(75) |
Nov
(64) |
Dec
(52) |
2010 |
Jan
(57) |
Feb
(31) |
Mar
(28) |
Apr
(40) |
May
(25) |
Jun
(42) |
Jul
(79) |
Aug
(31) |
Sep
(49) |
Oct
(66) |
Nov
(38) |
Dec
(25) |
2011 |
Jan
(29) |
Feb
(18) |
Mar
(44) |
Apr
(6) |
May
(28) |
Jun
(31) |
Jul
(36) |
Aug
(24) |
Sep
(30) |
Oct
(23) |
Nov
(21) |
Dec
(27) |
2012 |
Jan
(14) |
Feb
(11) |
Mar
(2) |
Apr
(48) |
May
(7) |
Jun
(32) |
Jul
(22) |
Aug
(25) |
Sep
(31) |
Oct
(32) |
Nov
(21) |
Dec
(17) |
2013 |
Jan
(44) |
Feb
(27) |
Mar
(3) |
Apr
(1) |
May
|
Jun
|
Jul
(3) |
Aug
(4) |
Sep
(1) |
Oct
(7) |
Nov
(5) |
Dec
(5) |
2014 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(3) |
Dec
(2) |
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
(7) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Bruce S. <Bru...@nc...> - 2005-06-18 13:17:00
|
I forgot that I did one other thing that contributed to the install working: I installed the XCode package from the 10.4 DVD. This apparently is needed to get through the VPython installation, and I've added this to the installation instructions at vpython.org. Bruce Sherwood Bruce Sherwood wrote: > I did a clean install of Mac OSX 10.4, installed X11 (found by scrolling > down to "Optional Installs" on the installer DVD), installed Fink, and > installed VPython, all as per instructions which have been updated at > vpython.org. Many thanks to Martin Costabel for getting a version of > Visual into the packages for the 10.4 version of Fink. > > One minor thing went wrong: Fink creates a statment in my .profile file > which should effectively add /sw/bin to the application search path. > However, it doesn't work: I have to execute /sw/bin/vpython rather than > simply executing vpython. I tried putting other path-setting statements > in .profile to no avail. I suspect that somehow my .profile is not being > processed when I start up X11. A colleage also had this problem. Is > there a Unix expert who can advise us on this? Thanks. > > Bruce Sherwood > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users |
From: Martin C. <cos...@wa...> - 2005-06-17 23:48:19
|
Bruce Sherwood wrote: > I did a clean install of Mac OSX 10.4, installed X11 (found by scrolling > down to "Optional Installs" on the installer DVD), installed Fink, and > installed VPython, all as per instructions which have been updated at > vpython.org. Many thanks to Martin Costabel for getting a version of > Visual into the packages for the 10.4 version of Fink. > > One minor thing went wrong: Fink creates a statment in my .profile file > which should effectively add /sw/bin to the application search path. > However, it doesn't work: I have to execute /sw/bin/vpython rather than > simply executing vpython. I tried putting other path-setting statements > in .profile to no avail. I suspect that somehow my .profile is not being > processed when I start up X11. A colleage also had this problem. Is > there a Unix expert who can advise us on this? Thanks. If there were a FAQ for Apple's X11, this would be one of the most FAQs :-) X11.app, since it is not started from a shell but from the Finder, does not inherit any environment from shell startup scripts. You have to make sure yourself that the environment is loaded at the point where you start your command; how to do it depends on how you start your vpython command. There are lots of different possibilities, depending on whether you run your command on the command line from an xterm, from ~/.xinitrc or the Applications menu and in case you start it from an xterm, whether you started your xterm from ~/.xinitrc or from the Applications menu. Three of the most popular ways to get over this hurdle are: 1. Don't use xterm. Set DISPLAY=:0 in your Terminal.app window and run vpython from there. The shell running inside Terminal.app windows has a decent environment. Or use "open-x11 vpython". This has the additional advantage of starting X11.app if it is not running. 2. Start your xterm not as "xterm" but as "xterm -ls". 3. Start your xterm from ~/.xinitrc, but have a line "source /sw/bin/init.sh" as first line of ~/.xinitrc. -- Martin |
From: Bruce S. <Bru...@nc...> - 2005-06-17 22:05:51
|
I did a clean install of Mac OSX 10.4, installed X11 (found by scrolling down to "Optional Installs" on the installer DVD), installed Fink, and installed VPython, all as per instructions which have been updated at vpython.org. Many thanks to Martin Costabel for getting a version of Visual into the packages for the 10.4 version of Fink. One minor thing went wrong: Fink creates a statment in my .profile file which should effectively add /sw/bin to the application search path. However, it doesn't work: I have to execute /sw/bin/vpython rather than simply executing vpython. I tried putting other path-setting statements in .profile to no avail. I suspect that somehow my .profile is not being processed when I start up X11. A colleage also had this problem. Is there a Unix expert who can advise us on this? Thanks. Bruce Sherwood |
From: Frank N. <fra...@sb...> - 2005-06-10 01:58:07
|
Hi everyone, The Movable Python CDs worked very well and many students have created some very cool programs: projectile motion simulators, simple harmonic oscillators, Lorenz attractors, and Sierpinski pentagons, to name a few. By far the best thing about using VPython with beginners (as I'm sure you'd agree) is how "lenient" you can be when programming: creating variables whenever you'd like, not having to declare variable types, creating additional object attributes easily, using default attribute values, etc. It definitely makes programming more accessible. The graphing package and the built in vector operations in VPython were a big help, too! Based on the success of the student projects, I am looking to make VPython an integral part of our AP Physics curriculum next year, rather than the afterthought it was this year. Believe it or not, I am meeting with some people from our technology team on Tuesday (as per their request) to discuss how to "safely" install VPython on the school network. Another success story! Thanks again to everyone for their kind support! Frank Noschese John Jay High School Cross River, NY --- Josef Sachs <sa...@cy...> wrote: > >>>>> On Thu, 19 May 2005 08:28:56 -0700 (PDT), Frank Noschese said: > > > Thanks again so much for all your help! I replied to the tech > > coodinator with some of your responses...they will reconsider the > > installation at their next meeting (but I did unfortunately ruffle a > > few feathers). > > I hope you will tell your students what it took for them to be able > to do your project. Sometimes the most valuable lessons are "incidental" > to the official syllabus. You have provided your students a lesson > in character: initiative, responsibility, questioning and even challenging > authority. Your students are very fortunate. > _______________________________________________ > Edu-sig mailing list > Ed...@py... > http://mail.python.org/mailman/listinfo/edu-sig > |
From: Ives, T. W. <tho...@hp...> - 2005-06-09 17:53:08
|
VPython Community, =20 I finally got tired of not being able to use my favorite graphics routines to create image files for graphs for reporting and for creating animations that I could transport to people without VPython, so I hacked some useful stuff together. My apologies if someone already submitted something similar. =20 First, a clean and simple way to capture images for graphs, etc. The key here is the use of PIL (Python Imaging Library) and importing ImageGrab from that. =20 from visual import * from visual.graph import * import ImageGrab =20 ImageWidth =3D 640; ImageHeight =3D 480;=20 oscillation =3D gdisplay(xtitle=3D't', ytitle=3D'Response', width =3D ImageWidth, height =3D ImageHeight,=20 background =3D color.white, foreground =3D color.black) funct1 =3D gcurve(color=3Dcolor.magenta) funct2 =3D gvbars(delta=3D0.5, color=3Dcolor.red) funct3 =3D gdots(color=3Dcolor.orange) =20 for t in arange(-30, 70, 1): funct1.plot( pos=3D(t, 5.0+5.0*cos(-0.2*t)*exp(0.015*t)) ) funct2.plot( pos=3D(t, 2.0+5.0*cos(-0.1*t)*exp(0.015*t)) ) funct3.plot( pos=3D(t, 5.0*cos(-0.03*t)*exp(0.015*t)) ) =20 im =3D ImageGrab.grab((4,30,ImageWidth-4,ImageHeight-4)) im.save("screen.gif") oscillation.display.visible =3D 0 =20 This places the window in the upper left corner of the screen. I had to experiment with how much to take away from the grab, but it works cleanly now for any width and height I specify. =20 To create an animated gif, there is an extension of the above, below, using a modification of the bounce2.py demo file. The new addition here is WhirlGif from http://www.danbbs.dk/~dino/whirlgif/ which was very easy compile and link with MinGW http://www.mingw.org/. This is a free utility for creating animated gif files. The key factor in the file below is to save the filenames into a string list to feed to the os.system("command prompt script in a string") command. Also, the image capture slows the animation down enough to turn off the rate setting, at least on my machine :-). This method is also good for creating animated surface plots.=20 from visual import * import os import ImageGrab =20 ImageWidth =3D 300; ImageHeight =3D 300 scene =3D display(width=3DImageWidth, height=3DImageHeight) scene.x =3D 0; scene.y =3D 0 #scene.fullscreen =3D 1 side =3D 4.0 thk =3D 0.3 s2 =3D 2*side - thk s3 =3D 2*side + thk wallR =3D box (pos=3D( side, 0, 0), length=3Dthk, height=3Ds2, width=3Ds3, color =3D color.red) wallL =3D box (pos=3D(-side, 0, 0), length=3Dthk, height=3Ds2, width=3Ds3, color =3D color.red) wallB =3D box (pos=3D(0, -side, 0), length=3Ds3, height=3Dthk, width=3Ds3, color =3D color.blue) wallT =3D box (pos=3D(0, side, 0), length=3Ds3, height=3Dthk, width=3Ds3, color =3D color.blue) wallBK =3D box(pos=3D(0, 0, -side), length=3Ds2, height=3Ds2, width=3Dthk, color =3D (0.7,0.7,0.7)) =20 ball =3D sphere (color =3D color.green, radius =3D 0.4) ball.mass =3D 1.0 ball.p =3D vector (-0.15, -0.23, +0.27) =20 side =3D side - thk*0.5 - ball.radius =20 dt =3D 0.5 t=3D0.0 commandstring =3D "whirlgif -o bounce.gif " filelist =3D "" basename =3D "bounce_"; extname =3D ".gif" for i in range(200): #rate(100) t =3D t + dt ball.pos =3D ball.pos + (ball.p/ball.mass)*dt if not (side > ball.x > -side): ball.p.x =3D -ball.p.x if not (side > ball.y > -side): ball.p.y =3D -ball.p.y if not (side > ball.z > -side): ball.p.z =3D -ball.p.z im =3D ImageGrab.grab((4,30,ImageWidth-4,ImageHeight-4)) filename =3D basename+str(i)+extname filelist +=3D filename + " " im.save(filename) =20 scene.visible =3D 0 os.system(commandstring + filelist) =09 Hope these are helpful, thom =20 =20 =20 ________________________________ HP logo <http://www.hp.com/Redirect/gw/useng_welcome/logo/=3Dhttp://welcome.hp.co= m /country/us/eng/welcome.htm> Thom Ives, Ph.D. R&D Engineering Scientist=09 11413 Chinden Blvd MS 303 Boise, ID. 83714 208.396.6880 Phone 208.396.7560 Fax tho...@hp...=20 Home: 5556 N Columbine Pl Boise, ID 83713 208.938.3365 Phone 208.272.0285 Cell 407.210.5514 Fax tw...@ms... <mailto:tw...@ms...>=20 ________________________________ =20 =20 |
From: James R. <u32...@al...> - 2005-06-09 04:26:10
|
Jeremy, I don't think you'll find any "standard" libraries, ie libraries that everyone and their dog has running on their machine, that will allow you to easily do 3D graphics. Everyone has Java on their machine, yes, but if you were to write an application using Java 3D, they would have to install Java 3D on their machine separately before they could run your application. However, as long as you as you follow both the Python license (which I think lets you do anything with it, including sell it), and the VPython license (which lets you redistribute it without fee), there's nothing stopping you from packaging your script up with Python and VPython. A quick Google brought up http://arctrix.com/nas/python/standalone.html, this shows you how to do it on windows, it would require you installing VPython into their distribution. You can also delete the libraries you don't need (which would be many) to help save space. There may be some better resources available to do this, I don't know. Maybe it's something the VPython developers can look into, providing a version of VPython that includes (or embeds) the Python interpretter, and has a simple method for including Python scripts. James |
From: Ronald O. <ron...@ma...> - 2005-06-08 14:33:44
|
On 6-jun-2005, at 20:59, Jon Schull wrote: > Please forgive the cross-post. I think this is a cross group issue. > > I've newly installed Tiger and would like to avoid the dueling > pythons problem that plagued me with 0SX 10.3. It would be nice to > be running just one python, but I suppose that would be asking too > much? > > I installed Bob's MacPython 2.4.1 from http://undefined.org/python/ > Double clicking the apps works fine. But when I type "python" from > terminal I get python Apple's python 2.3.5. I'm sure this is > obvious to many, but I'm also sure I'm not the only person who > starts getting uneasy at this point. So before I go too deep, I > thought I'd ask.... You should add /usr/local/bin to the start of the search path of you're shell. If you're using bash (the default on Panther and Tiger) you can add these lines to .profile or .bash_profile in your home directory: export PATH PATH="/usr/local/bin:${PATH}" export MANPATH MANPATH="/usr/local/man:${MANPATH}" This way the python in /usr/local/bin is seen before the system one. Ronald |
From: Jeremy S. <rez...@ma...> - 2005-06-08 03:16:18
|
Hi there. I have a script for drawing Lorenz attractors and other forms in phase space (look it up in the wikipedia if you really have to). Two weeks ago I couldn't program for beans, so I'm very proud. Still, I was hoping that my script could be useful for anyone who needed help visualizing strange attractors, not just for boosting my own ego. The trouble is, frankly, VPython is not a very popular software package... whereas everyone and their dog has Java running on their machine, and ultimately, a program running by itself without any dependencies would be accessible by anyone. So. If there is a way to take my VPython script and make it run on more machines, I'd like to know. Otherwise, I may have to work with an alternative to VPython. -Jeremy Sachs |
From: Jon S. <js...@so...> - 2005-06-08 02:16:44
|
Thanks I have done that (by adding " set path = (/usr/local/bin $path)" to .tcshrc) and all is well. Now, as momentary liaison between the pythonmac and vpython lists I'll mention that VPython (a truly beautiful thing) could be made independent of X11 if someone from this group knew how to liberate it... > On Jun 7, 2005, at 10:16 AM, Bruce Sherwood [who maintains VPython] > wrote: > > Maybe a Mac expert will step forward and make a version of Visual > that can be driven by the native Mac Python? After all, OpenGL > doesn't need X11, it's just that lacking Mac-specific expertise the > only way we could get VPython running on Mac OSX was to piggyback > off the Linux/Unix version. What is needed is really just one file, > equivalent to wgl.cpp which handles Windows aspects (creating the > graphics window, handling keyset and moust inputs, etc.). Is there > anyone in the VPython commmunity who could write macgl.cpp? > > On Tue, 2005-06-07 at 11:54 -0400, Jon Schull wrote: > >> That would be a very big step forward in lots of ways.... >> Is it clear that this requires understanding of VPython internals? >> > > Only somewhat. The platform-specific parts of VPython are fairly > limited; the hardest part is probably learning the OSX GUI APIs. > > You would need to write implementations of glContext and glFont > (declared in glcontext.h). You will probably also need to write a > platmac.{cpp,h} files that contains all of the functionality > present in > plat{linux,win}.{cpp,h}. You should be able to get a considerable > amount of reuse from the platlinux.{h,cpp} files. If there is any > ambiguity about the responsibilities of these classes, I'll be > happy to > help out anyone who would be doing this work. > > I would recommend using the Carbon or Core Platform C interfaces > rather > than Cocoa via Objective-C++. > > -Jonathan =-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Jon Schull, Ph.D. Associate Professor Information Technology Rochester Institute of Technology 102 Lomb Memorial Drive Rochester, New York 14623 sc...@di... 585-738-6696 On Jun 7, 2005, at 9:53 PM, Bob Ippolito wrote: > > On Jun 6, 2005, at 8:59 PM, Jon Schull wrote: > > >> Please forgive the cross-post. I think this is a cross group issue. >> >> I've newly installed Tiger and would like to avoid the dueling >> pythons problem that plagued me with 0SX 10.3. It would be nice >> to be running just one python, but I suppose that would be asking >> too much? >> >> I installed Bob's MacPython 2.4.1 from http://undefined.org/python/ >> Double clicking the apps works fine. But when I type "python" >> from terminal I get python Apple's python 2.3.5. I'm sure this >> is obvious to many, but I'm also sure I'm not the only person who >> starts getting uneasy at this point. So before I go too deep, I >> thought I'd ask.... >> >> Is there a "right" way to be using just one (or just two) pythons >> and avoid conflicts? >> > > Put /usr/local/bin before /usr/bin on your PATH. The default PATH > includes ONLY Apple-installed components. This is an "issue" with > any third party software that has a command-line interface, as they > all (should be, anyway) install to /usr/local/bin. > > -bob > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can > you shotput > a projector? How fast can you ride your desk chair down the office > luge track? > If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > |
From: Bob I. <bo...@re...> - 2005-06-08 01:53:13
|
On Jun 6, 2005, at 8:59 PM, Jon Schull wrote: > Please forgive the cross-post. I think this is a cross group issue. > > I've newly installed Tiger and would like to avoid the dueling > pythons problem that plagued me with 0SX 10.3. It would be nice to > be running just one python, but I suppose that would be asking too > much? > > I installed Bob's MacPython 2.4.1 from http://undefined.org/python/ > Double clicking the apps works fine. But when I type "python" from > terminal I get python Apple's python 2.3.5. I'm sure this is > obvious to many, but I'm also sure I'm not the only person who > starts getting uneasy at this point. So before I go too deep, I > thought I'd ask.... > > Is there a "right" way to be using just one (or just two) pythons > and avoid conflicts? Put /usr/local/bin before /usr/bin on your PATH. The default PATH includes ONLY Apple-installed components. This is an "issue" with any third party software that has a command-line interface, as they all (should be, anyway) install to /usr/local/bin. -bob |
From: Jonathan B. <jbr...@ea...> - 2005-06-08 01:06:29
|
On Tue, 2005-06-07 at 11:54 -0400, Jon Schull wrote: > That would be a very big step forward in lots of ways.... > Is it clear that this requires understanding of VPython internals? Only somewhat. The platform-specific parts of VPython are fairly limited; the hardest part is probably learning the OSX GUI APIs. You would need to write implementations of glContext and glFont (declared in glcontext.h). You will probably also need to write a platmac.{cpp,h} files that contains all of the functionality present in plat{linux,win}.{cpp,h}. You should be able to get a considerable amount of reuse from the platlinux.{h,cpp} files. If there is any ambiguity about the responsibilities of these classes, I'll be happy to help out anyone who would be doing this work. I would recommend using the Carbon or Core Platform C interfaces rather than Cocoa via Objective-C++. -Jonathan |
From: Jon S. <js...@so...> - 2005-06-07 15:54:41
|
That would be a very big step forward in lots of ways.... Is it clear that this requires understanding of VPython internals? On Jun 7, 2005, at 10:16 AM, Bruce Sherwood wrote: > Maybe a Mac expert will step forward and make a version of Visual > that can be driven by the native Mac Python? After all, OpenGL > doesn't need X11, it's just that lacking Mac-specific expertise the > only way we could get VPython running on Mac OSX was to piggyback > off the Linux/Unix version. What is needed is really just one file, > equivalent to wgl.cpp which handles Windows aspects (creating the > graphics window, handling keyset and moust inputs, etc.). Is there > anyone in the VPython commmunity who could write macgl.cpp? > > Bruce Sherwood > > Martin Costabel wrote: > > >> (cross-post removed as I can't and won't post on these other groups) >> Jon Schull wrote: >> >> >>> Please forgive the cross-post. I think this is a cross group >>> issue. >>> >>> I've newly installed Tiger and would like to avoid the dueling >>> pythons problem that plagued me with 0SX 10.3. It would be nice >>> to be running just one python, but I suppose that would be asking >>> too much? >>> >>> >> Since there is now a Tk framework and tkinter on Tiger, it would >> indeed be feasible to rely much more than before on the system- >> installed python. >> But if you want a python that understands X11, I guess you still >> have to install your own (from Fink, in my case). The only problem >> with several python versions is to keep your site-packages in the >> right places and to define the environment variables correctly so >> that the python you want to use can find the site-packages that it >> needs to find. >> >> >>> I installed Bob's MacPython 2.4.1 from http://undefined.org/ >>> python/ Double clicking the apps works fine. But when I type >>> "python" from terminal I get python Apple's python 2.3.5. >>> >>> >> This would be a PATH problem. You have to make sure that the >> directory that holds the python you want to use is found first in >> your PATH. >> >> > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can > you shotput > a projector? How fast can you ride your desk chair down the office > luge track? > If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > > |
From: Bruce S. <Bru...@nc...> - 2005-06-07 14:16:51
|
Maybe a Mac expert will step forward and make a version of Visual that can be driven by the native Mac Python? After all, OpenGL doesn't need X11, it's just that lacking Mac-specific expertise the only way we could get VPython running on Mac OSX was to piggyback off the Linux/Unix version. What is needed is really just one file, equivalent to wgl.cpp which handles Windows aspects (creating the graphics window, handling keyset and moust inputs, etc.). Is there anyone in the VPython commmunity who could write macgl.cpp? Bruce Sherwood Martin Costabel wrote: > (cross-post removed as I can't and won't post on these other groups) > > Jon Schull wrote: > >> Please forgive the cross-post. I think this is a cross group issue. >> >> I've newly installed Tiger and would like to avoid the dueling pythons >> problem that plagued me with 0SX 10.3. It would be nice to be running >> just one python, but I suppose that would be asking too much? > > > Since there is now a Tk framework and tkinter on Tiger, it would indeed > be feasible to rely much more than before on the system-installed python. > > But if you want a python that understands X11, I guess you still have to > install your own (from Fink, in my case). The only problem with several > python versions is to keep your site-packages in the right places and to > define the environment variables correctly so that the python you want > to use can find the site-packages that it needs to find. > >> I installed Bob's MacPython 2.4.1 from http://undefined.org/python/ >> Double clicking the apps works fine. But when I type "python" from >> terminal I get python Apple's python 2.3.5. > > > This would be a PATH problem. You have to make sure that the directory > that holds the python you want to use is found first in your PATH. > |
From: Martin C. <cos...@wa...> - 2005-06-07 06:09:53
|
(cross-post removed as I can't and won't post on these other groups) Jon Schull wrote: > Please forgive the cross-post. I think this is a cross group issue. > > I've newly installed Tiger and would like to avoid the dueling pythons > problem that plagued me with 0SX 10.3. It would be nice to be running > just one python, but I suppose that would be asking too much? Since there is now a Tk framework and tkinter on Tiger, it would indeed be feasible to rely much more than before on the system-installed python. But if you want a python that understands X11, I guess you still have to install your own (from Fink, in my case). The only problem with several python versions is to keep your site-packages in the right places and to define the environment variables correctly so that the python you want to use can find the site-packages that it needs to find. > I installed Bob's MacPython 2.4.1 from http://undefined.org/python/ > Double clicking the apps works fine. But when I type "python" from > terminal I get python Apple's python 2.3.5. This would be a PATH problem. You have to make sure that the directory that holds the python you want to use is found first in your PATH. -- Martin |
From: Jon S. <js...@so...> - 2005-06-07 04:00:43
|
Please forgive the cross-post. I think this is a cross group issue. I've newly installed Tiger and would like to avoid the dueling pythons problem that plagued me with 0SX 10.3. It would be nice to be running just one python, but I suppose that would be asking too much? I installed Bob's MacPython 2.4.1 from http://undefined.org/python/ Double clicking the apps works fine. But when I type "python" from terminal I get python Apple's python 2.3.5. I'm sure this is obvious to many, but I'm also sure I'm not the only person who starts getting uneasy at this point. So before I go too deep, I thought I'd ask.... Is there a "right" way to be using just one (or just two) pythons and avoid conflicts? I want to be able to program from the command line with ipython And I want to be able to program from the 2.4.1 gui. And I want to be able to run vpython (requires X11 alas). I should add that configuring things drives me crazy but I can't live without these things, and did eventually have them all working under panther. (Unfortunately a hard drive failure forces me to build my programming environment anew.) Any wise and concise counsel will be greatly appreciated. Wise OR concise, too. ;-> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Jon Schull, Ph.D. Associate Professor Information Technology Rochester Institute of Technology 102 Lomb Memorial Drive Rochester, New York 14623 sc...@di... 585-738-6696 |
From: Francesco P. N. <fp...@co...> - 2005-05-29 19:18:20
|
Martin, Perfect! Thanks! Frank. --- Martin Costabel <cos...@wa...> wrote: > Frank Noschese wrote: > [] > > if (ball.pos.y <= ball.radius): > > Make this > > if (ball.pos.y <= ball.radius and ball.velocity.y < 0): > > Otherwise, if the ball doesn't manage to get back above the floor in one > time step, it will stay down. > > -- > Martin > > |
From: Martin C. <cos...@wa...> - 2005-05-29 18:07:47
|
Frank Noschese wrote: [] > if (ball.pos.y <= ball.radius): Make this if (ball.pos.y <= ball.radius and ball.velocity.y < 0): Otherwise, if the ball doesn't manage to get back above the floor in one time step, it will stay down. -- Martin |
From: Frank N. <fra...@sb...> - 2005-05-29 16:54:07
|
Hello everyone, My students are enjoying using VPython and are learning quickly. My first assignment is to have students modify the bounce.py program in a variety of ways. I'd like for them to add a coefficient of restitution to more closely simulate the bouncing of a real ball. My thinking is to modify the ball/floor impact detection statement to read: if (ball.pos.y <= ball.radius): ball.velocity.y = -c*ball.velocity.y where "c" is the coefficient of restitution. Using a drop height of 20, an initial velocity of 0, and c = 0.85, the ball only bounces once and then sticks to the floor :( Changing only the drop height to 10, the ball now bounces 7 times before sticking to the floor. :| Shouldn't the ball bounce forever (just to a smaller height on each successive bounce)? And why does changing the drop height matter? What's going on? Thanks, Frank Noschese John Jay High School Cross River, NY |
From: Laoise F. <Lao...@ke...> - 2005-05-24 20:05:57
|
Hello, as you might afford him.""Sir!" she checked him. "I think you are = talking treason."You were thinking that a miracle had happened. = So it has - a - which, indeed, by now was tanned to the golden = brown of apiraguas which he still had in tow.a pretext for pillage = and destruction. Finally above all otherthe horse with his spur. = The little crowd gave way, and thus, uponof its heavy ringlets = coiled upon her slender, milk-white neck.must strike before Don = Miguel de Espinosa received the reenforcementvacancy.the gratitude = and deep-seated. She had been moved to it by hearingtwo silvery = notes rang clear and sharp, and a moment or two lateralready on = his behalf - that if the terms he had made with thesailed along o' = Bishop. But Bishop didn't trust us. He knew tooher, headed her = down towards Palomas and the fort that guarded theshowing, groped = their way by soundings to the channel which led to |
From: amavisd-new <vir...@if...> - 2005-05-24 06:57:28
|
VIRUS=20 Notre programme a trouv=E9 virus: W32/Mytob.gen@MM dans votre courriel (<vis...@li...>), au(x) de= stinataire: -> da...@an... Scannez votre syst=E8me , ou demandez =E0 votre administrateur de le faire. Votre courriel n'est pas d=E9livr=E9! Voici les ent=EAtes de votre courriel: ------------------------- BEGIN HEADERS ----------------------------- Return-Path: <vis...@li...> Received: from lists.sourceforge.net (vungtau.tpII.ifi [192.168.106.184]) by saturne.dorsale.ifi (Postfix) with ESMTP id 166807A26 for <da...@an...>; Tue, 24 May 2005 14:09:39 +0700 (ICT) From: vis...@li... To: da...@an... Subject: hello Date: Wed, 25 May 2005 08:58:22 +0700 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary=3D"----=3D_NextPart_000_0012_6CA5CF09.B78D88C6" X-Priority: 3 X-MSMail-Priority: Normal Message-Id: <200...@sa...rsale.ifi> -------------------------- END HEADERS ------------------------------ __DATA__ |
From: Jonathan B. <jbr...@ea...> - 2005-05-24 02:21:15
|
On Mon, 2005-05-23 at 18:21 +0200, Christoph St=E4hli wrote: > with the current version of python (2.4.1) it didn't work out, even with=20 > new installation and admin rights... Each build of Visual is specific to a particular minor version of Python (eg, works with 2.3.1, and 2.3.5, but not 2.4.anything or 2.2.anything) -Jonathan |
From: Mariska L. <Mar...@ke...> - 2005-05-23 19:17:12
|
Hello, state of mortal anxiety, breathed freely at last; and as the tidein = Execution Dock."honour to explain, will be opened on our side by = this gun, and youramong which was the clause that any man found = guilty of abstractingand that Levasseur had gone the length of = audacity of asking her"That is a matter between yourself and M. de = Cussy, my General."who would satisfy their curiosity to a surfeit. = On that he shookhe had just come. He had conceived that she = might have followedbelieving it part of a world tormented by = strife and bloodshed.than a question of moments before she settled = down. The attentionthat only two of the buccaneer ships were = seaworthy - and thesethey may."golden-headed creature, with soft = blue eyes that looked uprelease he took his sword to France, and = saw service with the Frenchwho counts you his friend." It was in = his mind to add more. Butpersonal esteem for me whom he confessed = that he had come to find |
From: <aun...@da...> - 2005-05-23 16:21:44
|
now i installed an older version of Python (2.3.5) along with different site packages and also VPython-2003-10-05.exe. with the current version of python (2.4.1) it didn't work out, even with new installation and admin rights... christoph SNOSWELL, Michael wrote: > I had this exact same problem. Python 2.4 is installed correctly because I > went on to install other python packages that found it without trouble. I > was able to install vpython on other WinXP PCs where I had admin access but > on the one where I didn't vpython failed to install. > > Michael Snoswell > AEW&C BIL Senior Systems Engineer > BAE SYSTEMS > Edinburgh Parks, South Australia +61 8 8480 7003 |
From: SNOSWELL, M. <mic...@ba...> - 2005-05-23 02:18:06
|
I had this exact same problem. Python 2.4 is installed correctly = because I went on to install other python packages that found it without trouble. = I was able to install vpython on other WinXP PCs where I had admin access = but on the one where I didn't vpython failed to install.=20 Michael Snoswell AEW&C BIL Senior Systems Engineer BAE SYSTEMS Edinburgh Parks, South Australia=A0=A0=A0 +61 8 8480 7003 =20 > -----Original Message----- > From: vis...@li...=20 > [mailto:vis...@li...] On=20 > Behalf Of Christoph St=E4hli > Sent: Sunday, 22 May 2005 02:04 > To: vis...@li... > Subject: [Visualpython-users] installation problem >=20 > hello >=20 > when i try to install VPython-Win-Py2.4-3.2.2.exe i get the=20 > error: "You must enter a folder name". Before that i=20 > specified C:\Python24 as directory (i tried=20 > C:\Python24\Lib\site-packages\ too), because the setup wizard=20 > couldn't find the python dir. The message "Could not locate=20 > where python 2.4 is installed .." appears 2 times, which is=20 > strange. i have installed winXP. >=20 > thanks for your tipps in advance. >=20 > christoph >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes=20 > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_id=3D7412&alloc_id=3D16344&op=3Dclick > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users >=20 |
From: amavisd-new <vir...@if...> - 2005-05-22 23:21:57
|
VIRUS=20 Notre programme a trouv=E9 virus: W32/Mytob.gen@MM dans votre courriel (<vis...@li...>), au(x) de= stinataire: -> ja...@ma... Scannez votre syst=E8me , ou demandez =E0 votre administrateur de le faire. Votre courriel n'est pas d=E9livr=E9! Voici les ent=EAtes de votre courriel: ------------------------- BEGIN HEADERS ----------------------------- Return-Path: <vis...@li...> Received: from lists.sourceforge.net (vungtau.tpII.ifi [192.168.106.184]) by saturne.dorsale.ifi (Postfix) with ESMTP id 3ADA27A26 for <ja...@ma...>; Mon, 23 May 2005 06:34:03 +0700 (ICT) From: vis...@li... To: ja...@ma... Subject: Mail Transaction Failed Date: Tue, 24 May 2005 01:25:42 +0700 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary=3D"----=3D_NextPart_000_0008_316FA094.5A752D39" X-Priority: 3 X-MSMail-Priority: Normal Message-Id: <200...@sa...rsale.ifi> -------------------------- END HEADERS ------------------------------ __DATA__ |