title: how to make multiple database with sqlite
body: <p>I want to create multiple databases but I don't know how I can make it</p>
  <p>this is python code:</p>
  <pre><code>      # 1 - for import data in listbox
          def clear_item_list():
              items.delete(0, END)
          # 2 - for import data in listbox
          def fill_item_list(items):
              for item_ in items:
                  items.insert(END, item_)
          # 3 - for import data in listbox
          def item_list_view():
              clear_item_list()
              items = app.data_1.view()
              fill_item_list(items)
      
          # and that for placement data in entries
       def get_selected_row_item(event):
              global selected_item
              if len(items.curselection()) &gt; 0:
                  index = items.curselection()[0]
                  selected_item = items.get(index)[:]
                  item_name.delete(0, END)
                  item_name.insert(END, selected_item[1])
                  item_price.delete(0, END)
                  item_price.insert(END, selected_item[2])
      
      
      
      
          items.bind(&quot;&lt;&lt;ListboxSelect&gt;&gt;&quot;, get_selected_row_item)
  </code></pre>
  <p>This code is for making a table:</p>
  <pre><code>&quot;CREATE TABLE IF NOT EXISTS items (id INTEGER PRIMARY KEY , Namee VARCHAR , price INTEGER )&quot;
  </code></pre>
  <p>I don't have any idea this is my problem or not, because when I wanna use price, type that data is string and python raise this error:</p>
  <pre><code>Exception in Tkinter callback
  Traceback (most recent call last):
    File &quot;C:\Users\Green\AppData\Local\Programs\Python\Python39\lib\tkinter\__init__.py&quot;, line 1892, in __call__
      return self.func(*args)
    File &quot;D:\python\WindowsProject\app\manager\manager_sign_in.py&quot;, line 44, in back_to_main_manager
      main_screen()
  NameError: name 'main_screen' is not defined
  Exception in Tkinter callback
  Traceback (most recent call last):
    File &quot;C:\Users\Green\AppData\Local\Programs\Python\Python39\lib\tkinter\__init__.py&quot;, line 1892, in __call__
      return self.func(*args)
    File &quot;D:\python\WindowsProject\app\manager\sign.py&quot;, line 33, in back_to_main_mngr
      main_screen()
  NameError: name 'main_screen' is not defined
  Exception in Tkinter callback
  Traceback (most recent call last):
    File &quot;C:\Users\Green\AppData\Local\Programs\Python\Python39\lib\tkinter\__init__.py&quot;, line 1892, in __call__
      return self.func(*args)
    File &quot;D:\python\WindowsProject\app\main.py&quot;, line 33, in user_sign
      user_screen()
  NameError: name 'user_screen' is not defined
  Traceback (most recent call last):
    File &quot;D:\python\WindowsProject\app\main.py&quot;, line 4, in &lt;module&gt;
      from app.user.user_sign_in import *
    File &quot;D:\python\WindowsProject\app\user\user_sign_in.py&quot;, line 240, in &lt;module&gt;
      user_screen()
    File &quot;D:\python\WindowsProject\app\user\user_sign_in.py&quot;, line 236, in user_screen
      item_list_view()
    File &quot;D:\python\WindowsProject\app\user\user_sign_in.py&quot;, line 55, in item_list_view
      fill_item_list(items)
    File &quot;D:\python\WindowsProject\app\user\user_sign_in.py&quot;, line 48, in fill_item_list
      items.insert(END, item_)
  TypeError: 'str' object cannot be interpreted as an integer
  </code></pre>
  <p>and this is input data:
  (1, 'pizza', '6')</p>
  <p>if you can help me pls say to I give you more data about that if you need</p>