Re: Homework help requested (not what you think!)
On 17 jul 2013, at 08:35, alex23 wrote: > On 17/07/2013 8:43 AM, John Ladasky wrote: >> The kids all claim to be interested. They all want to write the next great >> 3D video game. Thus, I'm a little surprised that the kids don't actually >> try to sit down and code without me prompting them. I think that they're >> disappointed when I show them how much they have to understand just to write >> a program that plays Tic Tac Toe. > > One possible approach would be to pick existing games developed in PyGame and > assist them to modify or extend them. This can be a lot less overwhelming > than starting a game from scratch, and exposes them to the basic concepts > such as the main event loop, separating out logic from display etc. Code > reading is as valuable a skill as code writing. > > Another possibility is using a more extensive framework like Unity, which > provides a lot of the toolchain to simplify the development process. While > Unity doesn't support Python by default, it does provide Boo, which is > Python-inspired. It's also built on top of the Mono framework, and I believe > people have had some success with using .NET's IronPython with it. another vote for Unity here... We teach that at the filmschool here in Holland and it's a really well supported package. There's a free version and it "exports" to Windows, OSX, Linux, Playstation, XBOX, iPhone etc etc But that comes at the cost already mentioned by Alex above... http://en.wikipedia.org/wiki/Unity_(game_engine) http://unity3d.com/ One step more advanced, but only available on Windows, is the CryEngine: http://en.wikipedia.org/wiki/Cryengine http://mycryengine.com/ They also have a free version but again, no Python scripting by default. Another one to bring into attention may be Panda3D: http://www.panda3d.org/ That has full Python support. Don't forget that all these engines require you to build your assets yourself, outside the engine. This means that you have to go into a 3D program like Blender to create characters, environments and creatures. greets Arno Beekman -- http://mail.python.org/mailman/listinfo/python-list
Re: How to uncompress a VOB file? (Win XP)
On 13 aug 2012, at 14:40, Mark Lawrence wrote: > On 13/08/2012 11:18, Xantipius wrote: >> subj >> > > Either > > a) write some code and when and if it fails give us a small code snippet that > demonstates the problem with the complete traceback. > > or > > b) state how much you are willing to pay for someone here to come up with a > solution for you. > > -- > Cheers. > > Mark Lawrence. > or... go out and buy the DVD it's ripped from... ;) -- http://mail.python.org/mailman/listinfo/python-list
Re: OT: Monty Python in Syria
On 16 aug 2012, at 02:56, Andrew Cooper wrote: > On 16/08/2012 01:52, Andrew Cooper wrote: >> On 16/08/2012 01:01, Terry Reedy wrote: >>> On 8/15/2012 6:07 PM, Mark Lawrence wrote: On 15/08/2012 20:15, Tamer Higazi wrote: > Exactly! > NOT PROGRAMMING related has NOTHING TODO HERE! > Please don't shout, please don't top post >>> >>> agreed. >>> and what gives you the right to determine what is or is not on topic here? >>> >>> The same right as anyone. >>> The subject is also clearly marked OT or did that escape your attention? >>> >>> But it has nothing to do with Monty Python either, that I can see. >> >> Then I humbly suggest you re-watch The Holy Grail. >> >> ~Andrew >> >>> Nor is there a video to see the context of (OP said "For context, start >>> the video at 1:00.") Perhaps link is erroneous. > > P.S. - There is certainly a video. It just takes an obnoxiously long > time to load. > >>> >>> Marking something OT does not excuse it. It should still be related. We >>> cannot allow 1000s of OT posts a day, marked OT or not. >>> >> > I agree, adding "OT" shouldn't be an excuse to just post anything people want, should it? The URL has absolutely nothing to do with python whatsoever. At least not here as I can view it in The Netherlands. It's a news item about the 'rebels' in Syria who supposedly shot down this fighterplane. How someone can link that to Monty Python is worth a oscar for storytelling i think... gr arno -- http://mail.python.org/mailman/listinfo/python-list
Re: Is there a graphical GUI builder?
On 21 feb 2013, at 04:45, Michael Torrie wrote: > On 02/20/2013 12:44 AM, Steve Simmons wrote: >> 2. Qt isn't 'free' (depending on what you are going to be doing with it) >> - read the licensing rules. > > How so? It's LGPL. You can't get much freer than that. Both in terms of > code and developer freedom, and proprietary freedom. well that can be discussed... (BSD, MIT, Apache, CDDL) Anyway, maybe the OP can have a look at PySide which was developed after Riverbank Comp didn't want to offer PyQt as LGPL. In my opinion Qt is by far the most developed GUI available for Python, and it will be even bigger in the near future with support for iOS and Android. gr arno -- http://mail.python.org/mailman/listinfo/python-list
Bluetooth
Hello, I'm writing a script that has to connect a bluetooth device with a 3D application. On my search for a bluetooth module i ran into this: http://www.python.org/download/releases/2.4/notes/ where it says: "The socket module now supports Bluetooth sockets, if the system has " Yet I can't find anything at all in the socket manuals nor anywhere else on the site... Does the socket module really support Bluetooth out of the box? I've used socket before but never read anything about bluetooth... Maybe I need to get the bluetooth.h file, but i have no idea what I am supposed to do with it... Can anyone shed some light on this for me please? thanks in advance, gr Arno-- http://mail.python.org/mailman/listinfo/python-list
Re: Bluetooth
On 10 mrt 2010, at 16:17, Jeff Peck wrote: > On 3/7/2010 1:26 PM, PythonAB wrote: >> >> Hello, >> >> >> I'm writing a script that has to connect a bluetooth device >> with a 3D application. >> On my search for a bluetooth module i ran into this: >> http://www.python.org/download/releases/2.4/notes/ >> where it says: >> "The socket module now supports Bluetooth sockets, >> if the system has " >> >> Yet I can't find anything at all in the socket manuals >> nor anywhere else on the site... >> >> Does the socket module really support Bluetooth out of the box? >> I've used socket before but never read anything about bluetooth... >> >> Maybe I need to get the bluetooth.h file, but i have no idea what I >> am supposed to do with it... >> >> Can anyone shed some light on this for me please? >> >> thanks in advance, >> >> gr >> Arno > > Have you come across the PyBluez library yet? I recently used it in a project > and it worked very well. > > Hth, > Jeff Hi Jeff, Yes I ran into it, but couldn't find an OSX version... I'm using the lightblue module now but would have preferred to use the socket module without compiling python myself. Sorry for not mentioning the platform. gr Arno-- http://mail.python.org/mailman/listinfo/python-list
Re: Run pyc file without specifying python path ?
Hi Dave, Your solution sort of defeats my intended purpose (sorry for not divulging my 'hidden agenda'). I wanted my application to "hide" the fact that it's a python script, and look as much as possible like it's a compiled program. The reason I don't just give my user a py file, is that I don't want a cleaver user to change the innards of the script. On the other hand, I don't want to make a compiled (freezed?) version of the application, because it'll grow the resulting file significantly, and I don't have the experience to know how it will run on different Linuxes. Bye, Ron. Hey Ron, What i usually do to accomplish this is compile the script to a .pyc just like you did and then call that pyc from another script that's not compiled. so in your case the not compiled script looks like: #!/usr/bin/env python import test_pyc.pyc then run that script... hope this helps... alternatively you might have a look at: http://www.pyinstaller.org/ gr Arno-- http://mail.python.org/mailman/listinfo/python-list
Re: Run pyc file without specifying python path ?
On 30 jul 2009, at 12:57, Chris Rebert wrote: On Thu, Jul 30, 2009 at 3:42 AM, Barak, Ron wrote: From: PythonAB [mailto:pyt...@rgbaz.eu] Sent: Thursday, July 30, 2009 12:18 To: Barak, Ron Cc: 'Dave Angel'; 'python-list@python.org' Subject: Re: Run pyc file without specifying python path ? Hi Dave, Your solution sort of defeats my intended purpose (sorry for not divulging my 'hidden agenda'). I wanted my application to "hide" the fact that it's a python script, and look as much as possible like it's a compiled program. The reason I don't just give my user a py file, is that I don't want a cleaver user to change the innards of the script. On the other hand, I don't want to make a compiled (freezed?) version of the application, because it'll grow the resulting file significantly, and I don't have the experience to know how it will run on different Linuxes. Bye, Ron. Hey Ron, What i usually do to accomplish this is compile the script to a .pyc just like you did and then call that pyc from another script that's not compiled. so in your case the not compiled script looks like: #!/usr/bin/env python import test_pyc.pyc then run that script... hope this helps... alternatively you might have a look at: http://www.pyinstaller.org/ gr Arno [BR] Thanks for the answer Arno. But, I wonder - How is your suggestion, which to the user would look like: python wrapper.py No, with the shebang line (and assuming execute permissions on the file), it would look like: ./wrapper.py (or just `wrapper.py` depending on whether the file is placed in the $PATH) Cheers, Chris yes exactly, chris you can distribute a pyc containing your program, and have the wrapper.py execute it gr Arno -- http://mail.python.org/mailman/listinfo/python-list
Re: How do I post to the wxPython mailing list?
On 7 sep 2009, at 22:51, mma...@gmx.net wrote: On Mon, 7 Sep 2009 13:04:39 -0400 Philip Semanchuk wrote: Did you subscribe to the mailing list before sending a message to it? I did not subscribe the gmane account when I tried out posting via gmane. I am pretty sure that I already subscribed to the group in the past. Nevertheless, I subscribed again (via e-mail). I got a validation e- mail that I confirmed but posting to the list still does result in no message appearing in the list. No error mail came back either. pfff You just woke me up too...! The list apperently changed to a google group list. Did i miss a warning or did they just change it without notice? I dont want to register with a google account, is there any way to use a non-gmail account? gr Arno -- http://mail.python.org/mailman/listinfo/python-list
Re: How do I post to the wxPython mailing list?
On 8 sep 2009, at 02:25, Neil Hodgson wrote: PythonAB: I dont want to register with a google account, is there any way to use a non-gmail account? A Google account does not mean you have to use gmail. The Google account is used to handle your interaction with Google services and can be used in conjunction with arbitrary email accounts. Just create a Google account and set the email address to your preferred address. Neil No, but it means that more of my data goes into the same company. There's no way to use my own email accounts from my own domain, and I don't have a choice anymore. In other words, if i want to be able to get the wxPython list mail, I'm forced to use a google account, am I not? Is this the start of total control by google? Time to switch to QT then... gr Arno -- http://mail.python.org/mailman/listinfo/python-list