Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Capture Pyro Object
#1
Hi,

I have a script which on running creates a Pyro object. I need to capture the Pyro object created such that the process still keeps running.
Let's say there is a file abc.py. When I run this file in terminal, a Pyro object is created and the output is as follows:
Output:
PYRO:[email protected]:32819
And then I copy this pyro object manually where it is needed and keep this terminal as it is and continue other processes in new terminals. But I need to automate this such that when I run a Python script a Pyro object is created and is captured in a variable such that it can be used afterwards.

Has anyone come across this situation or knows how to do this?
Any help is appreciated.

Thanks in advance!!
Reply
#2
Maybe saving that Pyro object into a file?
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020