4.0 Python drivers are not yet out, those are expected in Q2.
Current 1.7 Python bolt drivers will work with a 4.0 database, but will only connect to the default database, and have no way to specify a different database to connect to.
Also the :use
command is specific to the browser and cypher-shell applications, it's not valid Cypher on its own.