What is the role of python on the internet?

What is the role of python for writing dynamic web pages? Does it play an equivalent role in php?

If yes, can it do everything the same as php (MySql, file manipulation, sending emails, ...)

+5
source share
8 answers

Everything that is possible in PHP is possible in Python. I'm not sure the opposite is true. And if so, it will require jumping hoops that you do not want to jump.

Most of the things that are ridiculously done in PHP for the web are not so difficult to do in Python (just using the standard library). As an example, creating a page with a field 3 form that sends you an email without any verification is pretty easy in PHP compared to Python (without any frameworks).

For less trivial applications that you build from scratch, numerous Python frameworks and web development utility libraries will make your life easier in the long run compared to using anything that exists for PHP.

This is a position on the Internet ... Well, facebook clearly does not use it :)

But companies like Disqus, Quora, Reddit, Digg, NASA, and many others use it for web content.

( 5 ) python. .

+5

PHP - , Python .

PHP, Python. Python ( Django).

, Python, ( , Python PHP).

+4

Python main (only?) PHP - . , (PHP) (Python), . , , . Python.

Python -, , , . , PHP, .

0

, , go-lang , , , , , , . web.go, db-, http-, goinstall, ubuntu . - Godoc.

-2

, , - Python. -, Python:

  • Pyramid

- , Pinterest ( Django). EVE , python, . , Python - Ruby on Rails, Dart, Hack, PHP, Perl JavaScript.

EDIT: -2?

-2

Python - , -, PHP. -, Zope, Django Pylons, Python. : Php php- , . Zope.

-3

All Articles