Hi Jerry, On Fri, 28 Feb 2020 at 16:56, Jerry Spicklemire <jspicklem...@gmail.com> wrote: > exec code in self.locals > ^ > SyntaxError: Missing parentheses in call to 'exec'
This error comes from Python 3; it's not a syntax error in Python 2. When you're executing a Python file directly, it picks whatever Python interpreter is associated with .py files in your Windows. It doesn't matter that the .py file is inside a specific directory like PyPy27-32. In your case it is picking up either CPython 3.x or PyPy3.6, whichever is installed. To run a .py file with a specific version of Python, use a command like "c:\python\pypy27-32\pypy.exe c:\path\to\file.py". A bientôt, Armin. _______________________________________________ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev