Guest User

Untitled

a guest
Jun 18th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. global_var = none
  2. ...
  3. def some_function():
  4. p = subprocess.Popen(...,stdout=subprocess.PIPE, shell=True)
  5. global_var = p
  6.  
  7. def some_function_2():
  8. x = global_var.stdout
Add Comment
Please, Sign In to add comment