ControlSystem 0.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- controlsystem-0.1.dist-info/METADATA +10 -0
- controlsystem-0.1.dist-info/RECORD +6 -0
- controlsystem-0.1.dist-info/WHEEL +5 -0
- controlsystem-0.1.dist-info/top_level.txt +1 -0
- ppp/__init__.py +2 -0
- ppp/game.py +22 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: ControlSystem
|
|
3
|
+
Version: 0.1
|
|
4
|
+
Summary: Moja biblioteka z autorskim alfabetem i komendami
|
|
5
|
+
Author-email: Alexander <wszystko5@yahoo.com>
|
|
6
|
+
Classifier: Programming Language :: Python :: 3
|
|
7
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
8
|
+
Classifier: Operating System :: OS Independent
|
|
9
|
+
Requires-Python: >=3.11
|
|
10
|
+
Description-Content-Type: text/markdown
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
ppp/__init__.py,sha256=m3459e-GLOU3AVUyqMFsiJR2KoNcge9VhfZAD6GqsPo,68
|
|
2
|
+
ppp/game.py,sha256=Ag7jmFWWsvVKPnPtUjLrCr_WM4c5CDWJwqhfCyf63T4,563
|
|
3
|
+
controlsystem-0.1.dist-info/METADATA,sha256=0eUEEKK3EfYIRPl-tsR6R5ouWl5BcE0uU6fZM5m71Hs,380
|
|
4
|
+
controlsystem-0.1.dist-info/WHEEL,sha256=YCfwYGOYMi5Jhw2fU4yNgwErybb2IX5PEwBKV4ZbdBo,91
|
|
5
|
+
controlsystem-0.1.dist-info/top_level.txt,sha256=lHndc_cGmc03ByjvZymW1Sn8NfzmwkdvLe2P6tB2Ucc,4
|
|
6
|
+
controlsystem-0.1.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ppp
|
ppp/__init__.py
ADDED
ppp/game.py
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import os, time, sys, platform
|
|
2
|
+
|
|
3
|
+
def process(co):
|
|
4
|
+
co = co
|
|
5
|
+
print(co)
|
|
6
|
+
|
|
7
|
+
def command(jakie="echo ."):
|
|
8
|
+
"""Główna funkcja wywoływana jako command()"""
|
|
9
|
+
os.system(jakie)
|
|
10
|
+
|
|
11
|
+
def clear_func():
|
|
12
|
+
"""To jest nasza funkcja wewnątrz, która będzie dostępna jako .clear()"""
|
|
13
|
+
if platform.system() == "Windows":
|
|
14
|
+
os.system("cls")
|
|
15
|
+
else:
|
|
16
|
+
os.system("clear")
|
|
17
|
+
|
|
18
|
+
# Przypisujemy wewnętrzną funkcję do atrybutu głównej funkcji
|
|
19
|
+
command.clear = clear_func
|
|
20
|
+
|
|
21
|
+
# Uruchamiamy konfigurację
|
|
22
|
+
clear_func()
|