0

I am currently using the app hugin for some Panorama work. So lets say I have cd into a dir with a bunch on JPGS. using a script, I would like to open hugin and have the JPGs open inside it at once, without having to do that manually. I can get it to open hugin so far, but it doesn't seem to pick up the images in that dir. Please help me with this. (to clarify, I want it to pick up the JPGs just in the cd dir, I do not want it to search and levels up or below)

import os 

subprocess.call("hugin")

def openFile():
 os.system("hugin " = "*.JPG")
Salma Elshahawy
  • 1,112
  • 2
  • 11
  • 21

0 Answers0