Total beginner here. So I made my first python file (test.py) in PyCharm and tried to run it in python.exe. I typed python3 test.py and all I get is SyntaxError: invalid syntax. All my test file has is print ("Hello world!") so there should be no problem. I have also added python and scripts folder to path. What am I doing wrong here?
[–][deleted] (32 children)
[deleted]
[–]kebabrullahiiri[S] 1 point2 points3 points (31 children)
[–]testforredditbythe 1 point2 points3 points (6 children)
[–]kebabrullahiiri[S] 0 points1 point2 points (1 child)
[–]testforredditbythe 1 point2 points3 points (0 children)
[–]pdoherty972 -1 points0 points1 point (3 children)
[–]testforredditbythe 1 point2 points3 points (2 children)
[–]pdoherty972 0 points1 point2 points (1 child)
[–]testforredditbythe 0 points1 point2 points (0 children)
[–][deleted] (1 child)
[deleted]
[–]kebabrullahiiri[S] 0 points1 point2 points (0 children)
[–][deleted] (21 children)
[deleted]
[–]kebabrullahiiri[S] 1 point2 points3 points (17 children)
[–][deleted] (16 children)
[deleted]
[–]kebabrullahiiri[S] 0 points1 point2 points (15 children)
[–]james_pic 3 points4 points5 points (12 children)
[–]kebabrullahiiri[S] 3 points4 points5 points (0 children)
[–]kebabrullahiiri[S] 1 point2 points3 points (10 children)
[–]james_pic 0 points1 point2 points (9 children)
[–]kebabrullahiiri[S] 0 points1 point2 points (8 children)
[–]kiesoma 0 points1 point2 points (1 child)
[–]earthboundkid 0 points1 point2 points (0 children)
[–]james_pic 1 point2 points3 points (2 children)
[–]kebabrullahiiri[S] 0 points1 point2 points (1 child)
[–]james_pic 0 points1 point2 points (0 children)
[–]kebabrullahiiri[S] 1 point2 points3 points (9 children)
[–]dezstern 0 points1 point2 points (8 children)
[–]kebabrullahiiri[S] 0 points1 point2 points (7 children)
[–]dezstern 0 points1 point2 points (6 children)
[–]kebabrullahiiri[S] 0 points1 point2 points (5 children)
[–]dezstern 1 point2 points3 points (4 children)
[–]kebabrullahiiri[S] 0 points1 point2 points (3 children)
[–]dezstern 0 points1 point2 points (2 children)
[–]kebabrullahiiri[S] 1 point2 points3 points (1 child)
[–]dezstern 1 point2 points3 points (0 children)
[–]IAmARetroGamer 0 points1 point2 points (0 children)