Canonical naming to avoid low-level problems
1. The best name is English characters, underline _, the number of three components
2. Project (Project) name, package name, module name, etc. should be in English beginning, not pure numbers , (the general has a special meaning at the beginning of the underscore, do not understand the use of chaos)
3. The name of the script cannot be duplicated with the system's module or third-party module (e.g. Requests/unittest/selenium, etc.)
4. The name of the function, class, method, parameter cannot be duplicated with the existing name of the system
5. The class name must start with an uppercase letter , except for the class name, where all other places start with lowercase
Naming conventions are best followed by pre-hump and underline methods such as: Findelementbyid find_element_by_id
- 6. Do not have Chinese, special characters (:; * & @, etc.), some special characters have special effect
Python Naming conventions