database connection

Help
2010-12-29
2013-05-01
  • Robert Kamarowski

    i want to connect to a sqlite3 database.  i've read the documentation on connecting to sqlite3, but i'm not sure where to place the code: in the Frame source or the App source.

    thank you,
    bob k.

     
  • Werner F. Bruhin

    In my view that belongs into App.py, e.g. a method like ConnectDb and call it from OnInit and then in your frame you can do something like wx.GetApp().dbSession to get to it.

    Werner

     
  • Werner F. Bruhin

    You might want to look at SqlAlchemy if you do db stuff.

    Werner

     
  • Robert Kamarowski

    is there a component like a datagridview for displaying tables?

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks