Create portable python2 with mechanize

This will create portable version of python2 together with mechanize module.
Later you can call python.exe with python program.
Finally this will let you embed python code in windows batch file. Kind of.

Download portable python installer at http://portablepython.com/
Download mechanize module at https://pypi.org/project/mechanize/
or use file in just the file in tutorial
https://files.pythonhosted.org/packages/ca/fd/edbcc1abd5bbfc0e19fb3a8d3eebfd11d7d1ce9c8f24c0f54e8db09956b3/mechanize-0.2.5.zip
a497ad4e875f7506ffcf8ad3ada4c2fc
541a840abe38d11a9c3c796c4173f14fd24b45f7

Install just the core files from Python portable installer:
From mechanize-0.2.5.zip archive select only mechanize directory
and extract it to Lib\site-packages in python portable directory

Here is the result
https://drive.google.com/uc?export=download&id=0BxmEiwnrWfmmSkRuSDdPNnpGY28

No comments: