Sql and python connection, help please and thank you

Hi everyone, new to coding and im trying to get my head around a few things so was wondering could you help me out, please dont be to harsh, everyone has to start somewere lol

Basically what i have to do is create a database in sqlite3 and then use python to edit the results of the sqlite 3 database but im having some trouble,

I have created the sqlite3 db and entered the information in manually and then is there a way to import the already made database file into python/terminal as im not sure if i have to use a csv text file with the command, for example (list the top 10 scores in order) or just a text file saying .py

or

do i have to start with python on terminal and then connect to sqlite3 first and enter the data in through python?