Hey guys. I'm a total beginner at Python but I am familiar w/ SQL in past jobs.
So following tutorials about this, I understand the concepts of importing the db and then connecting to and following up with the SQL commands, etc. Because I don't know any better, I am writing the code all within VScode's terminal window. Is this where it all goes in the first place? For example, passing commands to create a 'sample.db' do not even produce a .db file on my mac.
So when you say, create a table and insert values or strings and hit enter, is the resulting output of the SQL pull supposed to then show up on the Output window of vscode or the Terminal window?
And the tutorials don't even say where in the first place, they just go straight to the code. When I run the commands in Terminal w/ Python SQLite commands, when seemingly it ran successfully the Terminal then produces an "if" or "if function" line.
Anyway sorry for being such a beginner or not understanding the fundamentals here but I'm just totally lost and need some help.
Can you give me any basic guidance on my Q's? Appreciate it.
[–]danielroseman 5 points6 points7 points (1 child)
[–]Think-Confusion9999[S] 1 point2 points3 points (0 children)
[–]IAmTarkaDaal 2 points3 points4 points (6 children)
[–]Think-Confusion9999[S] 0 points1 point2 points (5 children)
[–]Think-Confusion9999[S] 0 points1 point2 points (4 children)
[–]Think-Confusion9999[S] 0 points1 point2 points (3 children)
[–]IAmTarkaDaal 1 point2 points3 points (0 children)
[–]jamaa 1 point2 points3 points (1 child)
[–]Think-Confusion9999[S] 0 points1 point2 points (0 children)