Results 1 to 1 of 1

Thread: Quickly. Display sqlite3 inside treeview or component like this.

  1. #1
    Join Date
    Dec 2012
    Beans
    4

    Cool Quickly. Display sqlite3 inside treeview or component like this.

    Sorry for so stupid question, I'm a noob in Ubuntu(and Linux at all, but not Windows) programming. I desided to use Quickly. So, I need to display sqlite3 DB inside treeview or component like this.(To work with choosen element then). I found design to print BD in terminal:
    Code:
    with self.hardbase:
                cur = self.hardbase.cursor()
                cur.execute("SELECT * FROM HardTable") 
                while True:
                    row = cur.fetchone()
                    if row == None:
                        break
                    print row[0], row[1], row[2]
            cur.close()
    But, how to display it inside GTK GUI?
    I need it done in maybe an hour or I'll RIP
    Thanks a lot for your complete for noobies answers!
    Last edited by bogdannix; December 12th, 2012 at 09:41 AM.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •