mirror of
https://gitea.com/Lerking/python-crash-course.git
synced 2025-09-05 17:20:11 +02:00
12 lines
220 B
Python
12 lines
220 B
Python
"""
|
|
Basic naming conventions in python
|
|
"""
|
|
|
|
# Do's
|
|
# Use lowercase and snakecase for functions and methods i.e. def save_file()
|
|
def save_file(file: str) -> None:
|
|
with open(file, "w") as F:
|
|
F.write()
|
|
|
|
#Dont's
|