Commit 89d1fd8b authored by Mareš Martin's avatar Mareš Martin
Browse files

Úvod: Pojmenování, Makerules

parent 1277b069
all: x.pdf y.pdf
all: 01-uvod.pdf
%.pdf: %.md
pandoc -f markdown -t beamer $< -o $@
# Debugging output...
%.tex: %.md
pandoc -f markdown -t beamer $< -o $@ -s
y.pdf: y.tex
pdflatex $<
include ../Makerules
---
title: 'Programování 1: Úvod do Pythonu'
author: Martin Mareš
institute: Katedra aplikované matematiky MFF UK
date: ZS 2019
theme: Warsaw
toc: false
indent: true
header-includes: \setbeamerfont{title page}{family=\rmfamily}
---
# Jak si nainstalovat Python
- <http://www.python.org/>
- Python 3.x (pozor, ne 2.x)
- prostředí IDLE
- <https://www.jetbrains.com/pycharm/>
- mnohem pokročilejší vývojové prostředí
# Python jako kalkulačka
1+1
>>> 2
2+3*4+1
>>> 15
2+3 * 4+1
>>> 15
(2+3)*(4+1)
>>> 25
2**10
>>> 1024
2**100
>>> 1267650600228229401496703205376
# ZZZ
## Nadpis
aaa
bbb
ccc
bbb
aaa
# Druhý slajd
xyzzy
# Třetí slajd
export SHELL=/bin/bash
%.pdf: %.tex
pdflatex $<
clean::
rm -f *.{aux,log,nav,out,snm,toc,vrb}
rm -f *.pdf
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment