Add basics/naming_convention.py

This commit is contained in:
Lerking
2024-09-22 09:33:04 +00:00
parent 27560ff061
commit f4a00cb092

View File

@@ -0,0 +1,11 @@
"""
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