We're beginners trying to learn Python and have this sample code:
https://github.com/PySimpleGUI/PySimpleGUI/blob/master/ProgrammingClassExamples/Win10%20versions/2a.%20PSG%20(checkbox%20and%20radiobuttons)%20-%20Copy.py
There is a section of code that has this line::
result = str(' Cost: ' +
Hi,
We're learning Python with PySimpleGUi and have used this example program...
https://github.com/PySimpleGUI/PySimpleGUI/blob/master/ProgrammingClassExamples/Win10%20versions/1d%20PSG%20(named%20input%20keys%20and%20catch%20errors).py
There is a mystery command that says:
.
The pleasing thing is how keen the students are to keep learning and asking
questions
Thanks again for all your support and ideas!
Matthew Polack
On Tue, Feb 5, 2019 at 3:05 PM David wrote:
> On Tue, 22 Jan 2019 at 20:30, Matthew Polack
> wrote:
> >
> > Hi All,
> >
> &g
Thanks Alan, David and Mike,
Really appreciate those thoughts and ideas suggested.. I will check out the
full video David...but the part I've looked at has some great food for
thought..is extremely relevant.This quote from the description is very true:
"showing them how to copy-paste a few
ul. Thanks.
Matthew Polack | Teacher
[image: Emailbanner3.png]
Trinity Drive | PO Box 822
Horsham Victoria 3402
p. 03 5382 2529 m. 0402456854
e. matthew.pol...@htlc.vic.edu.au
w. www.htlc.vic.edu.au
On Wed, Jan 23, 2019 at 1:21 PM Sean Murphy wrote:
> I like this concept. The on
using PySimple GUi..eg. Some quiz games etc.
(there are some great examples on Github by another teacher and also the
author Mike of PySimpleGUI.
3.) Possibly explore robotics.
Can anyone make any recommendations on either resources or
teaching/learning strategy/curriculum.
Thank you,
Matt
Matthew
enjoy looking through all the various links and ideas as I prepare
the coding course for 2019. Will use them, to upskill myself too.
Thanks so much!
- Matthew Polack
On Fri, Dec 7, 2018 at 6:05 AM Mike Barnett
wrote:
> Oh, one more thing on this topic... there are tutorial videos availa
based console programming?
Thanks for any suggestions.
Matthew Polack | Teacher
--
**Disclaimer: *Whilst every attempt has been made to ensure that material
contained in this email is free from computer viruses or other defects, the
attached files are provided, and may only be used
this into years eg. Total rainfall of
1863, 1864 all the way through to 2018.
Would Python be able to do this using the csv file?
Thanks,
Matt
Matthew Polack | Teacher
[image: Emailbanner3.png]
Trinity Drive | PO Box 822
Horsham Victoria 3402
p. 03 5382 2529 m. 0402456854
e. matthew.pol
..
I'll probably stick with the traditional %. method too for a while because
that is now what I understand.
thanks...will keep trying things..and then also reading through the various
docs provided...+ your emails.
Thank you.
Matthew Polack | Teacher
[image: Emailbanner3.png]
Trinity Drive
'''
'''
Instructions given:
>>> s = "Here is a string with a rounded float: %.2f" % 42.3456789
>>> s
'Here is a string with a rounded float: 42.35'
'''
Thanks for any clues.
- Matt
Matthew Polack | Teacher
[image: Emailbanner3.png]
Trinity Drive | PO Box 822
text=mistakes, fg="black", bg="grey",
font=("arial", 20, "bold"))
mistakesViewLab.grid(row=20, column=1, sticky=W)
percentlab = Label(root, text="Percentage", bg="aqua", fg="white",
font=("arial", 20, "bold"))
p
.exe file to install?
Just trying to get my head around the 'end game' of all this?
Thanks,
Matt
If we make a python.py program and want people on Windows to run it...does
this mean there must be Python installed on that computer in order to run
it.
Matthew Polack | Teacher
[image
grabs the starting score from the declarations at
the top. eg. score = 0
scorelab = Label(root, text="Score", bg="green", fg="white", font=("arial",
20, "bold"))
scorelab.grid(row=18, column=0, sticky=E)
scoreViewLab = Label(root, text=score, fg="black",
,
font=("arial", 20, "bold"))
totalViewLab.grid(row=19, column=1, sticky=W)
def viewWrong():
global wrong
global mistakes
#scoreViewLab=Label(root, scoreView, textvariable=scoreView)
wrongViewLab = Label(root, text=mistakes, fg="black", bg="grey",
font=("
more than when I started 4 weeks ago!
Thank you so much for your support and time replyingit is very
encouraging.
- Matthew Polack
Matthew Polack | Teacher
[image: Emailbanner3.png]
Trinity Drive | PO Box 822
Horsham Victoria 3402
p. 03 5382 2529 m. 0402456854
e. matthew.pol
;1"
*Question 2:*
Is there a way to centre text within the text frame? I can change the font
and size...but don't know how to centre it?
txt = Text(root, width=35, height=10, wrap=WORD, font=("arial", 24, "bold"))
txt.grid(row=12, columnspan=2, sticky=EW )
*Quest
Just a quick 'Thank you' for this advice the other day Alan and
Abdur-Rahmaan.
Greatly appreciated as we work together with our students here.
Thank you.
Matthew Polack | Teacher
[image: Emailbanner3.png]
Trinity Drive | PO Box 822
Horsham Victoria 3402
p. 03 5382 2529 m. 0402456854
e
es?"))
print("This is")
print(price * amount, "Metric Tonnes")
wheatbutton = Button(root, text="Wheat", fg="black", bg="yellow")
wheatbutton.configure(croptype="wheat", command=wheatwords)
Matthew Polack | Teacher
[image: Emailb
Thanks Alan and Peter for the comprehensive replies...that gives me some
good 'homework' to do and clarity on how to go about it.
Much appreciatedwill spend some time now getting my head around it.
Thanks so much.
- Matthew Polack
Matthew Polack | Teacher
[image: Emailbanner3.png
Hi,
Steadily trying to learn Python and Tkinter here with our students...
Am working on a simple 'Price of Cereal Crop' calculatorand have made a
start with the code below...
I'm trying to simply add an image to our program to make the GUI more
interesting...but most of the tutorials
= num1 * 2.54
TypeError: can't multiply sequence by non-int of type 'float'
Matthew Polack | Teacher
[image: Emailbanner3.png]
Trinity Drive | PO Box 822
Horsham Victoria 3402
p. 03 5382 2529 m. 0402456854
e. matthew.pol...@htlc.vic.edu.au
w. www.htlc.vic.edu.au
--
**Disclaimer:
22 matches
Mail list logo