Re: print 'hello' -> SyntaxError: invalid syntax

2008-02-08 Thread ValdezDE
On Feb 7, 10:21 pm, ajaksu <[EMAIL PROTECTED]> wrote:
> On Feb 7, 12:52 pm, [EMAIL PROTECTED] wrote:
>
> > I try to install Python in a Dell D620 with XP PRO  version 5.1.2600
> > and I am getting this error. I assume that some dlls are missing but I
> > installed form a fresh python-2.5.1.msi without errors msg.
>
> > Thanks
>
> > Roberto
>
> What is the install path? And what is your locale?
>
> What happens if you type "Ctrl + m" instead of Return after your input?

Python is installed in c:\Python25 ans "ctr + m" produce the same
error msg as Return.

I did a new install and the problem is still there :-(

thanks

Roberto
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: print 'hello' -> SyntaxError: invalid syntax

2008-02-07 Thread ajaksu
On Feb 7, 12:52 pm, [EMAIL PROTECTED] wrote:
> I try to install Python in a Dell D620 with XP PRO  version 5.1.2600
> and I am getting this error. I assume that some dlls are missing but I
> installed form a fresh python-2.5.1.msi without errors msg.
>
> Thanks
>
> Roberto

What is the install path? And what is your locale?

What happens if you type "Ctrl + m" instead of Return after your input?
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: print 'hello' -> SyntaxError: invalid syntax

2008-02-07 Thread Jon "Fluffy" Saul
On Feb 7, 2008 8:52 AM,  <[EMAIL PROTECTED]> wrote:
> I try to install Python in a Dell D620 with XP PRO  version 5.1.2600
> and I am getting this error. I assume that some dlls are missing but I
> installed form a fresh python-2.5.1.msi without errors msg.
>
> Thanks
>
> Roberto
>

>
Sounds like a bad install.
Try reinstalling, or re-downloading the installer and reinstall. Try both even.

-- 
Push the envelope. Watch it bend.
-- 
http://mail.python.org/mailman/listinfo/python-list


print 'hello' -> SyntaxError: invalid syntax

2008-02-07 Thread ValdezDE
I try to install Python in a Dell D620 with XP PRO  version 5.1.2600
and I am getting this error. I assume that some dlls are missing but I
installed form a fresh python-2.5.1.msi without errors msg.

Thanks

Roberto

Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit
(Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import this
  File "", line 1
import this
   ^
SyntaxError: invalid syntax
>>> 2 + 2
  File "", line 1
2 + 2
     ^
SyntaxError: invalid syntax
>>> print 'Hello'
  File "", line 1
print 'Hello'
 ^
SyntaxError: invalid syntax
>>> help
  File "", line 1
help
^
SyntaxError: invalid syntax
>>>
-- 
http://mail.python.org/mailman/listinfo/python-list