Re: [Tutor] Help Noob Question

2014-03-27 Thread Alan Gauld
On 27/03/14 21:01, Chris “Kwpolska” Warrick wrote: On Mar 27, 2014 8:58 PM, "Alan Gauld" mailto:alan.ga...@btinternet.com>> wrote: > > On 27/03/14 06:43, Leo Nardo wrote: >> >> Im on windows 8 and i need to open a file called string1.py that is on >> my desktop, > > > Thats your first pro

Re: [Tutor] Understanding code line

2014-03-27 Thread Emile van Sebille
On 3/21/2014 3:40 PM, Steven D'Aprano wrote: a = b This assigns the value to b. So if b was 4, now a is also 4. Steven means 'assigns the value to a' here. For anyone looking down the line... ___ Tutor maillist - Tutor@python.org To uns

Re: [Tutor] Help Noob Question

2014-03-27 Thread Mark Lawrence
On 27/03/2014 19:56, Alan Gauld wrote: On 27/03/14 06:43, Leo Nardo wrote: Im on windows 8 and i need to open a file called string1.py that is on my desktop, Thats your first problem. Its usually a bad idea to store your python code on the desktop, because the desktop is a pain to find from a

Re: [Tutor] Help Noob Question

2014-03-27 Thread Chris “Kwpolska” Warrick
On Mar 27, 2014 8:58 PM, "Alan Gauld" wrote: > > On 27/03/14 06:43, Leo Nardo wrote: >> >> Im on windows 8 and i need to open a file called string1.py that is on >> my desktop, > > > Thats your first problem. Its usually a bad idea to store your python code on the desktop, because the desktop is a

Re: [Tutor] Help Noob Question

2014-03-27 Thread Alan Gauld
On 27/03/14 06:43, Leo Nardo wrote: Im on windows 8 and i need to open a file called string1.py that is on my desktop, Thats your first problem. Its usually a bad idea to store your python code on the desktop, because the desktop is a pain to find from a command line. Instead create a folde

Re: [Tutor] Help Noob Question

2014-03-27 Thread Dave Angel
Leo Nardo Wrote in message > > Im on windows 8 and i need to open a file called string1.py that is on my desktop, in both the interpreter and notepad++, so that i can work on it. I already have it open in notepad, but for the life of me cannot figure out how to open it in the interpreter. In

Re: [Tutor] Help Noob Question

2014-03-27 Thread Ben Finney
Leo Nardo writes: > Im on windows 8 and i need to open a file called string1.py that is on > my desktop, in both the interpreter and notepad++, so that i can work > on it. It's not clear what you want. What does it mean to you for a Python program to be “open in the interpreter”? You have opene

Re: [Tutor] Help Noob Question

2014-03-27 Thread Mark Lawrence
On 27/03/2014 08:55, David Palao wrote: Hello, What do you mean by "open it in the interpreter"? Do you want to open it and read from it its content? or do you want to execute its python code within the interpreter? Best 2014-03-27 7:43 GMT+01:00 Leo Nardo : Im on windows 8 and i need to open a

Re: [Tutor] 2 Very basic queries

2014-03-27 Thread Mark Lawrence
On 26/03/2014 16:54, Alan Gauld wrote: On 26/03/14 15:38, Mark Lawrence wrote: On 26/03/2014 01:26, Alan Gauld wrote: >>> if ph < 7.0: print(ph, "is acidic.") elif ph > 7.0: print(ph, "is basic.") in my IDLE. That's pretty ugly and I wish the IDLE guys would fix it but it's

Re: [Tutor] Help Noob Question

2014-03-27 Thread David Palao
Hello, What do you mean by "open it in the interpreter"? Do you want to open it and read from it its content? or do you want to execute its python code within the interpreter? Best 2014-03-27 7:43 GMT+01:00 Leo Nardo : > Im on windows 8 and i need to open a file called string1.py that is on my > d

[Tutor] Help Noob Question

2014-03-27 Thread Leo Nardo
Im on windows 8 and i need to open a file called string1.py that is on my desktop, in both the interpreter and notepad++, so that i can work on it. I already have it open in notepad, but for the life of me cannot figure out how to open it in the interpreter. Invalid syntax is the error message when