This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| !!! write spectra to fits | |
| @p:header | |
| !!! read in and select data | |
| file in class_022.smt | |
| set source "RhoOphE" | |
| set line "HTCOP" | |
| set telescope SMT-FQM-* | |
| find |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| wl = [(3, 'Fizz'), | |
| (5, 'Buzz'), | |
| (7, 'Qux')] | |
| for i in range(0, 101): | |
| print ''.join([w for n, w in wl if not i % n]) or i |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # encoding: utf-8 | |
| from os.path import splitext | |
| from argparse import ArgumentParser | |
| from markdown import markdown | |
| from weasyprint import HTML | |
| parser = ArgumentParser(description='Write a markdown file to PDF.') |
NewerOlder