LogFAQs > #957570636

LurkerFAQs, Active DB, DB1, DB2, DB3, DB4, DB5, DB6, DB7, Database 8 ( 02.18.2021-09-28-2021 ), DB9, DB10, DB11, DB12, Clear
Topic List
Page List: 1
TopicITT: Learning Python
SomeLikeItHoth
08/30/21 6:13:40 AM
#194:


Kept working on this Flask tutorial. The guy in the video reorganized his folders due to circular importing, so I did the same thing and copied / named everything perfectly. I deleted my database. I changed the working Python terminal directory to match my new folder. Everything was going smoothly. I created a new database, then I went to import the two classes. That worked too. Then I tried db.create_all(). That didn't work. Nothing worked after that. After spending 45 minutes looking for answers I decided fuck it. Remade a new folder, copied all my files over and reimported all the Flask modules and ran my main.py. Then I recreated the database and it finally worked. No idea what caused the problem since I didn't edit anything, but it's fine now. Also, last night the Class.query_all() command didn't work in the terminal but now it does and I'll be able to see my tables when I start adding them, so everything ended up working out.

1337toothbrush posted...
I started learning the basics of programming while screwing around with RPG Maker 2000 as a kid, but that was a purely point and click interface at the time. Then I picked more up through high school computer science classes and later on in university where I earned my degree in computer science (though for practical programming I learned it mostly through side projects in my spare time). I work as a software engineer, so I keep up to date with stuff.
What's your daily schedule like? I don't have a CS degree and I'm just self-teaching. I have no idea what I want to do with programming yet but I live in the Bay Area so I have a lot of options. I was thinking of continuing my teaching, try getting an entry level position somewhere and then go back to school for a new degree at the same time.

---
FAM FOREVER.
... Copied to Clipboard!
Topic List
Page List: 1