Here’s a summary of the ways to call external programs and the advantages and disadvantages of each: os.system(“some_command with args”) passes the command and arguments to your system’s shell. This is nice because you can actually run multiple commands at once in this manner and set up pipes and input/output redirection. For example: os.system("some_command > input_file | another_command > output_file") However, while this is convenient, you have to manually handle the escaping of shell characters such as spaces, etc.

Read More…

This document is just a summarize of below document: Chinese Standard Web Fonts: A Guide to CSS Font Family Declarations for Web Design in Simplified Chinese Use the Chinese characters, and also spell out the font name, e,g: "Microsoft Yahei","微软雅黑" Declare English target

Read More…

C10k problem How to configure operating systems and write code to support thousands of clients is what we called C10k problem Candidates: Django It is a high-level Python Web framework that encourages rapid development and clean, pragmatic design”. If you are building something that is similar to a e-commerce site, then you should probably go with Django. It will get your work done quick. You dont have to worry about too many technology choices.

Read More…