There is plenty we can do with strings, we have already seen .upper()
in
previous chapter.
>>> message = u"hello world"
>>> message.upper()
u'HELLO WORLD'
There is plenty we can do with strings, we have already seen .upper()
in
previous chapter.
>>> message = u"hello world"
>>> message.upper()
u'HELLO WORLD'
LATEX_OPTIONS=--latex-engine=xelatex --highlight-style pygments | |
BOOK_OPTIONS=--smart --chapters --toc | |
SAMPLE_OPTIONS=--smart --chapters | |
CONTENT=TITLE.txt *-*/*.md | |
SAMPLE=TITLE.txt 02-*/*.md | |
all: | |
pandoc ${BOOK_OPTIONS} ${LATEX_OPTIONS} ${CONTENT} -o Python4Devs.pdf | |
sample: | |
pandoc ${SAMPLE_OPTIONS} ${LATEX_OPTIONS} ${SAMPLE} -o Python4Devs-Ch1.pdf |