Hi Dude . I ran the program successfully , but i observed that when we press OK button , box closes but in the Python IDE , the control does not return. I have to press Ctrl+F6.....to restart the IDE....
its saying syntax error on my show modal line, it matches perfectly, i checked 10 times, whats w that? check it out box=wx.TextEntryDialog(None, "Whats your name?", "Title", "default text" if box.ShowModal()==wx.ID__OK: <---heres were it says the syntax error is answer=box.GetValue()
its saying syntax error on my show modal line, it matches perfectly, i checked 10 times, whats w that? check it out box=wx.TextEntryDialog(None, "Whats your name?", "Title", "default text" if box.ShowModal()==wx.ID__OK: <---heres were it says the syntax error is answer=box.GetValue()
I'm using python 2.6 version. The MessageBox (when programmed with the None parameter) gives an error -- return _misc_.MessageBox(*args, **kwargs)
TypeError: String or Unicode type required.. If i remove the 'None', then MessageBox runs fine. In the TextEntryDialog however, as shown in this tutorial, I do need the None parameter. Without it, it will give error. So messagebox and TextEntryDialog do not seem to be running consistently for me.
OMG I thought I was the only one on Earth named "frefreqwfwe"!! I feel so relieved :D
marvelZzzz 1 day ago
Hi Dude . I ran the program successfully , but i observed that when we press OK button , box closes but in the Python IDE , the control does not return. I have to press Ctrl+F6.....to restart the IDE....
arindam31 3 months ago
how do you ask for multiple value? like First name contents and last name Content? @thenewboston
ThePyable 6 months ago
ma-d-ool
ThePyable 6 months ago
Comment removed
ThePyable 6 months ago
your tuts are short and awesome
ThePyable 6 months ago
MOOOH DAAWL
ecvsio 6 months ago
where does it stores?
ecvsio 6 months ago
@ecvsio in a variable
patchie2 3 months ago
modaal
teddakdag 6 months ago
This has been flagged as spam show
i thought you enjoy my channel
FinalCutKing 10 months ago
it was actually because i had only one peram,lol, its always some lame typo
csygates1 1 year ago
This has been flagged as spam show
its saying syntax error on my show modal line, it matches perfectly, i checked 10 times, whats w that? check it out box=wx.TextEntryDialog(None, "Whats your name?", "Title", "default text" if box.ShowModal()==wx.ID__OK: <---heres were it says the syntax error is answer=box.GetValue()
csygates1 1 year ago
its saying syntax error on my show modal line, it matches perfectly, i checked 10 times, whats w that? check it out box=wx.TextEntryDialog(None, "Whats your name?", "Title", "default text" if box.ShowModal()==wx.ID__OK: <---heres were it says the syntax error is answer=box.GetValue()
csygates1 1 year ago
@csygates1 you have two underscores at ID_OK that might have something to do with it im no expert
themooseatestuff 1 year ago
it's MOE-DAUL = modal
LOLDISNEYLAND 1 year ago
how can I have it save an integer?
WellConditionedChimp 1 year ago
GetValue() already handles the difference between OK and Cancel so there's no need to check it with an if statement.
dhaddox 1 year ago
complete noob question here but how can you create 2 entries for say a username and password and still pass the values if they click ok??
goonerjoe93 1 year ago
Man ... Please .... don't ever stop making python tutorials. Every nugget of information or idea or discussion ... make a 5-7 mins video.
See it as a kitchen table geek discussion with your fellow online nerds...
much appreciated.
raposa123 1 year ago
Modal is pronounced with a long 'O' like "Whoa", not like supermodel.
holzpusher 1 year ago 12
is there any way you could give more explanations for some of the stuff, cause i got some questions.
Vegeta101691 1 year ago
you probably need to do this. and by probably, i mean definitely. lol
pavkey88 1 year ago
you should say modal bro
elieobeid77 1 year ago
it's "EE-Co", not "Eye-Co" lololol sorry guys
harofire 1 year ago
I'm using python 2.6 version. The MessageBox (when programmed with the None parameter) gives an error -- return _misc_.MessageBox(*args, **kwargs)
TypeError: String or Unicode type required.. If i remove the 'None', then MessageBox runs fine. In the TextEntryDialog however, as shown in this tutorial, I do need the None parameter. Without it, it will give error. So messagebox and TextEntryDialog do not seem to be running consistently for me.
gaatutube 1 year ago
how would I make a int box? for the user to input a nummber
reaper4110 2 years ago
it's box.Show(Moedahl)
Phonetic for ShowModal above
Omnom18 2 years ago
Comment removed
GPianist 2 years ago
do you need something like "else box.Destroy()" to destroy the box?
hoyun 2 years ago
What's the maximum number of characters that the textbox can handle?
l0sts0ng 2 years ago
shit Bucky I gotta pause this tutorial.. my cat is meowing
hall0ween138 2 years ago 38
This has been flagged as spam show
model not modal
miviwi1999 2 years ago
Modal is right. Try box.ShowModal with box.ShowModel, it gives an error.
XarcZai 2 years ago