User Tools

Site Tools


other:python:jyp_steps

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
other:python:jyp_steps [2018/03/27 12:51]
jypeter Added lots of links
other:python:jyp_steps [2018/05/31 14:33]
jypeter Added json
Line 224: Line 224:
   * [[https://​stackoverflow.com/​questions/​26796997/​how-to-get-vertical-z-axis-in-3d-surface-plot-of-matplotlib|How to get vertical Z axis in 3D surface plot of Matplotlib?​]]   * [[https://​stackoverflow.com/​questions/​26796997/​how-to-get-vertical-z-axis-in-3d-surface-plot-of-matplotlib|How to get vertical Z axis in 3D surface plot of Matplotlib?​]]
  
 +===== json files =====
 +
 +More and more applications use //json files// as configuration files or as a mean to use text files to exchange data (through serialization/​deserialization ).
 +
 +//json// files look basically like a **list of (nested) python dictionaries** that would have been dumped to a text file
 +
 +  * [[https://​docs.python.org/​2/​library/​json.html|json module]] documentation
 +  * [[https://​realpython.com/​python-json/​|Working With JSON Data in Python]] tutorial
 +  * example script: ''/​home/​users/​jypeter/​CDAT/​Progs/​Devel/​beaugendre/​nc2json.py''​
 +  * A compact (not easy to read...) //json// file can be pretty-printed with\\ ''​cat file.json | python -m json.tool | less''​
 ===== Pandas ===== ===== Pandas =====
  
other/python/jyp_steps.txt · Last modified: 2024/03/07 10:15 by jypeter