Комментарии:
It is very easy way to understand. Way better than my udemy course.
ОтветитьOutput string is not defined is ruining my life. Who else is having this recurring problem. It’s infuriating. I’m using PyCharm and I think the way the modules are employed is different from Sublime. Tips
ОтветитьStop-watch part, time module is not working on my pycharm, with PySimpleGUI, what to do?
ОтветитьNice video but what are your sublime text packages ?
ОтветитьSorry for my question, I am a very beginner, and I am not sure where I should start, is it a terminal window ? or a python window? or what ? I am looking forward to start it as soon as I now where I should start typing the code.
ОтветитьCan you update the pastebin?
ОтветитьGreat tutorial
ОтветитьPlease make open cv tutoriol
ОтветитьThis is no doubt THE BEST tutorial for beginners! From Scratch WOW
ОтветитьGreat tutorial
ОтветитьHow to convert pygame code into apk
ОтветитьI have just enrolled in your Udemy course, I truly can not understand how you can have such organisational ability in your teaching! Very impressive.
ОтветитьFantastic, really excellent. I haven't had so much fun with a follow-along in years! Thank you!
Ответить"import PySimpleGUI as sg":
my vscode defaulted py as the shortcut for PySimpleGUI
Thanks a lot ,,,, Super nice and clear
ОтветитьEsperamos un tutor con Qt que es mas avanzado
ОтветитьI'm just researching to decide on which python gui to put effort into to get started with. You mentioned that PySimplegui is wrapped around others such as Tkinter and qt....... would it be more beneficial to learn those first?
ОтветитьVery nice video. You could add a little more code in the stop watch since at the moment the lap function does not really create "Lap Times". It just stores the current value for the overall elapsed time. For example if the first Lap is 2 seconds long the the second one is one second long this would show: Lap 1: 2; Lap 2: 3 instead of Lap 1: 2; Lap 2: 1
ОтветитьI KEEP GETTING SO MUSCH FREAKING ADSS😡😡😡😡😡🤬🤬🤬🤬🤬😠😠😠😠😠😡
Ответитьspyder doesn`t like syntax "match values['-UNITS-']:" . Anyone having the same problem?
Ответитьah what a nice tutorial!
wait what its 4 hours
My Visual Studio code won't open the program window why is that??? Can someone help me please!?
Ответитьfor calculator I find lots of bugs i made three main function that UI can call them this approach I have not had a bug
def button_press(num):
global equation_text
equation_text = equation_text + str(num)
equation_label.set(equation_text)
pass
def equals():
global equation_text
try:
total = str(eval(equation_text))
equation_label.set(total)
equation_text = total
except SyntaxError:
equation_label.set("Syntax Is Invalid")
equation_text = ""
except ZeroDivisionError:
equation_label.set("Devided By Zero")
equation_text = ""
def clear():
global equation_text
equation_label.set("")
equation_text = ""
the calculator has lots of bug i solve some of them but still i need to prevent two operation ( pop one item if full_operation[-2] in operations ) that needs to be done but the enter got to change to
if event == 'Enter':
full_operation.append(''.join(current_num))
result = eval(' '.join(full_operation))
window['-TEXT-'].update(result)
current_num=[]
current_num.append(str(result))
print(full_operation)
print(current_num)
full_operation = []
This is amazing!
ОтветитьAdd a line to the else: of converter to clear the INPUT
window['-INPUT-'].update(' ')
my contribution to the 1st app
Its high time to revisit this amazing series in the perspective of Flet ! Thank you !
Ответитьfor the converter example, while running the code
"match values['-UNITS-']:"
it is throwing me an error, stating invalid syntax.
hey, can we share the app with someone without displaying the code to them?
Ответитьfor stopwatch part if you dont want to close and make new window you can try this:
if event == 'Start':
if active:
# from active to stop
active = False
window['Start'].update('Reset')
window['Lap'].update(visible = False)
else:
# from stop to reset
if start_time > 0:
window['TEXT'].update('Time')
window['Start'].update('Reset')
window['Start'].update('Start')
start_time = 0
# from start to active
else:
start_time = time()
active = True
window['Start'].update('Stop')
window['Lap'].update(visible = True)
if active:
elapsed_time = round(time() - start_time,1)
window['TEXT'].update(elapsed_time)
why does my "match" statement doesn't work?
Ответитьthanks for great and clear explaination.very helpful to understand the logic using PysimpleGUI.
ОтветитьHi! I don't know if you reply or not, but i have a question. I'm developing an app that will help me calculate the dimension of components, and i noticed that if i lay it down like the first demonstration and i put in negative numerical values it recognizes them as string values, not numerical values. I managed to work around it without implementing the numerical check but i want to have a safer insertion. Is there a workaround?
ОтветитьGraphApp, this is not working: fig = matplotlib.figure.Figure(figsize = (5,4)). Had to use this instead (from pyplot): fig = plt.figure(figsize = (5,4)). I don't know if this is system related issue but "figure" is not an attribute of matplotlib... Just FYI :)
Ответитьjust thank you! .... YES, its' CLEAR CODE
ОтветитьThanks
Ответитьthis is great. i combine this tutorial and another python Text to speech tutorial and made a TexT reader for myself. Great Thanks
ОтветитьInteresting and helpful tutorial! As well as a perfect explanation! Thank you!
ОтветитьI'm having problems with installing tkinter. I type in the cmd 'pip install PySimpleGUI' as instructed and when I try to import it, I get an error saying tkinter is not installed. I try pip installing tkinter and all I get is an error message. Any idea whats wrong?
ОтветитьI see what they were going for with pysimplegui but I think tkinter is simpler actually ... Am the only one that thinks so ?
Ответить