Re: [Tutor] Questions about the deprecation of standard library modules

2019-03-30 Thread Mats Wichmann
On March 30, 2019 9:13:16 PM MDT, boB Stepp wrote: >While reading in chapter 3 of "Learning Python, 5th ed." by Mark Lutz, >I was playing around with reload() in the imp module. In the >interpreter I did a "from imp import reload" and then help(reload). >This had a warning that it was deprecated.

[Tutor] Questions about the deprecation of standard library modules

2019-03-30 Thread boB Stepp
While reading in chapter 3 of "Learning Python, 5th ed." by Mark Lutz, I was playing around with reload() in the imp module. In the interpreter I did a "from imp import reload" and then help(reload). This had a warning that it was deprecated. After a search online I found that the entire imp libr

Re: [Tutor] Encrypting shipped sqlite db in app directory

2019-03-30 Thread Peter Otten
Ali M wrote: > I want to encrypt my sqlite databases which are shipped with the app in > it's directory, so that the user can't modify or use it elsewhere, and > they will only be accessible for the app to read from, how can i do that? Assuming you had an encrypted database, where would you put t

Re: [Tutor] Encrypting shipped sqlite db in app directory

2019-03-30 Thread Alan Gauld via Tutor
On 30/03/2019 07:22, Alan Gauld via Tutor wrote: > On 29/03/2019 18:01, Ali M wrote: >> I want to encrypt my sqlite databases which are shipped with the app in >> it's directory, so that the user can't modify or use it elsewhere, and they >> will only be accessible for the app to read from, how can

Re: [Tutor] Encrypting shipped sqlite db in app directory

2019-03-30 Thread Alan Gauld via Tutor
On 29/03/2019 18:01, Ali M wrote: > I want to encrypt my sqlite databases which are shipped with the app in > it's directory, so that the user can't modify or use it elsewhere, and they > will only be accessible for the app to read from, how can i do that? It all depends on how rigorous you want t