In: Computer Science
Research information on how Python is used for Web applications and accessing resources on the Web? Please help me for short discussion. Thanks in advance.
Answer:-
Python is used for Web applications
Python is widely used for developing large scale web applications that are not possible to build and develop using other languages like .NET and PHP as Python is very much powerful in supporting many ultra features that is very easily executed with different frameworks like Django, Flask, web2py and many more.
It is used in games, web applications, network servers, scientific computing, media tools, application scripting, AI, chatbots and many more.
Ruby on Rails, Python & Mobile App Development is one of the company who works on Python and develops exquisite software applications.
Python offers many choices for web development:
Frameworks such as Django and Pyramid.
Micro-frameworks such as Flask and Bottle.
Advanced content management systems such as Plone and django CMS.
Python's standard library supports many Internet protocols:
HTML and XML
JSON
E-mail processing.
Support for FTP, IMAP, and other Internet protocols.
Easy-to-use socket interface.
Education :Python is a superb language for teaching programming, both at the introductory level and in more advanced courses. Books such as How to Think Like a Computer Scientist, Python Programming: An Introduction to Computer Science, and Practical Programming. The Education Special Interest Group is a good place to discuss teaching issues.
Python is used for accessing resources
in each directory that contains Python scripts, put a Python module that knows the path to the root of the hierarchy. It can define a single global variable with the relative path. Import this module in each script. Python searches the current directory first so it will always use the version of the module in the current directory, which will have the relative path to the root of the current directory.
Possibly some file you already have in the project directory can be used for this purpose (e.g. keep moving up until you find a src directory), or you can name the project directory in such a way to make it apparent.