Skip to content
Snippets Groups Projects
Commit 89d1fd8b authored by Martin Mareš's avatar Martin Mareš
Browse files

Úvod: Pojmenování, Makerules

parent 1277b069
No related branches found
No related tags found
No related merge requests found
File moved
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment