Following are some important Python naming conventions:-
Package name:-Package name will always be written in Python in lower
E.g:- import pandas as pd
Variables:-Python does not have any special variable naming convention because we need not specify variable names like other languages.
ClassName:- While writing class name we will write the first letter as capital.
E.g:- class Summation(object):
Function name: -It should be lowercase, if your function name contains more than one word then it must be separated by underscores as necessary to improve readability.
E.g:- def plus_minus(a,b):
If you are looking for upskilling yourself in python you can join our Python Training and learn from the industry expert!