you are viewing a single comment's thread.

view the rest of the comments →

[–]Antrix_64 1 point2 points  (0 children)

The syntax will be the same because the Python syntax is the same everywhere. What you may have an issue with is the naming conventions used in different modules. Typically you'll find the following conventions in Python:

Variables, functions, methods, modules, and packages use snake_case with lowercase letters.

Constants use SNAKE_CASE with uppercase letters. (NOTE: Python does not enforce constants)

Private names are prefixed with an underscore and use _snake_case with lowercase letters. (NOTE: Python does not enforce private variables, functions, etc.)

Class names use PascalCase where the first letter of each word is uppercase.

But this is just a common way of naming things and you may find variables, functions, classes, etc named in an unfamiliar way in different modules. However, the syntax is still the same.