Update from_pypi.py

minor corrections
Merge pull request #378 from ugurthemaster/master

Update from_pypi.py