added python code for importing data into database