I would like to create multiple files with my own functions and store it as multiple script files. what is the best way to make it work. How do I call it from another python script?
For example I have the files a.py, b.py, c.py and x.py in the files a.py, b.py and c.py. I would like to use functions from the other imported files.
def a():
  print("Function a is called")
  print(c())
  return 1
b.py
def b():
  # Something
  print("function b is called.")
  return 2
c.py
def c():
  # de Something
  print("Function C is called.")
  print(b())
  return 3
print(a())
x.py
from a import *
from b import *
from c import *
print(a())
print(b())
print(c())
Thanks.
 
    