Hey guys ! its my first topic and I'm gonna start with a problem :) Im totally
beginner in Python and each time I try to run this program it gives me the
error down below:
http://imgur.com/ufUAMTs
I'm using Sublime Text, same problems occured in TextWrangler and in Vim too. I
tried python3 pyt
On Fri, Sep 13, 2013 at 1:43 AM, wrote:
> Hey guys ! its my first topic and I'm gonna start with a problem :) Im
> totally beginner in Python and each time I try to run this program it gives
> me the error down below:
>
> http://imgur.com/ufUAMTs
>
> I'm using Sublime Text, same problems occure
In
altugozger...@gmail.com writes:
> Hey guys ! its my first topic and I'm gonna start with a problem :) Im
> totally beginner in Python and each time I try to run this program it
> gives me the error down below:
> http://imgur.com/ufUAMTs
That error involves the previous program line, which y
On Wed, May 29, 2013 at 2:53 AM, Peter Otten <__pete...@web.de> wrote:
> Chris Angelico wrote:
>
>> On Wed, May 29, 2013 at 2:19 AM, Peter Otten <__pete...@web.de> wrote:
>>> Solution: configure your editor to use four spaces for indentation.
>>
>> ITYM eight spaces.
>
> I meant: one hit of the Tab
Chris Angelico wrote:
> On Wed, May 29, 2013 at 2:19 AM, Peter Otten <__pete...@web.de> wrote:
>> Solution: configure your editor to use four spaces for indentation.
>
> ITYM eight spaces.
I meant: one hit of the Tab key should add spaces up to the next multiple of
four. Which implies
> But t
On Wed, May 29, 2013 at 2:19 AM, Peter Otten <__pete...@web.de> wrote:
> Solution: configure your editor to use four spaces for indentation.
ITYM eight spaces. But the real solution is to not mix tabs and
spaces. Stick to one or the other and you're safe.
ChrisA
--
http://mail.python.org/mailman
JackM wrote:
> Having a problem getting a py script to execute. Got this error:
>
> File "/scripts/blockIPv4.py", line 19
> ip = line.split(';')[0]
> ^
> IndentationError: expected an indented block
>
>
> I'm perplexed bec
On Tue, 28 May 2013 11:32:06 -0400, JackM wrote:
> Having a problem getting a py script to execute. Got this error:
>
> File "/scripts/blockIPv4.py", line 19
> ip = line.split(';')[0]
> ^
> IndentationError: expected an indented block
>
>
On 05/28/2013 09:32 AM, JackM wrote:
> Having a problem getting a py script to execute. Got this error:
>
> File "/scripts/blockIPv4.py", line 19
> ip = line.split(';')[0]
> ^
> IndentationError: expected an indented block
> I'm perplexed
Having a problem getting a py script to execute. Got this error:
File "/scripts/blockIPv4.py", line 19
ip = line.split(';')[0]
^
IndentationError: expected an indented block
I'm perplexed because the code that the error refers to *is* indented:
with open(
Antonios Katsikadamos wrote:
> hi all. I am using python 2.4. I have to run an older python code and
> when i run it i get the following message
>
> IndentationError: expected an indented block.
>
> 1)what does this mean?
Just what it did the first time you asked. This is a
hi all. I am using python 2.4. I have to run an older python code and when i run it i get the following messageIndentationError: expected an indented block.1)what does this mean?2)how can i overcome this problemThanks for any advice.kind regards,Antonios
Sponsored LinkMortgage rates near
Please don't post HTML message bodies to a public forum.
Antonios Katsikadamos <[EMAIL PROTECTED]> writes:
> hi all. I am using python 2.4. I have to run an older python code
> and when i run it i get the following message
> IndentationError: expected an indented block.
>
;
> File "/home/antonis/db/access.py", line 119
> def DoCsubnet1 (action, subject, target,
> args): # DoC servers net ^
> IndentationError: expected an indented block
>
> 1) and I don't know what causes it. I would be
> grate full if you could
Antonios Katsikadamos wrote:
> hi all. I try to run an old python code and i get the following message
>
> File "/home/antonis/db/access.py", line 119
> def DoCsubnet1 (action, subject, target, args): # DoC
> servers net
> ^
> IndentationEr
hi all. I try to run an old python code and i get the following message File "/home/antonis/db/access.py", line 119 def DoCsubnet1 (action, subject, target, args): # DoC servers net ^ IndentationError: expected an indented block 1) and I don't know what cau
Antonios Katsikadamos пишет:
> hi all. I am using python 2.4. I have to run an older python code and when i
> run it i get the following message
>
> IndentationError: expected an indented block.
>
> 1)what does this mean?
http://www.python.org/doc/2.4.3/ref/indentation.h
hi all. I am using python 2.4. I have to run an older python code and when i run it i get the following messageIndentationError: expected an indented block.1)what does this mean?2)how can i overcome this problemThanks for any advice.kind regards,Antonios
Sponsored Link
Free Uniden 5.8GHz Phone
"Georg Brandl" <[EMAIL PROTECTED]> Wrote:
| [EMAIL PROTECTED] wrote:
| > Hendrik van Rooyen wrote:
| >> <[EMAIL PROTECTED]> Wrote:
| >>
| >>
| >> |
| >> | Haha. How can I fix this!
| >> |
| >> |
| >> |
| >>
| >> Use either tabs, or spaces, but not both
| >>
| >> - Hendrik
| >
| > Haha. I kn
[EMAIL PROTECTED] wrote:
> Hendrik van Rooyen wrote:
>> <[EMAIL PROTECTED]> Wrote:
>>
>>
>> |
>> | Haha. How can I fix this!
>> |
>> |
>> |
>>
>> Use either tabs, or spaces, but not both
>>
>> - Hendrik
>
> Haha. I know. I just find it silly that a language insists on
> indentation. I'd long k
Hendrik van Rooyen wrote:
> <[EMAIL PROTECTED]> Wrote:
>
>
> |
> | Haha. How can I fix this!
> |
> |
> |
>
> Use either tabs, or spaces, but not both
>
> - Hendrik
Haha. I know. I just find it silly that a language insists on
indentation. I'd long known it but just was reminded of it when I
m
<[EMAIL PROTECTED]> Wrote:
|
| Haha. How can I fix this!
|
|
|
Use either tabs, or spaces, but not both
- Hendrik
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
> Haha. How can I fix this!
Haha to you too. Position your cursor at the scene of the crime. Hit
the space-bar 4 times. Hit Ctrl-s. Try running it again.
If you would prefer a more sensible answer, you might like to ask a
more sensible question, which would include a cop
Haha. How can I fix this!
--
http://mail.python.org/mailman/listinfo/python-list
24 matches
Mail list logo