hg <[EMAIL PROTECTED]> writes:
> Hi,
>
> I'v been facing some very strange errors lately:
>
> one example:
>
> def __init__(self):
>
> import my_info
> some_text = my_info.T_SOME_TEXT
> ^ syntax error
>
>
> I manage to get rid of that
Georg Brandl wrote:
> Peter Otten schrieb:
>> A guess: you may have mixed Unix ("\n") and Windows ("\r\n") newlines.
>> Try to ensure that every line ends with "\r\n".
>
> That shouldn't be a problem since Python reads source files in universal
> newline mode.
Oops, I should have guessed /that/
Facundo Batista wrote:
> hg wrote:
>
>
>> I'v been facing some very strange errors lately:
>>
>> one example:
>
> You'll need to paste here the exact code and the traceback.
>
> Regards,
>
> --
> . Facundo
> .
> Blog: http://www.taniquetil.com.ar/plog/
> PyAr: http://www.python.org/ar/
Hi,
Peter Otten schrieb:
> hg wrote:
>
>> I'v been facing some very strange errors lately:
>>
>> one example:
>>
>> def __init__(self):
>>
>> import my_info
>> some_text = my_info.T_SOME_TEXT
>> ^ syntax error
>>
>>
>> I manage to get rid
hg wrote:
> I'v been facing some very strange errors lately:
>
> one example:
You'll need to paste here the exact code and the traceback.
Regards,
--
. Facundo
.
Blog: http://www.taniquetil.com.ar/plog/
PyAr: http://www.python.org/ar/
--
http://mail.python.org/mailman/listinfo/python-lis
>> I'v been facing some very strange errors lately:
>>
>> one example:
>>
>> def __init__(self):
>>
>> import my_info
>> some_text = my_info.T_SOME_TEXT
>>^ syntax error
>>
>> I manage to get rid of that
hg wrote:
> I'v been facing some very strange errors lately:
>
> one example:
>
> def __init__(self):
>
> import my_info
> some_text = my_info.T_SOME_TEXT
> ^ syntax error
>
>
> I manage to get rid of that one by moving the import on t
This might be stating the obvious, but have you detabbed your text,
if you are using spaces?
On 28/03/2007, at 8:18 PM, hg wrote:
> hg wrote:
>
>> Hi,
>>
>> I'v been facing some very strange errors lately:
>>
>> one example:
>>
>> def __init__(self):
>>
>> import my_info
>>
"hg" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
| I'v been facing some very strange errors lately:
| one example:
|
| def __init__(self):
|
|import my_info
|some_text = my_info.T_SOME_TEXT
| ^ syntax error
|
| I manage to
hg wrote:
> Hi,
>
> I'v been facing some very strange errors lately:
>
> one example:
>
> def __init__(self):
>
> import my_info
> some_text = my_info.T_SOME_TEXT
> ^ syntax error
>
>
> I manage to get rid of that one by moving the im
Hi,
I'v been facing some very strange errors lately:
one example:
def __init__(self):
import my_info
some_text = my_info.T_SOME_TEXT
^ syntax error
I manage to get rid of that one by moving the import on top of my file.
Note: Python 2
11 matches
Mail list logo