Practical Python Programming · Useful Tools and Libraries — Flask Routing and Templates

The two core features of Flask: • Routing: Mapping URLs to Python functions • Template: Jinja2 template system for rendering HTML pages You will learn how to build web pages, pass values, template inheritance, static files, and other core knowledge. Part One: Flask Routing 1. What is Routing? Routing defines which function should handle a … Read more

Complete Guide to Python SSTI Vulnerabilities

1. What is SSTI? SSTI (Server Side Template Injection) is a web security vulnerability where an attacker injects malicious code into a template engine, causing the server to execute unintended operations. Template engines are used in web development to separate user interface from business data, enhancing code reusability and development efficiency. The server uses the … Read more

Ansible: From Beginner to Abandonment (Part 23)

Ansible: From Beginner to Abandonment (Part 23)

Ansible Variable Usage Ansible can improve the efficiency of writing Playbooks through the use of variables. For example, when installing packages with Ansible, you can write the package names into a variable and then call that variable in the Playbook. This way, when you need to modify the packages to be installed, you only need … Read more

Deploying Qwen 3.0 on RK3588 – Continuation

Deploying Qwen 3.0 on RK3588 - Continuation

Qwen3 is deployed on rk3588, defaulting to thinking mode, which can be switched to non-thinking mode by adding /no_think to the user input. How to change the default mode to non-thinking on rk3588? That is, setting enable_thinking=False will also take effect on rk3588. Let’s take a look at Qwen3‘s chat_template.Tokenizer_config.json is located in "chat_template": "{%- … Read more

Flask Tutorial: A Quick Start to Web Development

Flask Tutorial: A Quick Start to Web Development

In today’s digital age, the speed of internet technology development is like a speeding train, and no one can remain unaffected. Whether building internal applications for businesses or developing a personal blog, web development is an essential aspect that cannot be overlooked. Among the myriad of development tools, Python’s micro-framework Flask undoubtedly shines as a … Read more

Automating Email Sending with Python: Enterprise Solutions

Automating Email Sending with Python: Enterprise Solutions

01Introduction In modern enterprise operations, email communication plays a crucial role. Whether it is sending daily reports, customer notifications, or marketing promotions, the large volume of emails often takes up our valuable time. If you are looking for a reliable automated email sending solution, Python is your best choice. Python not only provides powerful email … Read more