顯示具有 python 標籤的文章。 顯示所有文章
顯示具有 python 標籤的文章。 顯示所有文章

2022年5月16日 星期一

python post data or json data

 good disc: https://stackoverflow.com/questions/9733638/how-to-post-json-data-with-python-requests

good disc2: https://stackoverflow.com/questions/26685248/difference-between-data-and-json-parameters-in-python-requests-package

good disc3: https://stackoverflow.com/questions/9733638/how-to-post-json-data-with-python-requests


office api: https://reqbin.com/code/python/m2g4va4a/python-requests-post-json-example

2016年10月7日 星期五

Python install package

*Open package management PIP install

You should install the pip :
 #download get-pip.py and exeic
py get-pip.py
Requirement already up-to-date: pip in c:\users\andychung\appdata\local\programs\python\python35-32\lib\site-packages

# check the pip tools
pip list
hexdump (3.3)
pip (8.1.2)
python-evtx (0.5.0)
setuptools (20.10.1)
simplejson (3.8.2)
six (1.10.0)
wheel (0.29.0)


Ref: https://packaging.python.org/installing/#use-pip-for-installing


*Self PACKAGE  install

 python setup.py install

example:
git clone https://github.com/williballenthin/python-evtx

Reference: https://packaging.python.org/distributing/#setup-py

2016年8月26日 星期五

Python 3.5 windows install

1. Download site  https://www.python.org/downloads/

2.  Install it and will in the
C:\Users\andychung\AppData\Local\Programs\Python\Python35-32

3. default python will launch by py
cmd
py some_script

InstallREference GOOD
https://docs.python.org/3/using/windows.html
https://docs.python.org/3.3/using/windows.html