We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b27ea7 commit a1543e0Copy full SHA for a1543e0
pscheck.py
@@ -19,7 +19,7 @@ def ps():
19
proginfo = string.split(output)
20
21
#display results
22
- print ("\n\)
+ print "\n\
23
Full path:\t\t", proginfo[5], "\n\
24
Owner:\t\t\t", proginfo[0], "\n\
25
Process ID:\t\t", proginfo[1], "\n\
@@ -32,7 +32,7 @@ def main():
32
if os.name == "posix": # Unix/Linux/MacOS/BSD/etc
33
ps() # Call the function
34
elif os.name in ("nt", "dos", "ce"): # if the OS is windows
35
- print ("You need to be on Linux or Unix to run this")
+ print "You need to be on Linux or Unix to run this"
36
37
38
if __name__ == '__main__':
0 commit comments