Python Forum
sqlite3 database does not save data across restarting the program
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
sqlite3 database does not save data across restarting the program
#2
Update: I believe the problem may lie in my long if statement failing, leading to all the tables being recreated. I'm going to look through it.

I've made the if statement the following: if table not in db_tables and it works now. For now, since I'm not going to be changing the columns, I'll leave my if statement at that.
Reply


Messages In This Thread
RE: sqlite3 database does not save data across restarting the program - by SheeppOSU - Jul-24-2020, 05:53 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Create SQLite3 database with peewee Jim53_1980 2 704 Dec-20-2023, 02:38 PM
Last Post: buran
  Regex replace in SQLite3 database WJSwan 1 820 Dec-04-2023, 05:55 PM
Last Post: Larz60+
  how to save to multiple locations during save cubangt 1 575 Oct-23-2023, 10:16 PM
Last Post: deanhystad
Question Using SQLAlchemy, prevent SQLite3 table update by multiple program instances Calab 3 779 Aug-09-2023, 05:51 PM
Last Post: Calab
  How do I properly implement restarting a multithreaded python application? MrFentazis 1 644 Jul-17-2023, 09:10 PM
Last Post: JamesSmith
  How to detect abnormal data in big database python vanphuht91 5 1,165 Jun-27-2023, 11:22 PM
Last Post: Skaperen
  Rows not adding to sqlite3 database using SQLAlchemy Calab 11 1,781 Jun-02-2023, 05:53 PM
Last Post: bowlofred
  Database that can compress a column, or all data, automatically? Calab 3 1,226 May-22-2023, 03:25 AM
Last Post: Calab
  Pymodbus read and save to database stewietopg 3 1,900 Mar-02-2023, 09:32 AM
Last Post: stewietopg
  data file for .exe program to access ose 2 1,209 Nov-23-2022, 08:02 PM
Last Post: snippsat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020