Skip to content

Commit c399d25

Browse files
Add files via upload
1 parent 1e6c493 commit c399d25

File tree

7 files changed

+43
-15
lines changed

7 files changed

+43
-15
lines changed

EN/calc.py

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,17 @@
22
import os
33
from colorama import Fore, init
44
init(autoreset=True)
5+
process=int(0)
56
# Copyright© 2023 LinuxUsersLinuxMint
67
# Python Calcutator Tüm Hakları GPL(Genel Kamu Lisansı) altında korunmaktadır.
78
# Python Calcutator All Rights Reserved under the GPL(General Public License).
89
# Bu Yazılımın Bir Kopyası GİTHUB da yayınlanmaktadır Görüntülemek için: https://github.com/LinuxUsersLinuxMint/LinuxUsersLinuxMint
910
# A Copy of This Software is published on GITHUB To view: https://github.com/LinuxUsersLinuxMint/LinuxUsersLinuxMint
1011
print("******************************************************")
11-
print("*** Python-Calcutator 0.2.7 Programına Hoşgeldiniz ***")
12-
print("""*** Seçenekler: ***
12+
print("*** Welcome to Python-Calcutator 0.2.7 Program ***")
13+
print("""*** Options: ***
1314
*** ***
14-
*** Seçmek istediğiniz Komutu Giriniz... ***
15+
*** Enter the Command you want to choose... ***
1516
*** ***
1617
*** 1. calc ***
1718
*** 2. about ***
@@ -24,22 +25,22 @@
2425
******************************************************""")
2526
command=str(input(Fore.LIGHTBLUE_EX +'calc> '))
2627
os.system("clear")
27-
about="Python Hesap Makinesi CLI(Command Line Interface / Komut Satırı Arayüzü) LICENCE=GPL2"
28-
secilen_islem=str(Fore.LIGHTBLUE_EX+"None")
28+
about="Python Calcutator CLI(Command Line Interface / Komut Satırı Arayüzü) LICENCE=GPL2"
29+
selected_transaction=str(Fore.LIGHTBLUE_EX+"None")
2930
if command=="calc":
30-
print("""*** Girebileceğiniz işlemler: ***
31-
Seçilen İşlem={0}""". format(secilen_islem))
31+
print("""*** Transactions you can enter: ***
32+
Selected Transaction={0}""". format(selected_transaction))
3233
print("""
3334
1. Addition
3435
2. Subraction
3536
3. Multiplication
3637
4. Division
3738
5. Percentage""")
38-
process=str(input('calc> Seçmek İstediğiniz İşlemin Numarasını Giriniz: '))
39-
secilen_islem=process
39+
process=str(input('calc> Enter the Number of the Transaction You Want to Select: '))
40+
selected_transaction=process
4041
os.system("clear")
41-
print(Fore.LIGHTBLUE_EX+"""calc> Seçilen İşlem:
42-
Seçilen İşlem={0}""". format(secilen_islem))
42+
print(Fore.LIGHTBLUE_EX+"""calc> Selected Transaction:
43+
Selected Transaction={0}""". format(selected_transaction))
4344
number1=float(input('calc> Enter The 1st Number: '))
4445
number2=float(input('calc> Enter The 2st Number: '))
4546
os.system("clear")
@@ -54,7 +55,7 @@
5455
elif process=="5":
5556
print("{0} % {1} = {2}". format(number1,number2,number1%number2))
5657
else:
57-
print("Geçersiz İşlem!")
58+
print("Invalid Process!")
5859
if command=="about":
5960
print(about)
6061
elif command=="exit":
@@ -67,7 +68,7 @@
6768
elif command=="web-site":
6869
print("linuxuserslinuxmint.github.io")
6970
elif command=="ver":
70-
print("Sürüm: 0.2.7 (Son Güncellenme Tarihi 6 Ekim , 2023 , 18:03)")
71+
print("Version: 0.2.7 (Last Updated on October 6, 2023, 18:03)")
7172
elif command=="licence":
7273
print("This Software is protected under the GPL2 license")
7374
elif command=="Thank":

INSTALL/EN/calc

92.8 KB
Binary file not shown.

INSTALL/TR/calc

5.39 MB
Binary file not shown.

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,14 @@
33
* "calc> _" arayüzüyle hesaplama yapmak
44
* Sürekli güncellenen ve gelişmeyi hedefleyen bir hesap makinesi
55

6+
* Program için derleyici eklenmiştir.
7+
68
* Calculate with "calc> _" interface
79
* A calculator that is constantly updated and aimed at improvement
810

11+
* * A compiler has been added for the program.
12+
913
Updated 17 September , 2023 , 14:43:
1014

1115
* inputdtr / inputden module removed
12-
* The program can now be run as .exe (Windows/Linux)
16+
* The program can now be run as .exe (Windows/Linux)

TR/calc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import os
33
from colorama import Fore, init
44
init(autoreset=True)
5+
islem=int(0)
56
# Copyright© 2023 LinuxUsersLinuxMint
67
# Python Calcutator Tüm Hakları GPL(Genel Kamu Lisansı) altında korunmaktadır.
78
# Python Calcutator All Rights Reserved under the GPL(General Public License).
@@ -72,6 +73,5 @@
7273
print("This Software is protected under the GPL2 license")
7374
elif command=="Thank":
7475
print("Python-Calcutator'u Kullandığınız için Teşekkür ederim. ")
75-
# Thank You for Using Python-Calcutator.
7676
else:
7777
print("Geçersiz Komut!")

debugandrun

6.21 MB
Binary file not shown.

debugandrun.py

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#!/usr/bin/python3
2+
# Bu Program Python-Calcutator'u derlemek için oluşturulmuştur.
3+
# This program was created to compile Python-Calcutator.
4+
5+
import os
6+
7+
operating_sys=str(input('Operating System (Windows/Linux/MacOS): '))
8+
9+
if operating_sys=="Windows":
10+
usr=str(os.system("%users%"))
11+
ProgramPath=str(input('Program Path (C:\...) (EN/TR): '))
12+
FileName=str(input('File Name: '))
13+
debugPath=str(ProgramPath)
14+
debug=os.system("cd {0}". format(debugPath))
15+
debugfile=os.system("pyinstaller --onefile {0}". format(FileName))
16+
elif operating_sys=="Linux" or operating_sys=="MacOS":
17+
ProgramPath=str(input('Program Path (/...) (EN/TR): '))
18+
FileName=str(input('File Name: '))
19+
debugPath=str(ProgramPath)
20+
debug=os.system("cd {0}". format(debugPath))
21+
debugfile=os.system("pyinstaller --onefile {0}". format(FileName))
22+
else:
23+
print("Invalid Operating System...!")

0 commit comments

Comments
 (0)