Advertisement
Guest User

Untitled

a guest
Apr 25th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. import pip
  2.  
  3.  
  4. def install(package):
  5. pip.main(['install', package])
  6.  
  7. def update(package):
  8. pip.main(['install', '--upgrade', package])
  9.  
  10.  
  11. if __name__ == '__main__':
  12. install('pymysql')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement