Skip to content

Commit 40bd806

Browse files
created a new sub-directory(./kivy-calculator)
1 parent ba55b40 commit 40bd806

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Feel free to explore the scripts and use them for your learning and automation n
5555
40. [Test Case Generator](https://github.com/Tanmay-901/test-case-generator/blob/master/test_case.py) - Generate different types of test cases with a clean and friendly UI, used in competitive programming and software testing.
5656
41. [Extract Thumbnail From Video](https://github.com/geekcomputers/Python/tree/ExtractThumbnailFromVideo) - Extract Thumbnail from video files
5757
42. [How to begin the journey of open source (first contribution)](https://www.youtube.com/watch?v=v2X51AVgl3o) - First Contribution of open source
58-
43. [kivy_calculator.py](https://github.com/geekcomputers/Python/blob/master/kivy_calculator.py) - Calculator UI using Kivy
58+
43. [kivy_calculator.py](https://github.com/geekcomputers/Python/blob/master/kivy-calculator/kivy_calculator.py) - Calculator UI using Kivy
5959
<hr>
6060

6161
_**Note**: The content in this repository belongs to the respective authors and creators. I'm just providing a formatted README.md for better presentation._

kivy_calculator.py renamed to kivy-calculator/kivy_calculator.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
wanna try some GUI based calculator, here is one!
44
Try it, brake it. If you find some bug and have better way ahead, i welcome your change :)
55
6-
Install dependencies:
7-
pip install kivy==2.3.1 kivymd==1.1.1
86
97
"""
108

@@ -111,7 +109,7 @@ def calculate(self, cal_btn):
111109

112110
try:
113111
self.root.ids.field.text = str(eval(raw))
114-
except Exception: # Fixed E722
112+
except Exception:
115113
self.root.ids.field.text = "undefined"
116114

117115

kivy-calculator/requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
kivy==2.3.1
2+
kivymd==1.1.1

0 commit comments

Comments
 (0)