Skip to content

Commit

Permalink
Synced
Browse files Browse the repository at this point in the history
  • Loading branch information
tisnik committed Oct 18, 2023
1 parent eb702cd commit 5c707a9
Showing 1 changed file with 53 additions and 3 deletions.
56 changes: 53 additions & 3 deletions docs/modern_python.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@
### Python a vývoj webových aplikací

* Brython
* Transcrypt
* PyScript
* Bokeh

---
Expand Down Expand Up @@ -188,6 +190,25 @@ print(f"Zpráva pro vás: '{x.capitalize()}'")

---

### Jednodušší ladění

```python
name = "Guido"
surname = "Rossum"

print(f"{name=} {surname=}")
```

[Zdrojový kód příkladu](https://github.com/tisnik/most-popular-python-libs/blob/master/modern_python/sources//f-string-6.py)

Výsledek:

```
name='Guido' surname='Rossum'
```

---

## Poziční parametry funkcí

* Přidáno do Pythonu 3.8
Expand Down Expand Up @@ -1062,15 +1083,19 @@ print(result)

## Skupiny výjimek

* Přidáno do Pythonu 3.11
* PEP 654 – Exception Groups and except

---

## Deklarace datových typů

* Přidáváno postupně
* PEP 484 - Type Hints a další

---

### Nejpopulárnější jazyky
### Nejpopulárnější jazyky současnosti

```
Dynamicky typované Staticky typované
Expand Down Expand Up @@ -1186,6 +1211,13 @@ print(add(1, False))

---

## Novinky v ekosystému Pythonu

* Správa projektů
* Lintery

---

# Vylepšení výkonnosti Pythonu

![Python](images/python.png)
Expand All @@ -1210,6 +1242,10 @@ print(add(1, False))

## JIT překlad

* Just-in-time (JIT)
* Ahead-of-time (AOT)
* Několik projektů nabízejících JIT/AOT

---

# Python a vývoj webových aplikací
Expand All @@ -1218,11 +1254,25 @@ print(add(1, False))

---

##
## Python a vývoj webových aplikací

* Brython
* Transcrypt
* PyScript
* Bokeh

---

##
# Alternativní projekty a jazyky

![Python](images/python.png)

---

## Alterntivní projekty a jazyky

* Coconut
* Mojo

---

Expand Down

0 comments on commit 5c707a9

Please sign in to comment.