Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python
- # -*- coding: utf-8 -*-
- # // import native python packages
- import os
- import subprocess
- # // define function that will execute pip package installation
- def install(name):
- subprocess.call(['pip', '--proxy=cr-proxy.us.aegon.com:9090', 'install', '-U', name])
- # // install packages as desired
- install('dbfread')
- install('pandas')
- # // once packages are install, import them into your python script
- import dbfread
- import pandas as pd
Add Comment
Please, Sign In to add comment