Jul-26-2017, 11:23 AM
I am trying to import libraries with .py extension by creating the following:
import osfiles = os.popen('dir *.py')fileit = iter(files)for file in files: print(file)
From this i get the following:
sh: dir: command not found
Any help would be great, cheers.
Sandy
import osfiles = os.popen('dir *.py')fileit = iter(files)for file in files: print(file)
From this i get the following:
sh: dir: command not found
Any help would be great, cheers.
Sandy