Mastering Python for Web
- Length: 302 pages
- Edition: 1
- Language: English
- Publisher: CRC Press
- Publication Date: 2022-02-22
- ISBN-10: 1032135654
- ISBN-13: 9781032135656
- Sales Rank: #0 (See Top 100 Books)
Python for Web
Python definitely tops the charts when it comes to ease of use and beginner-friendly learning curve in the world of programming languages. At the same time, Python is essential when it comes to writing system scripts, processing big data, performing mathematical computations, creating web applications, and rapid prototyping.
With this Mastering edition, we have focused especially on the usage of Python for Web. This book explores Python programming fundamentals with interactive projects, introduces core coding concepts and the basics of Python-based web development. The reader should be ready to dive deep into the world of Python for web development in no time.
Since Python positions itself in web development as a back-end language, it is usually mixed with another front-end language to build a whole website. At the same time, reasons for using Python in web development are many: it is a flexible, versatile, and highly efficient programming language with dynamic typing capacity. This book helps readers to examine Python key back-end/front-end programming techniques and guides them through implementing them when creating professional projects. Furthermore, it also focuses on teaching readers how to solve common problems and developing web services with Python frameworks such as Django and Flask.
Mastering Python for Web has a goal more ambitious than simply teaching you the ropes – it aims to help you embrace and master problem solving, which could be seen as the single most crucial skill for a coder. It offers you a focal point on starting as a beginner and growing into an expert by putting your newly acquired knowledge into practice. Programming is a hands-on skill, and this particular book helps you put your skills to test with easy to grasp tasks and examples.
Learn more about our other Mastering titles at ……..
Cover Page Half-Title Page Series Page Title Page Copyright Page Contents About the Editor Chapter 1 Introduction to Python Python 2 vs. Python 3 A Brief History of Python Installing and Configuring Python How to Install Python on Windows How to Install from the Microsoft Store How to Install from the Full Installer How to Install Python on macOS How to Install from the Official Installer How to Install from Homebrew How to Install Python on Linux How to Install on Ubuntu and Linux Mint How to Install on Debian Linux How to Install on openSUSE How to Install on CentOS and Fedora How to Install on Arch Linux How to Build Python from Source Code How to Install Python on iOS How to Install Python on Android Online Python Interpreters Regenerate Configure Chapter 2 Python Data Type Additional Methods on Integer Types String Data Type Set Data Type Operators and Methods Modifying a Set Numbers Data Type Integers Floating Point Numbers Complex Numbers Number Type Conversion List Data Type Accessing Values in Lists Updating Lists Delete List Elements Basic List Operations Built-In List Functions and Methods Dictionary Data Type Creating a Dictionary Accessing Values in Dictionary Updating Dictionary Delete Dictionary Elements Properties of Dictionary Keys Built-in Dictionary Functions & Methods Tuple Data Type Accessing Values in Tuples Updating Tuples Delete Tuple Elements Basic Tuples Operations Built-in Tuple Functions Chapter 3 Python Comments and Documentation Single Line, Inline, and Multiline Comments How Python Multiline Comment Works? Block Comments Shebang Python Commenting Best Practices When Writing Code for Yourself When Writing Code for Others Python Commenting Worst Practices How to Practice Commenting? Programmatically Accessing Docstrings Single-Line Docstrings Multi-line Docstrings Docstring Formats Write Documentation via Docstrings Paragraphs Inline Markup Sections Meta-information Markup Information Units Inline Markup Chapter 4 Programs, Algorithms, and Functions Python Scripts and Modules What's the Python Interpreter? Using the Python Command Using the Script Filename How to Run Python Scripts Interactively How to Run Python Scripts from an IDE or a Text Editor How to Run Python Scripts from a File Manager Joining Two Strings Format Floating Point in the String Raise a Number To a Power Working with Boolean Types Use of If-Else Statement Use of AND and OR Operators Locating Modules Standard Modules Python Packages Python Algorithms How Do You Write Algorithms? Characteristics of an Algorithm Brute Force Divide and Conquer Tree Traversal Algorithms Sorting Algorithms Searching Algorithms Algorithm Analysis Basic Functions Dynamic Programming Recursive Method Top-Down Method Bottom Down Lambda Functions Syntax Decorators Chapter 5 Python's Executional Model Names and Namespaces Scopes Using the LEGB Rule Functions: The Local Scope Nested Functions: The Enclosing Scope Modules: The Global Scope Built-In Scope Modifying the Behavior of A Python Scope The Global Statement The Nonlocal Statement Using Enclosing Scopes as Closures Bringing Names to Scope with Import Reviewing Unusual Python Scopes Comprehension Variables Scope Exception Variables Scope Class and Instance Attributes Scope Using Scope-Related Built-In Functions Objects and Classes Class Objects Method Objects Inheritance Chapter 6 Python for Web Development The Basic Concepts Around Web Programming The Django Framework Is Django Opinionated? What Does Django Code Look Like? Handling the Request (views.py) Defining Data Models (models.py) Rendering Data (HTML Templates) Regular Expressions Regular Expression Objects Flask and Falcon Frameworks Appraisal Index
Donate to keep this site alive
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.