Re: [Tutor] easygui

2017-08-29 Thread Peter Otten
Alex Kleider wrote: > On 2017-08-27 07:18, Mats Wichmann wrote: >> >> >> or perhaps less intuitively, stick a first line in it to tell the >> system >> to have Python run it, so your script looks like this (there are >> possible variants on that magic first line, but this one should work >> whic

Re: [Tutor] easygui

2017-08-28 Thread Alex Kleider
On 2017-08-27 07:18, Mats Wichmann wrote: or perhaps less intuitively, stick a first line in it to tell the system to have Python run it, so your script looks like this (there are possible variants on that magic first line, but this one should work whichever your platform is, as long as it is

Re: [Tutor] easygui

2017-08-28 Thread eric
On 08/26/2017 07:07 PM, George Sconyers via Tutor wrote: Hello all. Need some help with easygui which my son is trying to run for a book he is working in. Using Python 2.7 we downloaded easygui and put it in an executable path. Code is:import easyguieasygui.msgbox("Hello there") No popup occurs

Re: [Tutor] easygui

2017-08-27 Thread Mats Wichmann
On 08/27/2017 02:14 AM, Alan Gauld via Tutor wrote: > On 27/08/17 03:07, George Sconyers via Tutor wrote: >> Hello all. Need some help with easygui which my son is trying to run for a >> book he is working in. > > I'm not sure what the current status of easygui is, I read > somewhere that it had

Re: [Tutor] easygui

2017-08-27 Thread Alan Gauld via Tutor
On 27/08/17 03:07, George Sconyers via Tutor wrote: > Hello all. Need some help with easygui which my son is trying to run for a > book he is working in. I'm not sure what the current status of easygui is, I read somewhere that it had been discontinued. But if you are still finding a download for

[Tutor] easygui

2017-08-27 Thread George Sconyers via Tutor
Hello all. Need some help with easygui which my son is trying to run for a book he is working in. Using Python 2.7 we downloaded easygui and put it in an executable path.  Code is:import easyguieasygui.msgbox("Hello there") No popup occurs, cusor changes to a cross and no longer process mouse cli

Re: [Tutor] easygui question, again

2007-06-11 Thread Kent Johnson
Adam Urbas wrote: > Where did you get this easygui thing you are trying to install. Is it > the thing that says Compiled Python File? If so I have it. I've > kinda been following your little chat here about it. I want to see if > I could do it. Google 'python easygui' You probably want the .p

Re: [Tutor] easygui question, again

2007-06-11 Thread Adam Urbas
Where did you get this easygui thing you are trying to install. Is it the thing that says Compiled Python File? If so I have it. I've kinda been following your little chat here about it. I want to see if I could do it. On 6/11/07, Kent Johnson <[EMAIL PROTECTED]> wrote: > Alan Gauld wrote: > >

Re: [Tutor] easygui question, again

2007-06-11 Thread Kent Johnson
Alan Gauld wrote: > "Rafael Bejarano" <[EMAIL PROTECTED]> wrote > >> that it would be a relatively simple matter to import the easygui >> module and call its functions using the terminal window, especially >> given that I have had success in the past importing other modules >> and >> calling thei

Re: [Tutor] easygui question, again

2007-06-11 Thread Thorsten Kampe
* Rafael Bejarano (Sun, 10 Jun 2007 20:49:40 -0500) > As I understand it from the description of this list, that is exactly > its purpose--to help people who no relatively little python. That's correct. But your problem (or the solution to your problem) is more related to _Operating System_ bas

Re: [Tutor] easygui question, again

2007-06-11 Thread Alan Gauld
"Rafael Bejarano" <[EMAIL PROTECTED]> wrote > As I understand it from the description of this list, that is > exactly > its purpose--to help people who no relatively little python. That's true, but usually the folks asking questions are fairly expert at using their computers so they are familiar

Re: [Tutor] easygui question, again

2007-06-11 Thread Alan Gauld
"Rafael Bejarano" <[EMAIL PROTECTED]> wrote > that it would be a relatively simple matter to import the easygui > module and call its functions using the terminal window, especially > given that I have had success in the past importing other modules > and > calling their functions. I suspect th

Re: [Tutor] easygui question, again

2007-06-10 Thread Rafael Bejarano
As I understand it from the description of this list, that is exactly its purpose--to help people who no relatively little python. As it happens, I have been moderately successful in running other modules, so I think it is not inappropriate for me to have posted the questions that I have po

Re: [Tutor] easygui question, again

2007-06-10 Thread Thorsten Kampe
* Rafael Bejarano (Sun, 10 Jun 2007 19:35:32 -0500) > On Jun 10, 2007, at 5:00 PM, Thorsten Kampe wrote: > > It would really make sense if you learn a bit of the basics before you > > start doing the advanced stuff like (Python) programming... > > What do you mean by "a bit of the basics?" Well,

Re: [Tutor] easygui question, again

2007-06-10 Thread Rafael Bejarano
Thanks for the suggestion. I think it is a good idea to learn unix for the Mac, and I definitely plan to do that. I thought, though, that it would be a relatively simple matter to import the easygui module and call its functions using the terminal window, especially given that I have had su

Re: [Tutor] easygui question, again

2007-06-10 Thread Rafael Bejarano
On Jun 10, 2007, at 5:00 PM, Thorsten Kampe wrote: > > It would really make sense if you learn a bit of the basics before you > start doing the advanced stuff like (Python) programming... What do you mean by "a bit of the basics?" Rafael > > ___ > Tuto

Re: [Tutor] easygui question, again

2007-06-10 Thread Joel Levine
Suggestion: Consider Unix for Mac Wiley Publishing & maranGraphics. also Python Programming for the absolute beginner by Michael Dawson ... and don't be offended if it looks too simple. The problem with 'beginning' a computer language is that few people agree where the beginning is. We com

Re: [Tutor] easygui question, again

2007-06-10 Thread Kent Johnson
Rafael Bejarano wrote: > On Jun 10, 2007, at 9:20 AM, Alan Gauld wrote: >> Type, on one line: >> >> cd '/Volumes/UNTITLED/Programming stuff/My python stuff/' > > I copied the above line from your e-mail and pasted it into the > terminal window. When I hit enter, I got the following output: >

Re: [Tutor] easygui question, again

2007-06-10 Thread Thorsten Kampe
* Rafael Bejarano (Sun, 10 Jun 2007 02:24:56 -0500) > On Jun 9, 2007, at 5:26 AM, Kent Johnson wrote: > > You could try running the easygui demo - just type > > python easygui.py > > on the command line from the directory containing easygui. > > At your convenience, please explain the above statem

Re: [Tutor] easygui question, again

2007-06-10 Thread Rafael Bejarano
On Jun 10, 2007, at 9:20 AM, Alan Gauld wrote: > > Type, on one line: > > cd '/Volumes/UNTITLED/Programming stuff/My python stuff/' I copied the above line from your e-mail and pasted it into the terminal window. When I hit enter, I got the following output: Last login: Sun Jun 10 16:09:10 o

Re: [Tutor] easygui question, again

2007-06-10 Thread Rafael Bejarano
Okay. I typed the following two lines cd '/Volumes/UNTITLED/Programming stuff/My python stuff/ python codetester.py This is the output I got: Last login: Sun Jun 10 15:44:42 on ttyp1 Welcome to Darwin! rafael-bejaranos-ibook-g4:~ Rafael$ cd '/Volumes/UNTITLED/ Programming stuff/My python st

Re: [Tutor] easygui question, again

2007-06-10 Thread Kent Johnson
Rafael Bejarano wrote: > On Jun 10, 2007, at 2:48 AM, Alan Gauld wrote: >> How/where did you install easygui.py? > > I installed it by copying easygui.py from the downloaded folder, > which was on my desktop, into the folder in which the test program is > stored. Was that not okay? That shoul

Re: [Tutor] easygui question, again

2007-06-10 Thread Rafael Bejarano
On Jun 10, 2007, at 2:48 AM, Alan Gauld wrote: > > How/where did you install easygui.py? I installed it by copying easygui.py from the downloaded folder, which was on my desktop, into the folder in which the test program is stored. Was that not okay? > Does the easygui test program run OK? >

Re: [Tutor] easygui question, again

2007-06-10 Thread Alan Gauld
"Rafael Bejarano" <[EMAIL PROTECTED]> wrote >> You could try running the easygui demo - just type >> python easygui.py >> on the command line from the directory containing easygui. > > At your convenience, please explain the above statement. I don't > know > what "from the command line" means.

Re: [Tutor] easygui question, again

2007-06-10 Thread Alan Gauld
"Rafael Bejarano" <[EMAIL PROTECTED]> wrote > On Jun 10, 2007, at 2:22 AM, Alan Gauld wrote: >> >> open a terminal window and go >> to the directory with your python file and type >> >> python codetester.py > > Please advise me as to how to go to the directory containing the > python file from

Re: [Tutor] easygui question, again

2007-06-10 Thread Alan Gauld
"Rafael Bejarano" <[EMAIL PROTECTED]> wrote > Thanks for reminding me to post my code. Here it is. > > #easygui test program > import easygui > import sys > msg = "What do you prefer?" > choices = ["$50.00 now", "$100.00 in 6 months"] > choice = easygui.buttonbox(msg, "", choices) > print choice

Re: [Tutor] easygui question, again

2007-06-10 Thread Rafael Bejarano
On Jun 10, 2007, at 2:22 AM, Alan Gauld wrote: > > open a terminal window and go > to the directory with your python file and type > > python codetester.py Please advise me as to how to go to the directory containing the python file from within the terminal window. Thanks. Rafael

Re: [Tutor] easygui question, again

2007-06-10 Thread Rafael Bejarano
On Jun 9, 2007, at 5:26 AM, Kent Johnson wrote: > > You could try running the easygui demo - just type > python easygui.py > on the command line from the directory containing easygui. At your convenience, please explain the above statement. I don't know what "from the command line" means. Rafa

Re: [Tutor] easygui question, again

2007-06-10 Thread Alan Gauld
"Rafael Bejarano" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >I wrote the script in the Smultron test editor. To open it, I've > first been selecting it and then selecting python launcher from the > "Open with" submenu, whicch is under the "Open" menu. Opening the > script file i

Re: [Tutor] easygui question, again

2007-06-09 Thread Rafael Bejarano
I wrote the script in the Smultron test editor. To open it, I've first been selecting it and then selecting python launcher from the "Open with" submenu, whicch is under the "Open" menu. Opening the script file in this way brings up the terminal window. Here is the output I get. Last login

Re: [Tutor] easygui question, again

2007-06-09 Thread Rafael Bejarano
Thanks for reminding me to post my code. Here it is. #easygui test program import easygui import sys msg = "What do you prefer?" choices = ["$50.00 now", "$100.00 in 6 months"] choice = easygui.buttonbox(msg, "", choices) print choice On Jun 9, 2007, at 2:28 AM, Alan Gauld wrote: > > "Rafael Bej

Re: [Tutor] easygui question, again

2007-06-09 Thread Kent Johnson
Alan Gauld wrote: > "Rafael Bejarano" <[EMAIL PROTECTED]> wrote > >> this list, one should re-post a question that has not been >> adequately >> addressed in a day or so since the first post. As this is my >> situation, I would like to ask once more for your assistance > > I thought we were wait

Re: [Tutor] easygui question, again

2007-06-09 Thread Alan Gauld
"Rafael Bejarano" <[EMAIL PROTECTED]> wrote > this list, one should re-post a question that has not been > adequately > addressed in a day or so since the first post. As this is my > situation, I would like to ask once more for your assistance I thought we were waiting for you to post your code

[Tutor] easygui question, again

2007-06-08 Thread Rafael Bejarano
Hello, According to the instructions that I received when I subscribed to this list, one should re-post a question that has not been adequately addressed in a day or so since the first post. As this is my situation, I would like to ask once more for your assistance with easygui, which is s