Has anyone used the Python programming language? My friend was told she should learn this language. Someone at her work told her she should learn this language first, before learning other programming languages.
The stock Python (version 2.3.5 -- without readline support -- damn, Apple, catch up already ) includes wxPython.findhornriver said:I would recommend wxPython. It is cross platform oop and very easy to use. Far easier than objective-c or c++! Write a program on your mac and it will port straight to a windows/linux box.
Uses the full python language but adds a wxWidgets framework that integrates well. It's fast, very productive, makes osx apps (with py2app) as well as windows .exe's (with py2exe). It's free too.
Altogether a simple oop language for any programming task. BTW, it works on intel or ppc macs... dunno why more people are not using it really.
I recommend the book wxPython in Action by Noel Rappin and Robin Dunn. You will be writing osx/windows apps in no time at all!
findhornriver said:Altogether a simple oop language for any programming task. BTW, it works on intel or ppc macs... dunno why more people are not using it really.
rtharper said:Indentation as syntax has been known to cause some weird issues if you have multiple programmers scripting cross platform on different text editors, for one.
Also, it's still not as fast as lisp, c, c++, perl, java, etc, although pretty fast for an interpreted language.
rtharper said:Indentation as syntax has been known to cause some weird issues if you have multiple programmers scripting cross platform on different text editors, for one.
Also, it's still not as fast as lisp, c, c++, perl, java, etc, although pretty fast for an interpreted language.
findhornriver said:I've never seen or heard of indentation being an issue. The standard is 4 spaces for an indentation. That's not difficult whatever editor you are using. Most editors that I have used let you set up a TAB to equal and write 4 spaces in the code.
...
findhornriver said:I've never seen or heard of indentation being an issue. The standard is 4 spaces for an indentation. That's not difficult whatever editor you are using. Most editors that I have used let you set up a TAB to equal and write 4 spaces in the code.
findhornriver said:Speed. It's quite fast enough for just about any task (3D Quake lookalikes excepted). It's remarkably fast actually. And, with the ease of creating full GUI applications, it's a great language.
Kunimodi said:Python is not slow with proper usage (where it counts). Calling a library function has a small overhead, but once it is there it is native C (or C++) speed. Using libraries like NumPy you can write code that outpaces similar Java programs. It is also very easy to write C extensions and this allows for very quick prototyping in Python, followed by some profiling and then selective reimplementation in C if warranted. This approach can produce efficient results with much reduced development time.
findhornriver said:"Has anyone used the Python programming language? My friend was told she should learn this language. Someone at her work told her she should learn this language first, before learning other programming languages."
Yes, it is a very good language. Quite fast enough for most work. Easy to learn and very efficient. Try wxPython... it creates full cross platform GUI apps which will run on Windows, Linux and OSX without any re-writing. It uses the operating systems look and feel so you would not know that the program had been written on anything but that system. I think, once you try it and learn a little, you will be very pleased. It will also help you develop skills for other languages you might try later on. Some curly bracket people have problems with indentation but take no notice ;-) It's no reason not to try the language and enjoy the huge benefits of rapid application development.