Skip to content

Commit 9115fc5

Browse files
Update Basic_Maths
1 parent ac4c705 commit 9115fc5

File tree

3 files changed

+35
-22
lines changed

3 files changed

+35
-22
lines changed

Basic_Maths.py

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,9 @@
55
Bu Yazılımın Bir Kopyası GİTHUB da yayınlanmaktadır Görüntülemek için: https://github.com/LinuxUsersLinuxMint/Basic_Maths
66
A Copy of This Software is published on GITHUB To view: https://github.com/LinuxUsersLinuxMint/Basic_Maths"""
77

8-
global result
9-
10-
PYTHON_LIB_NAME="Basic_Maths"
11-
PYTHON_LIB_LICENCE="GPL2"
12-
PYTHON_LIB_VER="2.5"
13-
PYTHON_LIB_AUTHOR="LinuxUsersLinuxMint"
8+
from library_func import *
149

15-
# Math functions
10+
global result
1611

1712
select_func = str()
1813
"""
@@ -65,18 +60,3 @@ def TakingRoots(x,y,ResultDialog):
6560
def SqaureRoot(x,ResultDialog):
6661
result=x ** (1/2)
6762
print("{0} {1} {2} ** (1/2) = {3}". format(select_func,ResultDialog,x,result))
68-
69-
70-
# Library functions
71-
72-
def LibAbout():
73-
print("Python Library Name: {0}", format(PYTHON_LIB_NAME))
74-
print("Python Library Version: {0}\n", format(PYTHON_LIB_VER))
75-
print("Python Library Licence Name: {0}\n", format(PYTHON_LIB_LICENCE))
76-
print("Python Library Author Name: {0}\n", format(PYTHON_LIB_AUTHOR))
77-
78-
# TR (Türkçe):
79-
# NOT: "Kütüphane fonksiyonları" başlığı altındaki fonksiyonlar kullanımı isteğe bağlıdır ancak "Basic_Maths" kütüphanesini kullanan bir "Python" yazılımında kullanıcıya kullanılan kütüphane hakkında bilgi vermek amacıyla kullanılabilir.
80-
81-
# EN (English):
82-
# NOTE: The functions under the "Library functions" heading are optional, but can be used in a "Python" software that uses the "Basic_Maths" library to provide information to the user about the library used.

lib_ver_info.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/usr/bin/python3
2+
""" Copyright© 2023-2024 LinuxUsersLinuxMint
3+
Basic_Maths Tüm Hakları GPL(Genel Kamu Lisansı) altında korunmaktadır.
4+
Basic_Maths All Rights Reserved under the GPL(General Public License).
5+
Bu Yazılımın Bir Kopyası GİTHUB da yayınlanmaktadır Görüntülemek için: https://github.com/LinuxUsersLinuxMint/Basic_Maths
6+
A Copy of This Software is published on GITHUB To view: https://github.com/LinuxUsersLinuxMint/Basic_Maths"""
7+
8+
PYTHON_LIB_NAME="Basic_Maths"
9+
PYTHON_LIB_LICENCE="GPL2"
10+
PYTHON_LIB_VER="2.7"
11+
PYTHON_LIB_AUTHOR="LinuxUsersLinuxMint"

library_func.py

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#!/usr/bin/python3
2+
""" Copyright© 2023-2024 LinuxUsersLinuxMint
3+
Basic_Maths Tüm Hakları GPL(Genel Kamu Lisansı) altında korunmaktadır.
4+
Basic_Maths All Rights Reserved under the GPL(General Public License).
5+
Bu Yazılımın Bir Kopyası GİTHUB da yayınlanmaktadır Görüntülemek için: https://github.com/LinuxUsersLinuxMint/Basic_Maths
6+
A Copy of This Software is published on GITHUB To view: https://github.com/LinuxUsersLinuxMint/Basic_Maths"""
7+
8+
# Library functions
9+
10+
from lib_ver_info import *
11+
12+
def LibAbout():
13+
print("Python Library Name: {0}", format(PYTHON_LIB_NAME))
14+
print("Python Library Version: {0}\n", format(PYTHON_LIB_VER))
15+
print("Python Library Licence Name: {0}\n", format(PYTHON_LIB_LICENCE))
16+
print("Python Library Author Name: {0}\n", format(PYTHON_LIB_AUTHOR))
17+
18+
# TR (Türkçe):
19+
# NOT: "Kütüphane fonksiyonları" başlığı altındaki fonksiyonlar kullanımı isteğe bağlıdır ancak "Basic_Maths" kütüphanesini kullanan bir "Python" yazılımında kullanıcıya kullanılan kütüphane hakkında bilgi vermek amacıyla kullanılabilir.
20+
21+
# EN (English):
22+
# NOTE: The functions under the "Library functions" heading are optional, but can be used in a "Python" software that uses the "Basic_Maths" library to provide information to the user about the library used.

0 commit comments

Comments
 (0)