ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
What kind of diffrent programs can python make? i was wondering because i like the simplicity of python code and can it make programs that say ? c++ or c# could make i would rather keep learning python instead of learning any form of C i wouldnt be making games just programs im not sure what yet ..
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,500
Rep:
Languages that are classified as "Turing Complete" (including Python) can all accomplish the same functions. The difference will be the ease of use for a given application, resource usage, and performance.
Because the personal computers we use today have so much resource and such high performance, the selection of a language usually comes down to ease of use. Python is very easy to learn, and has been broadly extended with many add-ons that make specific tasks simpler or provide higher performance. As a result, as TobiSGD indicated, Python is suitable for almost any type of program.
Languages that are classified as "Turing Complete" (including Python) can all accomplish the same functions. The difference will be the ease of use for a given application, resource usage, and performance.
Because the personal computers we use today have so much resource and such high performance, the selection of a language usually comes down to ease of use. Python is very easy to learn, and has been broadly extended with many add-ons that make specific tasks simpler or provide higher performance. As a result, as TobiSGD indicated, Python is suitable for almost any type of program.
Okay good i like python and want to keep learning it. and another thing with python i know you can package a python program as a .deb for ubuntu what about as a .exe for windows ?
Awesome thank you guys so much i can continue on with python ! haha. but the best way for me to learn is for me to have a project to do otherwise i get distracted and dont feel like im doing anything . so can you give me some ideas on a project to do ? thanks !
Have a look at your current Linux installation and think about a small program that would make the OS more usable for you. Then try to write it. Or try to write a little game with PyGame.
Have a look at your current Linux installation and think about a small program that would make the OS more usable for you. Then try to write it. Or try to write a little game with PyGame.
hm.. i made a bash script that formatted my flashdrive and then made a backup of a selected directory to that flashdrive can you do that with python?
Python can do anything that can be done with any other language, except for really low-level stuff (which is only necessary if you're writing an operating system ar a device driver).
And since it's interpreted (and not run directly on the CPU), it's slower than languages like C. But this is not an issue for most applications.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.