Steven D'Aprano wrote:
> On Wed, Nov 27, 2013 at 09:45:20AM +0100, Peter Otten wrote:
>
>> I took the freedom to report it myself:
>>
>> http://bugs.python.org/issue19808
>
> Thanks for reporting the issue!
>
>
> [off-topic]
>
> You might like to know that the standard English idiom is "I to
> Does German have anything similar? (I presume you are German.)
Ich nehme mir die Freiheit. (present)
Ich habe mir die Freiheit genommen. (past)
And in Polish:
Pozwalam sobie. (present)
PozwoliĆem sobie. (past)
;-)
Cheers,
Raf
___
Tutor maillist
On Wed, Nov 27, 2013 at 09:45:20AM +0100, Peter Otten wrote:
> I took the freedom to report it myself:
>
> http://bugs.python.org/issue19808
Thanks for reporting the issue!
[off-topic]
You might like to know that the standard English idiom is "I took the
liberty" rather than "freedom".
In g
On 27/11/2013 08:45, Peter Otten wrote:
Rafael Knuth wrote:
simple issue I couldn't find a solution for:
YourName = input(str("What is your name?"))
print("Hello", YourName)
When executing the program, in case the user input is "for", "not",
"True", "while" Python interprets that as a command
Thank you, Peter!
On Wed, Nov 27, 2013 at 9:45 AM, Peter Otten <__pete...@web.de> wrote:
> Rafael Knuth wrote:
>
>> simple issue I couldn't find a solution for:
>>
>> YourName = input(str("What is your name?"))
>> print("Hello", YourName)
>>
>> When executing the program, in case the user input is
Rafael Knuth wrote:
> simple issue I couldn't find a solution for:
>
> YourName = input(str("What is your name?"))
> print("Hello", YourName)
>
> When executing the program, in case the user input is "for", "not",
> "True", "while" Python interprets that as a command and changes the
> input's co
On Tue, Nov 26, 2013 at 04:57:56PM +, Alan Gauld wrote:
> On 26/11/13 16:49, Peter Otten wrote:
>
> >>When executing the program, in case the user input is "for", "not",
> >>"True", "while" Python interprets that as a command and changes the
> >>input's color to the corresponding command.
> ..
On Tue, Nov 26, 2013 at 05:15:31PM +0100, Rafael Knuth wrote:
> Hej there,
>
> simple issue I couldn't find a solution for:
>
> YourName = input(str("What is your name?"))
> print("Hello", YourName)
>
> When executing the program, in case the user input is "for", "not",
> "True", "while" Python
Alan Gauld wrote:
> On 26/11/13 16:49, Peter Otten wrote:
>
>>> When executing the program, in case the user input is "for", "not",
>>> "True", "while" Python interprets that as a command and changes the
>>> input's color to the corresponding command.
> ...
>>
>> Are you running the program insid
> OK, That's what you'd expect in 3.3 because raw_input is now input().
>
> But in that case input() should not do anything with your input.
>
> Can you post a session showing the input and the odd behaviour?
YourName = input(str("What is your name ?"))
print("Hello", YourName)
Exemplary input &
On 26/11/13 16:49, Peter Otten wrote:
When executing the program, in case the user input is "for", "not",
"True", "while" Python interprets that as a command and changes the
input's color to the corresponding command.
...
Are you running the program inside idle? The (in this case unwanted) sy
Please always use ReplyAll to include the list.
> thanks - that's weird. I am using Python 3.3.0 and changed input() to
>raw_input() but I get an error message now:
>
>NameError: name 'raw_input' is not defined
OK, That's what you'd expect in 3.3 because raw_input is now input().
But in that c
Rafael Knuth wrote:
> Hej there,
>
> simple issue I couldn't find a solution for:
>
> YourName = input(str("What is your name?"))
> print("Hello", YourName)
>
> When executing the program, in case the user input is "for", "not",
> "True", "while" Python interprets that as a command and changes
On 26/11/13 16:15, Rafael Knuth wrote:
YourName = input(str("What is your name?"))
print("Hello", YourName)
When executing the program, in case the user input is "for", "not",
"True", "while" Python interprets that as a command
Sounds like you are using Python v2.
You need to yuse raw_input()
Hej there,
simple issue I couldn't find a solution for:
YourName = input(str("What is your name?"))
print("Hello", YourName)
When executing the program, in case the user input is "for", "not",
"True", "while" Python interprets that as a command and changes the
input's color to the corresponding
15 matches
Mail list logo