How to save the python script output as a variable in python -


how store python script output variable

my script output has following data on screen.

python3 office1.py success!! success:  {"ok":true,"id":"3afe26a36a329b1a8b98fcc805fd77c9","rev":"1-e2e221dbda9918f8e1adfef00c680383"} 

the id & rev showing id , revison values of cloudant db output.

i store variable , use hem in next json file.

any appreciated

thank you,


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -