User Tools

Site Tools


python_commenting

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
python_commenting [2019/12/11 22:38] jrsetipython_commenting [2019/12/11 23:33] (current) jrseti
Line 1: Line 1:
 ======Python Commenting====== ======Python Commenting======
 +
 +Good example: https://sphinxcontrib-napoleon.readthedocs.io/en/latest/example_google.html
  
 ===Module Example, at top=== ===Module Example, at top===
  
 <code> <code>
 +#!/usr/bin/env python3
 +# -*- coding: utf-8 -*-
 +
 """Determine flux densities of sources based on Perley and Butler, 2016. """Determine flux densities of sources based on Perley and Butler, 2016.
 Using the method defined in Perley and Butler, 2016: Using the method defined in Perley and Butler, 2016:
python_commenting.1576103886.txt.gz · Last modified: 2019/12/11 22:38 by jrseti