Jan-14-2019, 10:18 AM
Thanks. Not sure if it's the right way but I solved my issue by creating a local file point to the original located in a different folder as such:
#!/usr/bin/env python import sys sys.path.insert(0, '/home/pi/.') from gpio import ledsOn if __name__ == '__main__': n = int(sys.argv[1]) print(ledsOn(n))