Skip to content

Commit 217965c

Browse files
Add files via upload
1 parent b81341b commit 217965c

File tree

18 files changed

+535
-0
lines changed

18 files changed

+535
-0
lines changed

EN/calc.py

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
#!/usr/bin/python3
2+
"Copyright© 2023 LinuxUsersLinuxMint"
3+
"Python Calcutator Tüm Hakları GPL(Genel Kamu Lisansı) altında korunmaktadır."
4+
"Python Calcutator 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/LinuxUsersLinuxMint"
6+
"A Copy of This Software is published on GITHUB To view: https://github.com/LinuxUsersLinuxMint/LinuxUsersLinuxMint"
7+
8+
command=input('calc> ')
9+
about="Python Calcutator CLI(Command Line Interface / Komut Satırı Arayüzü) LICENCE=GPL2"
10+
11+
if command=="calc":
12+
print("calc> Transactions You Can Enter: ")
13+
print("collect\nExtraction\n\Impact\nDivide\nPercentage\nabout")
14+
number1=input('{0} Enter The 1st number: '. format(command))
15+
number2=input('{0} Enter The 2st number: '. format(command))
16+
process=input('{0} Enter the Transaction You Want to Perform: '. format(command))
17+
addition=float(number1)+float(number2)
18+
subraction=float(number1)-float(number2)
19+
multiplication=float(number1)*float(number2)
20+
division=float(number1)/float(number2)
21+
Percentage=float(number1)%float(number2)
22+
if process=="collect":
23+
print("{0} + {1} = {2}". format(number1,number2,addition))
24+
elif process=="Extraction":
25+
print("{0} - {1} = {2}". format(number1,number2,subraction))
26+
elif process=="Impact":
27+
print("{0} * {1} = {2}". format(number1,number2,multiplication))
28+
elif process=="Divide":
29+
print("{0} / {1} = {2}". format(number1,number2,division))
30+
elif process=="Percentage":
31+
print("{0} % {1} = {2}". format(number1,number2,Percentage))
32+
else:
33+
print("Invalid Proccess!")
34+
if command=="about":
35+
print(about)
36+
elif command=="exit":
37+
exit()
38+
elif command=="help":
39+
print("Python calc Help")
40+
print("\n Command: calc , about , help , exit , git-address , web-site , ver , licence")
41+
elif command=="git-address":
42+
print("Github Link: https://github.com/LinuxUsersLinuxMint")
43+
elif command=="web-site":
44+
print("linuxuserslinuxmint.github.io")
45+
elif command=="ver":
46+
print("Version: 0.2 (Last Updated September 17 , 2023 , 14:43)")
47+
elif command=="licence":
48+
print("This Software is protected under the GPL2 license")
49+
else:
50+
print("Invalid Command!")

EN/note.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
NOTE: You can change and use the codes as you wish. The codes are open source.
2+
NOTE2: The original version of the codes was written by LinuxUsersLinuxMint.
3+
GITHUB: https://github.com/LinuxUsersLinuxMint/LinuxUsersLinuxMint

INSTALL/EN/calc

6.21 MB
Binary file not shown.

INSTALL/EN/calc.exe

7.21 MB
Binary file not shown.

INSTALL/TR/calc

929 KB
Binary file not shown.

INSTALL/TR/calc.exe

7.21 MB
Binary file not shown.

LICENCE/gpl.txt

Lines changed: 339 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Python-Calcutator-Lite
2+
3+
* "calc> _" arayüzüyle hesaplama yapmak
4+
* Sürekli güncellenen ve gelişmeyi hedefleyen bir hesap makinesi
5+
* Lite Sürümdür. Komutlar Kaldırılmıştır: help,calc,about,exit,web-address,git-address,licence
6+
7+
* Calculate with "calc> _" interface
8+
* A calculator that is constantly updated and aimed at improvement
9+
10+
Updated 17 September , 2023 , 14:43:
11+
12+
* inputdtr / inputden module removed
13+
* The program can now be run as .exe (Windows/Linux)
14+
* It is Lite Version. Commands Removed: help,calc,about,exit,web-address,git-address,licence

README_BENIOKU/howtoinstall.txt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
Windows Kullacısıysanız -> win-install.bat dosyasını yönetici olarak çalıştırınız.
2+
NOT: Sistemde Python3 yüklü olmadan kullanılamaz.
3+
NOT2: Program \Users\***\... dizinine kurulucaktır.
4+
5+
Linux Kullanıcısıysanız -> install.sh dosyasını çalıştırınız çalıştırmak için Dosya dizininde
6+
Uçbirim (Terminal) çalıştırınız. Ardından "chmod +x install.sh" komutunu girip dosyaya yazma iznini veriniz.
7+
dosyayı çalıştırmak için ./install.sh yazıp dosyası çalıştırınız.
8+
NOT: Program /usr/bin/ klasörüne kurulucaktır.
9+
10+
If you are a Windows User -> run the win-install.bat file as administrator.
11+
NOTE: It cannot be used without Python3 installed on the system.
12+
NOTE2: The program will be installed in the \Users\***\... directory.
13+
14+
If you are a Linux User -> run the install.sh file in the File directory to run
15+
Run the terminal. Then enter the command "chmod +x install.sh" and give write permission to the file.
16+
To run the file, type ./install.sh and run the file.
17+
NOTE: The program will be installed in the /usr/bin/calc/ folder.

README_BENIOKU/howtouninstall.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Windows Kullacısıysanız -> win-uninstall.bat dosyasını yönetici olarak çalıştırınız.
2+
3+
Linux Kullanıcısıysanız -> uninstall.sh dosyasını çalıştırınız çalıştırmak için Dosya dizininde
4+
Uçbirim (Terminal) çalıştırınız. Ardından "chmod +x uninstall.sh" komutunu girip dosyaya yazma iznini veriniz.
5+
dosyayı çalıştırmak için ./uninstall.sh yazıp dosyası çalıştırınız.
6+
7+
If you are a Windows User -> run the win-uninstall.bat file as administrator.
8+
9+
If you are a Linux User -> run the uninstall.sh file in the File directory to run
10+
Run the terminal. Then enter the command "chmod +x uninstall.sh" and give write permission to the file.
11+
To run the file, type ./uninstall.sh and run the file.

0 commit comments

Comments
 (0)