fork download
  1. import re
  2.  
  3. text = 'vagrant 11450 4344 0 Feb22 pts/2 00:00:28 python run.py abc'
  4. str = re.split(r':\d{2}:\d{2}\s+', text)[1]
  5.  
  6. print(str)
Success #stdin #stdout 0.04s 64380KB
stdin
Standard input is empty
stdout
python run.py abc