Question:
What can the python programming language do?
Mr X
2013-04-14 05:46:53 UTC
I've read tons and tons of documentation but nowhere was there a simple answer.

If i know how to code in python. Exactly how will it benefit me. What will i be able to do?

For example, if i know C++ i can make programs and if i know HTML i can make websites so if i know python, what can i do?

Can python replace JAVA?
Can python help code for games and mods?
Can python replace PHP?

What does it do?
Five answers:
peteams
2013-04-14 09:52:09 UTC
You need to separate several concepts, programming, language and runtime environment.



Programming is the translation of a solution to a problem into a technical language. That is a somewhat generic skill, a good programmer will not particularly care about the language they are using. Programming involves repeatedly breaking a problem down into smaller and smaller problems until you arrive at a problem the environment has a built in solution for.



Learning Python should equip you with the ability to learn how to do the decomposition of problems.



The language provides some of the built in solutions to decompose problems into. The style of the language has a great deal of influence on how you'll probably break a problem down. Terms like 'object oriented' are ways of tackling problems, you can do it in any programming language, but in some languages the style flows naturally while in others you have to work hard to do it.



Python is not a language I use or know well, however my belief is that it provides a reasonable basis for learning programming.



The runtime environment of a language also provides solutions to decompose problems into. Sometimes those solutions provide actual limits on to what you can do, provides an environment that allows you to describe an operating system's most fundamental function, Python does not.



Python tends to be provided with a runtime environment that is more server application oriented.



So if you know Python you can write programs, normally the sort of programs that run on server computers rather than those that run on client computers.



Python cannot really replace Java. Java provides features that make it appropriate for writing business class applications and for more comfortably running on client machines.



Python is not really suitable for games and mods. Lightweight games tend to be written in Java or C#, heavyweight games in C++. Modifying games normally needs to be in the language they were written in.



But, yes, Python could technically replace PHP. That said, PHP is normally very appropriate in the places it is used.
anonymous
2013-04-14 05:56:20 UTC
It can not replace Java, as it doesn't have a GUI.

It can not replace C++ as it is an interpretted language, and you will not get the same speed as a compiled language.

It can be used for games, but not those graphic intensive games that you play on your console or PC.

It could replace PHP, depending on what you use it for. PHP is very web orientated.



It can be embedded in HTML pages if it is done correctly, and it can also be used to generate whole HTML pages.



I think you need to work out what you are trying to do, then ask what is the best language for doing it.
anonymous
2013-10-30 23:19:55 UTC
It's a Simple Question,

Python Programming language is generally use by HACKERS.



Why they Use?

Because the only python is a programming language that can learn very quickly and very easy.
anonymous
2016-11-05 13:32:00 UTC
in case you desire to make video games C++ is the most well liked language, yet C#, Java, and Python are more beneficial handy to appreciate. in case you try to commence with C++ you'll have an quite confusing time.
anonymous
2013-04-15 12:57:23 UTC
" so again i ask, What can the Python programming langauge do?"



It is a programming language. You use it to write programs.



These may be web apps which may or may not utilise the Django framework...



https://www.djangoproject.com



or be integrated with "cloud" services such as Dropbox...



https://www.dropbox.com/static/developers/dropbox-python-sdk-1.5.1-docs/index.html



or GPS mappings...



http://infohost.nmt.edu/tcc/help/lang/python/mapping.html



or create an app for a tablet...



http://kivy.org/#home



Etc. Etc.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Continue reading on narkive:
Loading...