User Profile

Collapse

Profile Sidebar

Collapse
cwggenius
cwggenius
Last Activity: Jun 22 '10, 01:06 AM
Joined: Jun 21 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • BVDET. Thank you for your reply...

    I am now getting :

    ./checkprocess2.p y
    Traceback (most recent call last):
    File "./checkprocess2.p y", line 13, in <module>
    status = false
    NameError: name 'false' is not defined

    ...still a bit confused.
    See more | Go to post

    Leave a comment:


  • cwggenius
    started a topic IndentationError: expected an indented block

    IndentationError: expected an indented block

    Getting the following error. But I cannot figure out why. Could someone please alter my code and explain where I am going wrong?


    ./checkprocess2.p y
    File "./checkprocess2.p y", line 19
    else:
    ^
    IndentationErro r: expected an indented block

    Code:
    #!/usr/bin/python
    
    import sys
    import os
    import commands
    
    def state():
    ...
    See more | Go to post
No activity results to display
Show More
Working...