Curry Member Posts: 134 From: USA Registered: 11-21-2002 |
Since there are some Python fans here...I am interested and have been reading an overview about the language but have a few questions. Is it straightforward to create standalone apps? Is there a visual editor for forms and so on? (And for resources like images and sounds, for example? (Just curious.)) Would you say it's a good language for creating desktop apps/utilities and games? Any issues or difficulties/complications that have come up for you when using Python for finished projects/products? Thanks very much, Curry |
CPUFreak91![]() Member Posts: 2337 From: Registered: 02-01-2005 |
quote: Great! No. You need to download a module called py2exe (I think it's on sourceforge) for windows and py2app for mac. For Linux/UNIX you can't create and "standalone app" you just add #! /usr/bin/env python to the top of the python program and it will work like a stand-alone Py2exe and py2app don't really compile the program they just incorporate the needed parts of the Python interpreter and modules into a standalone file. I don't exactly know what you mean.... if you talking about IDE's... yes! I'll mention a few anyway: pype Dr. Python ILDE (comes with the windows version of python but it works with any os) Eric Boa Constructor and many others. pymedia pil (python imaging library) Yes! I've only been coding for 5 months (in OOP) and I've already created a piucture reader, music player, GUI apps and many others (currently I'm working on a IRC client)
Um no, not really except for the fact that here on CCN no one really uses python that much.... Google uses it... nope. Still can't think of anything. ------------------ |
Curry Member Posts: 134 From: USA Registered: 11-21-2002 |
Thanks, CPUFreak, that helps a lot to know about those tools. One more question: can you protect the source code when you distribute a product? I've downloaded Python and Pygame. Curry |
CPUFreak91![]() Member Posts: 2337 From: Registered: 02-01-2005 |
quote: For Linux, no, I don't think so (sign up for the Tutor Mailing List @ python.org and ask that question). For Mac and Windows (becasue of py2app and py2exe yes. The .exe is unreadable so no one can steal your code). ------------------ |
en972![]() Member Posts: 562 From: NOT TELLING! Registered: 08-27-2004 |
You can make it an exe with linux. Just open up the Konsle and go into same palce as file. Then type chmod 700 "file" but without quotes and the filename and extension of your program. ------------------ |
CPUFreak91![]() Member Posts: 2337 From: Registered: 02-01-2005 |
quote: How does that work? YOu can still read it (I think chmod a+x works or +x best) ------------------ |
en972![]() Member Posts: 562 From: NOT TELLING! Registered: 08-27-2004 |
Oh yeah I didn't see he wanted to make sure no one ele could get his source. ------------------ |
CPUFreak91![]() Member Posts: 2337 From: Registered: 02-01-2005 |
quote:
------------------ |
Klumsy![]() Administrator Posts: 1061 From: Port Angeles, WA, USA Registered: 10-25-2001 |
ironpython creates full dotnet executables, and runs much faster than standard python. ------------------ |
CPUFreak91![]() Member Posts: 2337 From: Registered: 02-01-2005 |
quote: However it is not cross platform and is for the .NET framework. Boo uses the .NET and/or Mono famework and is very similar to python. It's also more corss platform and is compileable. ------------------ |
HanClinto![]() Administrator Posts: 1828 From: Indiana Registered: 10-11-2004 |
Are you sure? I've checked into it a little bit, and while IronPython isn't quite yet finished, there are a couple of people who seem to be doing some stuff with IronPython on Mono. Looking at the release notes for Mono 1.1.9, you can see that they claim "Mono can run the IronPython test suite". So while it may not be polished, I think they're "getting there" as far as cross-platform-ability. Cheers! --clint ------------------ |
Klumsy![]() Administrator Posts: 1061 From: Port Angeles, WA, USA Registered: 10-25-2001 |
hey this boo looks interesting ![]() ------------------ |
CPUFreak91![]() Member Posts: 2337 From: Registered: 02-01-2005 |
quote: Yes it is. It would be even more interesting when I can download Mono to play with it! It can be found @ http://boo.codehaus.org/ if you wanna play with it. ------------------ |
Klumsy![]() Administrator Posts: 1061 From: Port Angeles, WA, USA Registered: 10-25-2001 |
i looked at that boo site, i liked the idea alot, though probably will never have the time to mess with it why don't i post much. i've had my season of posting alot, and have contributed many many words in many posts ------------------ |
CPUFreak91![]() Member Posts: 2337 From: Registered: 02-01-2005 |
quote: Ah. Ok. That explains a lot! ------------------ |
CPUFreak91![]() Member Posts: 2337 From: Registered: 02-01-2005 |
Wait!!! I just found out.. You can byte "compile" python programs (so that they are unreadable as text) with: import compileall This works on any os and you don't need to have py2app or py2exe. (this is great for linux which doesn't have any of those programs) ------------------ |
Realm Master![]() Member Posts: 1971 From: USA Registered: 05-15-2005 |
so many language... and so little time (average life span of 80-100 years).. python sounds cool, but im working on C++ and I want to get REALLY good at C++ (and, admittidly, their gfx engies), then I want ot move on to Java, and tha'd be 3 languages there, could i remember all the seperate rules for 4 languages if i learn python after java? (or before depending on the situation...) ------------------ Blessed are those who show mercy. Blessed are those who suffer for doing what is right. |