3 changed files with 29 additions and 0 deletions
@ -0,0 +1,12 @@ |
|||||
|
contourpy==1.3.3 |
||||
|
cycler==0.12.1 |
||||
|
fonttools==4.61.1 |
||||
|
kiwisolver==1.4.9 |
||||
|
matplotlib==3.10.8 |
||||
|
numpy==2.4.1 |
||||
|
packaging==25.0 |
||||
|
pillow==12.1.0 |
||||
|
pyparsing==3.3.1 |
||||
|
python-dateutil==2.9.0.post0 |
||||
|
six==1.17.0 |
||||
|
termcolor==3.3.0 |
||||
@ -0,0 +1,16 @@ |
|||||
|
import termcolor as tc |
||||
|
|
||||
|
print(tc.colored("Hello World!","green")) |
||||
|
|
||||
|
# importování celé knihovny |
||||
|
# import math |
||||
|
# print(math.sqrt(16)) |
||||
|
|
||||
|
#importování jenom část knihovny |
||||
|
# from math import sqrt |
||||
|
# print(sqrt(16)) |
||||
|
|
||||
|
#importování části knihovny a přejmenování |
||||
|
from math import sqrt as odmocnina, pi |
||||
|
print(tc.colored(odmocnina(16),"blue")) |
||||
|
print(tc.colored(pi,"yellow")) |
||||
@ -0,0 +1 @@ |
|||||
|
termcolor==3.3.0 |
||||
Loading…
Reference in new issue