Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- prod.py:
- robo = None
- class Prod():
- def run()
- while True:
- self.action1()
- self.action2()
- def action1(self):
- robo.thing1()
- def action2(self):
- robo.thing2()
- main.py:
- import robot
- import prod
- robo = robot.Robot()
- production = prod.Prod()
- production.run()
- IPYthon.embed()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement