Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

sqlalchemy create engine SQLite Absolute

# Unix/Mac - 4 initial slashes in total
engine = create_engine('sqlite:////absolute/path/to/foo.db')

# Windows
engine = create_engine('sqlite:///C:path	ofoo.db')

# Windows alternative using raw string
engine = create_engine(r'sqlite:///C:path	ofoo.db')
Source by docs.sqlalchemy.org #
 
PREVIOUS NEXT
Tagged: #sqlalchemy #create #engine #SQLite #Absolute
ADD COMMENT
Topic
Name
2+8 =