mirror of
https://github.com/Paillat-dev/pycord-reactive-views.git
synced 2026-01-02 09:06:21 +00:00
Initial commit
This commit is contained in:
1
src/README.md
Normal file
1
src/README.md
Normal file
@@ -0,0 +1 @@
|
||||
This directoy stores each Python Package.
|
||||
8
src/python_package/__init__.py
Normal file
8
src/python_package/__init__.py
Normal file
@@ -0,0 +1,8 @@
|
||||
# -------------------------------------------------------------
|
||||
# Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
# Licensed under the MIT License. See LICENSE in project root for information.
|
||||
# -------------------------------------------------------------
|
||||
"""Python Package Template"""
|
||||
from __future__ import annotations
|
||||
|
||||
__version__ = "0.0.2"
|
||||
25
src/python_package/hello_world.py
Normal file
25
src/python_package/hello_world.py
Normal file
@@ -0,0 +1,25 @@
|
||||
# ---------------------------------------------------------------------------------
|
||||
# Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
# Licensed under the MIT License. See LICENSE in project root for information.
|
||||
# ---------------------------------------------------------------------------------
|
||||
"""This is a Sample Python file."""
|
||||
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
|
||||
def hello_world(i: int = 0) -> str:
|
||||
"""Doc String."""
|
||||
print("hello world")
|
||||
return f"string-{i}"
|
||||
|
||||
|
||||
def good_night() -> str:
|
||||
"""Doc String."""
|
||||
print("good night")
|
||||
return "string"
|
||||
|
||||
|
||||
def hello_goodbye():
|
||||
hello_world(1)
|
||||
good_night()
|
||||
Reference in New Issue
Block a user