I have a pthon script example.py
# !/usr/bin/python3 # -*- coding: utf-8 -*- class Foo(object): def __init__(self): self.name = "Script" def get_name(self): return self.name How to initialize a Foo object from a bash script and access its method? Both actions must be made from bash.