I've seen other answers for this on Stack, but they aren't helping.
I have a Python 2.7 script that I need converted to work with Python 3. It seems like using 2to3 shouldn't be this difficult, but I can't figure it out. In the Windows command line, I try typing "python C:\Python27\Tools\Scripts\2to3.py (path to my file)" and it says "Invalid syntax" and has a little carrot pointing to the C in the first file path.
I also try opening the IDLE shell and typing "$ 2to3 (path to my script)", which also says "Invalid syntax" and highlights the $. So I get rid of the $ and try again, and then it highlights the "2to3" with Invalid Syntax.
I've seen other answers as well, and none come even close to working. I feel like an idiot for not getting this. What am I missing? Can someone explain it like I'm five?
(I'm fairly new to programming, but I've been doing pretty well writing scripts in Python. I have no idea why THIS is the thing I'm struggling with.)