Re: [Tutor] learning resources

2017-04-04 Thread Alan Gauld via Tutor
On 04/04/17 12:19, brian mituka wrote: > what are the best learning resources for a beginner in python... Look on Python.org and you will find a beginners page with many links. But... it will depend on whether you can already program in another language which beginners page you go to. I am, of co

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

2017-04-04 Thread Marc Tompkins
On Tue, Apr 4, 2017 at 9:55 AM, Lisa Hasler Waters wrote: > 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 yo

Re: [Tutor] Count for loops

2017-04-04 Thread Alan Gauld via Tutor
On 04/04/17 12:04, Rafael Knuth wrote: > Sarma: thank you so much, I checked your code, it works. However, can > you enlighten me what it exactly does? It just iterates over the PI string manually and compares the birth date with the first 4 PI string characters. It would probably be more pythoni

Re: [Tutor] Asking about Run python script at Startup

2017-04-04 Thread Alex Kleider
On 2017-04-02 21:34, Quang nguyen wrote: Hi guys, I do not know how to run my python 3 script after my PI2 finished startup. Have you looked here? : http://raspberrypi.stackexchange.com/questions/8734/execute-script-on-start-up ___ Tutor maillist

Re: [Tutor] Count for loops

2017-04-04 Thread Rafael Knuth
Sarma: thank you so much, I checked your code, it works. However, can you enlighten me what it exactly does? I do not understand it (yet). Thank you in advance. file_path = "C:/Users/Rafael/PythonCode/PiDigits.txt" with open (file_path) as a: b = a.read() get_year = input("What year were you

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

2017-04-04 Thread Sri Kavi
On Tue, Apr 4, 2017 at 10:25, Lisa Hasler Waters wrote: > 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 a

[Tutor] learning resources

2017-04-04 Thread brian mituka
what are the best learning resources for a beginner in python... I want to be able to write good code in ! month. Thanks.. ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tuto

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

2017-04-04 Thread Alan Gauld via Tutor
On 04/04/17 17:55, Lisa Hasler Waters wrote: > 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 bui

[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] Validating String contains IP address

2017-04-04 Thread Ed Manning
Thank you very much Sent from my iPhone > On Apr 3, 2017, at 7:04 PM, Martin A. Brown wrote: > > > Hello there, > >> what am I going wrong here? i need to validate this is an IP or ask >> the question again >> >> untrust_ip_address = raw_input('\nEnter the untrust IP ''"Example >> 172.20