Hi, Thanks for the quick answers! I guess Python is worth trying indeed. It's definitely not really what I want as a primary programming language, but it's good for a secondary project.
Cheers! ----- Original Message ----- From: "Thomas Ward" <[EMAIL PROTECTED]> To: "Gamers Discussion list" <[email protected]> Sent: Friday, January 04, 2008 11:46 PM Subject: Re: [Audyssey] Some Python questions Hi Davy, Quote 1. Is it possible to compile Python scripts in such a way that you can't decompile them and have the original source code back? I know that was an issue with AutoIt, and still is an issue with many .NET programs. End quote You can use py2exe to compile Python programs in to executables. I don't know how easy it is to disassemble a Python executable, as I haven't tried it myself, but I do know it is harder to do than it is with .Net programs. Quote 2. Does Python have such things as structures or perhaps even classes? I really like that part of C++, although I can't use it at all yet. End quote Yes. Python uses a full object oriented programming mottle supporting all advantages of object oriented design that C++ has, and actually offers more object oriented advantages than C++. One area where this shines is Python applications can be expanded outside the program by using extended class scripts to script some part of your program externally if you desire. Quote 3. Is Python able to interface directly with Windows or even DirectSound, in such a way that you don't need libraries like Pygame/SDL? End quote Yes, you certainly can. It involves a bit of advanced Python programming skill in writing a Python class wrapper to wrap the Windows library you want to use, but it can certainly be done. Some of the more common Windows libraries already have wrapper classes you can download and use such as Pywin32 for Python 2.5. Cheers. --- Gamers mailing list __ [email protected] If you want to leave the list, send E-mail to [EMAIL PROTECTED] You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/[EMAIL PROTECTED] If you have any questions or concerns regarding the management of the list, please send E-mail to [EMAIL PROTECTED] --- Gamers mailing list __ [email protected] If you want to leave the list, send E-mail to [EMAIL PROTECTED] You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/[EMAIL PROTECTED] If you have any questions or concerns regarding the management of the list, please send E-mail to [EMAIL PROTECTED]
