Add python template.
This commit is contained in:
parent
cae1182840
commit
fa180a7636
11 changed files with 621 additions and 0 deletions
1
templates/python/app/__init__.py
Normal file
1
templates/python/app/__init__.py
Normal file
|
|
@ -0,0 +1 @@
|
|||
|
||||
10
templates/python/app/__main__.py
Normal file
10
templates/python/app/__main__.py
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
def hello(name: str = "World"):
|
||||
print(f"Hello, {name}!")
|
||||
|
||||
|
||||
def main():
|
||||
hello()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
Loading…
Add table
Add a link
Reference in a new issue