Placeholder

Fundamentals of Python Chapter 9 Project 1 2

$19.00

Description

1. Write a GUI-based program that implements the bouncy program example discussed in Section 9.1.
2. Write a GUI-based program that allows the user to convert temperature values between degrees Fahrenheit and degrees Celsius. The interface should have labeled entry fields for these two values. These components should be arranged in a grid where the labels occupy the first row and the corresponding fields occupy the second row. At start-up, the Fahrenheit field should contain 32.0, and the Celsius field should contain 0.0. The third row in the window contains two command buttons, labeled and When the user presses the first button, the program should use the data in the Fahrenheit field to compute the Celsius value, which should then be output to the Celsius field. The second button should perform the inverse function.
SCREENSHOTS
SOLUTION
PAYMENT
The solution includes python programs
Attachments [Move over files to preview content of those files]
Fundamentals_of_Python_Chapter_9.zip (1.51 KB)
BouncyGUI.py
ConvertTemperature.py
Preview BouncyGUI.py
xxx __xxxx__(xxxx):
“””xxxx xx xxx xxxxxx xxx xxxxxxx.”””
xxxxx.__xxxx__(xxxx)
xxxx.xxxxxx.xxxxx(“xxxxxx”)
self.grid()

# Label and field for the height
self._heightLabel = Label(self, text = “Initial Height: “)
self._heightLabel.grid(row = 0, column = 0)
self._heightVar = DoubleVar()
self._heightEntry = Entry(self,
textvariable = self._heightVar)
self._heightEntry.grid(row = 0, column = 1)

# Label and field for the index
self._indexLabel = Label(self, text = “Index: “)
xxxx._xxxxxxxxxx.xxxx(xxx = 1, xxxxxx = 0)
xxxx._xxxxxxxx = xxxxxxxxx()
xxxx._xxxxxxxxxx = xxxxx(xxxx,
xxxxxxxxxxxx = xxxx._xxxxxxxx)
xxxx._xxxxxxxxxx.xxxx(xxx = 1, xxxxxx = 1)
Preview ConvertTemperature.py
xxxx xxxxxxx xxxxxx *
xxxxx xxxx(xxxxx):
xxx __xxxx__(xxxx):
xxxxx.__xxxx__(xxxx)
## self._fahren = 0.0
## self._cel = 0.0
self.master.title(“TempConver”)
self.grid()
self._fahrenLabel = Label(self, text=”Fahrenheit”)
self._fahrenLabel.grid(row=0, column=0)
self._fahrenVar = DoubleVar()
xxxx._xxxxxxxxxxx = xxxxx(xxxx, xxxxxxxxxxxx=xxxx._xxxxxxxxx)
xxxx._xxxxxxxxxxx.xxxx(xxx=1, xxxxxx=0)
xxxx._xxxxxxxx = xxxxx(xxxx, xxxx=”xxxxxxx”)
xxxx._xxxxxxxx.xxxx(xxx=0, xxxxxx=2)
xxxx._xxxxxx = xxxxxxxxx()
xxxx._xxxxxxxx = xxxxx(xxxx, xxxxxxxxxxxx=xxxx._xxxxxx)
Price: $19
Buy Now
Checkout
Added to cart
Buy More Save More
Buy at least TWO items & save up to 30% OFF your ENTIRE order!
Rack up instant rebates in your shopping cart. Simply add items to your cart, and see the savings add up.
Discounts will automatically be applied on eligible orders.
Fundamentals of Python Chapter 9 Project 1 – $10.00
Fundamentals of Python Chapter 9 Project 2 – $10.00
Add to Cart
Checkout
Added to cart
You May Also Like:
Fundamentals of Python Chapter 6 Project 6 7 8 9
Fundamentals of Python Chapter 8 Project 1 2 3

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.