[Tutor] invalid syntax error in Run Run Module

2016-02-17 Thread Lisa Hasler Waters
Dear Python Tutor List, We (my students and myself, the teacher -- all of us are new to Python & coding) keep getting an error message when we try to Run Run Module from IDLE. Here are the details: -We are using MacBooks, running OX 10.11, 64-bit -We have downloaded Python 3.5.1 -When we try to s

Re: [Tutor] invalid syntax error in Run Run Module

2016-02-18 Thread Lisa Hasler Waters
Alan Gauld wrote: > On 17/02/16 15:45, Lisa Hasler Waters wrote: > > > -When we try to select Run Run Module - we get the error message "invalid > > syntax," which points to the number 5 in Python 3.5.1 > > OK, that probably means you are trying to run the P

Re: [Tutor] invalid syntax error in Run Run Module

2016-02-18 Thread Lisa Hasler Waters
Brilliant! Thanks so much. Makes perfect sense. Onward and upward then! On Thu, Feb 18, 2016 at 1:16 PM, Alan Gauld wrote: > On 18/02/16 14:10, Lisa Hasler Waters wrote: > > Alan, > > > > Thank you so very much! This worked perfectly! > > > > Now, if you don&

[Tutor] Recommendations for best tool to write/run Python

2016-03-02 Thread Lisa Hasler Waters
Hello everyone, I am new to Python, as are my middle school students. We are using Python 3.5.1 IDLE to write and run our (simple) code. However, this tool does not seem to be the best way to write longer code or to be able to re-edit code that has been saved/closed/reopened. Eventually, we hope

Re: [Tutor] Recommendations for best tool to write/run Python

2016-03-02 Thread Lisa Hasler Waters
be up for the challenge! On Wed, Mar 2, 2016 at 1:58 PM, Ben Finney wrote: > Lisa Hasler Waters writes: > > > Could you please recommend the best Python tools for writing and > > running our code for the long term? > > How much of a learning curve are you willing to acc

Re: [Tutor] Recommendations for best tool to write/run Python :p:

2016-03-03 Thread Lisa Hasler Waters
Thanks to everyone for such great tips/advice! Lisa On Thu, Mar 3, 2016 at 6:02 AM, Alan Gauld wrote: > On 03/03/16 09:31, Thomas C. Hicks wrote: > > On 03/03/2016 02:26 AM, Lisa Hasler Waters wrote: > >> Could you please recommend the best Python tools for writing and run

Re: [Tutor] newbie in programming

2016-03-09 Thread Lisa Hasler Waters
Alan, Thanks for pointing us to your extensive, extremely useful website! So much good stuff in their! Many thanks, Lisa On Wed, Mar 9, 2016 at 3:33 AM, Alan Gauld wrote: > On 09/03/16 06:31, alireza sadeh seighalan wrote: > > > i am very newbie in programming. i want to start with Python. wou

[Tutor] Best tool for programming interactive games in Python

2016-03-29 Thread Lisa Hasler Waters
Hello All, I have a few students who are interested in creating interactive games in Python. We have learned how to use tkinter but we are looking for something more robust. I tried using pygame but cannot seem to get it initialized. I continually get this error: Traceback (most recent call last

Re: [Tutor] Best tool for programming interactive games in Python

2016-03-29 Thread Lisa Hasler Waters
18 PM, Bob Gailer wrote: > > On Mar 29, 2016 2:03 PM, "Lisa Hasler Waters" > wrote: > > > > I continually get this error: > > > > > > Traceback (most recent call last): > > File "/Users/lwaters/Desktop/pygameTest.py", l

Re: [Tutor] Best tool for programming interactive games in Python

2016-03-29 Thread Lisa Hasler Waters
Wonderful! Thanks Alan and Oscar. I will proceed with the various suggestions and hopefully will be successful. Thanks again so very much for all your support and help! Lisa On Tue, Mar 29, 2016 at 3:19 PM, Alan Gauld wrote: > On 29/03/16 19:03, Lisa Hasler Waters wrote: > > >

[Tutor] Revised question-Make an object disappear

2016-04-26 Thread Lisa Hasler Waters
Dear Tutors, I have a student who is creating a game in TKinter. He wants the ball (object) to disappear when it hits when it hits the wall. He continues to get a syntax error message when trying to print the coordinates (he was printing the coordinates because he wanted to use its output to use a

[Tutor] How to make object disappear?

2016-05-09 Thread Lisa Hasler Waters
Dear Tutor, My students and I are creating a maze game in tkinter. We are trying to make the ball disappear when it hits the wall (black lines). We are not having much luck. The following code has run the best, but still, the ball does not disappear. Any advice would be appreciated! from tkinter

Re: [Tutor] How to make object disappear?

2016-05-09 Thread Lisa Hasler Waters
Thank you all so much for your guidance! We will try these out during our next class and will hopefully find success. We can't thank you enough for your support! Best, Lisa and students On Mon, May 9, 2016 at 12:34 PM, Alan Gauld via Tutor wrote: > On 09/05/16 16:55, boB Stepp wrote: > > >> cla

[Tutor] Trying to use tkinter in Pycharm EDU

2017-02-08 Thread Lisa Hasler Waters
Hello, We have been able to get the turtle module in PycharmEDU by ending our code with turtle.done() However, we cannot get the tkinter module to actually run in PycharmEDU. For example, when we input the following very simple code we get a line in the console that reads "Process finished with

[Tutor] Resending question with smaller file

2017-02-13 Thread Lisa Hasler Waters
Hello Python Tutor, We are trying to use the random function in the Tkinter module in PyCharmEDU 3.5. (on Macs running 10.11.6). However, we get a number of error messages: Here's the code: from tkinter import * import random tk = Tk() canvas = Canvas(tk, width=400, height=400) canvas.pack()

[Tutor] Help with random in Tkinter

2017-02-13 Thread Lisa Hasler Waters
Hello Python Tutor, We are trying to use the random function in the Tkinter module in PyCharmEDU 3.5. However, we get a number of error messages (see screen shot): [image: Inline image 1] It runs fine when we use IDLE. But, we love PyCharmEDU as it is much more user-friendly and so we hope to r

[Tutor] How do we create a GUI to run a simple calculation program in Python?

2017-04-04 Thread Lisa Hasler Waters
Hello Tutor, A middle school student of mine created a program to calculate simple and compound interest. He built it in PyCharm EDU using a Mac running 10.11.6. He would like to create a GUI to run this program. Please, can you advise on how he could build this? Here is his code: def simple(m,

Re: [Tutor] How do we create a GUI to run a simple calculation program in Python?

2017-04-05 Thread Lisa Hasler Waters
Wonderful! Thank you all so very much for all this invaluable expertise. We have a lot of ways to make this work. We are excited to continue learning so much. Lisa On Tue, Apr 4, 2017 at 8:15 PM, Marc Tompkins wrote: > On Tue, Apr 4, 2017 at 9:55 AM, Lisa Hasler Waters > wrote: >