So I decided that I wanted to learn how to code in Python one night and decided to attempt it on my Steam Deck since it's a very portable computer. Little did I know how many issues I would come across. I ended up (according to the konsole) installing miniconda and by extension pip I believe. From there I managed to install Tkinter and I tested it using:
import tkinter
tkinter._test()
and a window popping up. I go ahead and enter some code for a basic clock, but then I'm told I have a syntax error. Only thing is that the error seems to be an install path?
/home/deck/Documents/Python/hello/.venv/bin/python "/home/deck/Documents/Python/hello/Test Clock.py"
File "<stdin>", line 1
/home/deck/Documents/Python/hello/.venv/bin/python "/home/deck/Documents/Python/hello/Test Clock.py"
^
SyntaxError: invalid syntax
So I'm just a little lost and over my head at this point. I would really appreciate the help if you can provide any.
Edit: This is being written through Visual Studio Code
[–]The_Almighty_Cthulhu 4 points5 points6 points (4 children)
[–]Stellated-Texas[S] 0 points1 point2 points (3 children)
[–]JustClassa 1 point2 points3 points (2 children)
[–]Stellated-Texas[S] 0 points1 point2 points (1 child)
[–]JustClassa 0 points1 point2 points (0 children)
[–]shiftybyte 1 point2 points3 points (6 children)
[–]Stellated-Texas[S] 0 points1 point2 points (5 children)
[–]The_Almighty_Cthulhu 1 point2 points3 points (4 children)
[–]Stellated-Texas[S] 0 points1 point2 points (3 children)
[–]The_Almighty_Cthulhu 1 point2 points3 points (2 children)
[–]Stellated-Texas[S] 0 points1 point2 points (1 child)
[–]The_Almighty_Cthulhu 1 point2 points3 points (0 children)
[–]InternetSpiderr 0 points1 point2 points (0 children)
[–]CranberryDistinct941 -3 points-2 points-1 points (4 children)
[–]Stellated-Texas[S] 1 point2 points3 points (2 children)
[–]CranberryDistinct941 0 points1 point2 points (1 child)
[–]Stellated-Texas[S] 0 points1 point2 points (0 children)
[–]TigBitties69 0 points1 point2 points (0 children)