[Tutor] Okay, this time I tried doing a little research but no luck in solving this one.
Dave Angel
d at davea.name
Fri Nov 11 02:47:43 CET 2011
On 11/10/2011 08:01 PM, Nathaniel Trujillo wrote:
> Okay, I typed into the command line of version 2.7.2, python -c "import
> sys; print sys.version". I tried it with and without the quotes. I tried
> copying the error messages from the command line but it wouldn't let me so
> I copied them from the python shell instead.
>
> here is what I got after typing it in with the quotes
>
> SyntaxError: invalid syntax
>
> and I got the same exact message when I typed it in without the quotes.
> This happened in both the command line and the shell.
>
> So that's what I got so far. Thanks for the help.
>
You're apparently on Windows.
You need to understand the difference between being at a cmd prompt,
being at the python interpreter, and maybe being in whatever shell
you're using.
You also need to be able to copy & paste from the cmd window (console
window, dos box, whatever). There are menu items that let you select a
rectangular section of the console box and copy it to the clipboard.
it's been too long for me to remember, but try right-click on the cmd
window.
Without pasting exactly what you're doing (and not just the error msg),
people are going to continue being frustrated.
--
DaveA
More information about the Tutor
mailing list