0
1.5kviews
What is Python? Explain different Python Web frameworks.
1 Answer
0
8views

Python

  • Python is a high-level, interpreted, interactive and object-oriented scripting language. Python is designed to be highly readable. It uses English keywords frequently where as other languages use punctuation, and it has fewer syntactical constructions than other languages.
  • Its high-level built in data structures, combined with dynamic typing and dynamic binding; make it very attractive for Rapid Application Development.
    • Python is Interpreted: Python is processed at run-time by the interpreter. You do not need to compile your program before executing it. This is similar to PERL and PHP.
    • Python is Interactive: You can actually sit at a Python prompt and interact with the interpreter directly to write your programs.
    • Python is Object-Oriented: Python supports Object-Oriented style or technique of programming that encapsulates code within objects.
    • Python is a Beginner's Language: Python is a great language for the beginner-level programmers and supports the development of a wide range of applications from simple text processing to WWW browsers to games.
  • Python supports modules and packages, which encourages program modularity and code reuse. The Python interpreter and the extensive standard library are available in source or binary form without charge for all major platforms, and can be freely distributed.

Python Web Frameworks

A web framework is a set of components that helps you to develop websites faster and easier. Some Python Web Frameworks are as follows

Django

  • Django is a free open-source full-stack Python framework.
  • Django Python is a framework for perfectionists with deadlines. With it, you can build better Web apps in much less time, and in less code.
  • Django is known for how it focusses on automating. It also believes in the DRY (Don’t Repeat Yourself) principle.
  • Some of the exemplary features of Django are its authentication, URL routing, template engine, object-relational mapper (ORM), and database schema migrations (Django v.1.7+).

TurboGears

  • TurboGears is an open-source, data-driven full-stack web application framework.
  • It allows you to quickly develop extensible data-driven web applications. TurboGears comes with user-friendly templating and a powerful and flexible ORM.

Pylons

  • Pylons is a lightweight Web framework aiming at flexibility and rapid development. With the best ideas from Ruby, Python, and Perl, it makes for a structured, but extremely flexible Python Web framework.
  • With Pylons, Web development is fast, flexible, and easy.
  • Pylons is built on top of Paste. But after being merged with Pyramid to form the Pylons project, it is in maintenance-only status.

Pyramid

  • Pyramid is an open-source Python-based web application framework. Its main goal is to do as much as possible with minimum complexity.
  • The most striking feature of Pyramid is its ability to work well with both small and large applications.
  • A Pyramid web application starts from a single-file module, and evolves into an ambitious project. Actually, Pyramid is a Pylons project.

CherryPy

  • It is a non-full-stack framework, pythonic, object-oriented HTTP framework. A web application powered by CherryPy is a standalone Python application that embeds its own multi-threaded web server.
  • In a way, CherryPy is a way between the programmer and the problem. It also supports various web servers like Apache, IIS, and so. CherryPy will let you launch multiple HTTP servers at once.
Please log in to add an answer.