Python2

Середовище розробки: Python2

Python2: Генерал

На жаль, цей текстовий блок доступний лише англійською мовою.

Python 2 is an older version of the Python programming language that was released in 2000. It is one of the most widely used programming languages for web development and has many advantages over the earlier versions of Python. In the area of web development, there are some important differences between Python 2 and the earlier versions of Python: Improved speed: Python 2 has been optimised to achieve greater speed and efficiency, especially when processing large amounts of data. Better modules and libraries: Python 2 includes a variety of modules and libraries specifically designed for web development, such as the Django framework for web applications. Unicode support: Python 2 offers better Unicode support than previous versions of Python, making it easier to process text in different languages. Enhanced language features: Python 2 offers enhanced language features, such as support for list comprehension, lambda functions and generator expressions. Extended standard library: Python 2 includes an extended standard library with many useful functions and modules for web development, such as support for HTTP, FTP, email and XML.

Python2: HTTP Константи

httplib.CONTINUE
httplib.SWITCHING_PROTOCOLS
httplib.MOVED_PERMANENTLY
httplib.FOUND
httplib.BAD_REQUEST
httplib.UNAUTHORIZED
httplib.PAYMENT_REQUIRED
httplib.FORBIDDEN
httplib.NOT_FOUND
httplib.METHOD_NOT_ALLOWED
httplib.NOT_ACCEPTABLE
httplib.PROXY_AUTHENTICATION_REQUIRED
httplib.REQUEST_TIMEOUT
httplib.CONFLICT
httplib.GONE
httplib.LENGTH_REQUIRED
httplib.PRECONDITION_FAILED
httplib.REQUEST_ENTITY_TOO_LARGE
httplib.REQUEST_URI_TOO_LONG
httplib.UNSUPPORTED_MEDIA_TYPE
httplib.REQUESTED_RANGE_NOT_SATISFIABLE
httplib.EXPECTATION_FAILED
httplib.INTERNAL_SERVER_ERROR
httplib.NOT_IMPLEMENTED
httplib.BAD_GATEWAY
httplib.SERVICE_UNAVAILABLE
httplib.GATEWAY_TIMEOUT