Message365994
Hi Fernando,
the first parameter of the connect function is described in documentation as follows:
> database is a path-like object giving the pathname (absolute or relative to the current working directory) of the database file to be opened. You can use ":memory:" to open a database connection to a database that resides in RAM instead of on disk.
So, while it can be a bytes object, it's still would be a bytes object representing a file-path. It's not bytes object representing a file content of the database.
Hope that helps. |
|
Date |
User |
Action |
Args |
2020-04-08 17:43:28 | SilentGhost | set | recipients:
+ SilentGhost, ferferga |
2020-04-08 17:43:28 | SilentGhost | set | messageid: <1586367808.13.0.146544727183.issue40154@roundup.psfhosted.org> |
2020-04-08 17:43:28 | SilentGhost | link | issue40154 messages |
2020-04-08 17:43:27 | SilentGhost | create | |
|