On Tue, Oct 22, 2013 at 9:42 PM, Oscar Benjamin
wrote:
> On Windows I use "git bash" which I think is just bash from msys. If
> you find yourself spending any time using cmd.exe you'll appreciate
> why. I also use console2 as the GUI part of the terminal.
Heh, me too. According to its title bar,
On 21 October 2013 21:47, Terry Reedy wrote:
> Manual says "-c
> Execute the Python code in command. command can be one or more
> statements separated by newlines, with significant leading whitespace as in
> normal module code."
>
> In Windows Command Prompt I get:
> C:\Programs\Python33>pyth
Terry Reedy wrote:
> Manual says "-c
> Execute the Python code in command. command can be one or more
> statements separated by newlines, with significant leading whitespace as
> in normal module code."
>
> In Windows Command Prompt I get:
> C:\Programs\Python33>python -c "a=1\nprint(a)"
>
On 10/21/2013 5:14 PM, random...@fastmail.us wrote:
On Mon, Oct 21, 2013, at 16:47, Terry Reedy wrote:
Manual says "-c
Execute the Python code in command. command can be one or more
statements separated by newlines, with significant leading whitespace as
in normal module code."
In Window
On 10/21/13 4:47 PM, Terry Reedy wrote:
Manual says "-c
Execute the Python code in command. command can be one or more
statements separated by newlines, with significant leading whitespace
as in normal module code."
In Windows Command Prompt I get:
C:\Programs\Python33>python -c "a=1\npr
On Tue, Oct 22, 2013 at 8:14 AM, wrote:
> C:\>python -c a=1^
> More?
> More? print(a)
> 1
Note that you have to hit enter *twice* for this to work. (I'm not
sure why; the caret is supposed to escape the newline, but that
doesn't explain this. For all I know, it could be an ascended bug[1].)
Also
On Mon, Oct 21, 2013, at 16:47, Terry Reedy wrote:
> Manual says "-c
> Execute the Python code in command. command can be one or more
> statements separated by newlines, with significant leading whitespace as
> in normal module code."
>
> In Windows Command Prompt I get:
> C:\Programs\Pyth
Manual says "-c
Execute the Python code in command. command can be one or more
statements separated by newlines, with significant leading whitespace as
in normal module code."
In Windows Command Prompt I get:
C:\Programs\Python33>python -c "a=1\nprint(a)"
File "", line 1
a=1\nprint(