[go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SyntaxError: invalid syntax (print("Progress: {:.1f}%".format(((index + 1) / len(pids))*100), end='\r')) #18

Open
KinG-InFeT opened this issue Nov 3, 2021 · 0 comments

Comments

@KinG-InFeT
Copy link
└─ $ ▶  php translate_python_to_php 
running [ /home/vluongo/Scaricati/py2php/py2php down.py > down.php ]
Traceback (most recent call last):
  File "/home/vluongo/Scaricati/py2php/py2php", line 1895, in <module>
    print translate(file_name, module_name),
  File "/home/vluongo/Scaricati/py2php/py2php", line 1725, in translate
    mod = compiler.parseFile(file_name)
  File "/usr/lib/python2.7/compiler/transformer.py", line 47, in parseFile
    return parse(src)
  File "/usr/lib/python2.7/compiler/transformer.py", line 51, in parse
    return Transformer().parsesuite(buf)
  File "/usr/lib/python2.7/compiler/transformer.py", line 128, in parsesuite
    return self.transform(parser.suite(text))
  File "<string>", line 130
    print("Progress: {:.1f}%".format(((index + 1) / len(pids))*100), end='\r')
                                                                        ^
SyntaxError: invalid syntax
failed!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant