ZJULearning / pixel_link

Implementation of our paper 'PixelLink: Detecting Scene Text via Instance Segmentation' in AAAI2018
MIT License
767 stars 254 forks source link

Where is commands and subprocess? #145

Open blueclowd opened 5 years ago

blueclowd commented 5 years ago

Inside cmd.py:

def cmd(cmd): try: import commands return commands.getoutput(cmd) except: import subprocess return subprocess.check_output(cmd, shell = True)

return os.system(cmd)

May i know where is commands and subprocess??Thanks

blueclowd commented 5 years ago

Got it. Commands module is no longer exists in Python 3