kill it by providing the process id.
Each subprocess will have its own process id. Check for that pid and kill it.
User Profile
Collapse
Profile Sidebar
Collapse
maya29988
Last Activity: May 2 '14, 11:40 AM
Joined: May 2 '14
Location:
-
if not <condition> in python is equal to if (!<condition>) in c.Leave a comment:
-
Code:from datetime import date d0 = date(2008, 8, 18) d1 = date(2008, 9, 26) delta = d0 - d1 print delta.days
Leave a comment:
-
You can use dictionaries for this
Code:d=dict() fp=open("file.txt") for i in fp: l=i.split()[0] if l in d: d[l] += 1 else: d[l] = 1 print d.items()Leave a comment:
-
-
You just need to call in this way "f.Area()" not like this "f.void Area()".
syntax should be object.<functio nName>Leave a comment:
-
is that going to infinite while loop even if you give N or n?Leave a comment:
No activity results to display
Show More
Leave a comment: