1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

[Python] sqlite3.ProgrammingError: Cannot operate on a closed database. e

Discussão em 'Python' iniciado por Stack, Setembro 11, 2025.

  1. Stack

    Stack Membro Participativo

    I created a file with a .db extension, and I'm just learning how to use it. The user should be able to add as much data as they want to this file and view the table via SQLite. I can add the data, but not all at once. First, I get the error in the screenshot. Then, when I try to enter the same data again, I can add it to the table. Why am I encountering this? How can I fix it?enter image description here

    Continue reading...

Compartilhe esta Página