informatica:linux:python
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
informatica:linux:python [2015/03/19 13:08] – created javi | informatica:linux:python [2022/10/25 21:39] (current) – [Fecha (python 3)] jose | ||
---|---|---|---|
Line 23: | Line 23: | ||
print(r.text) | print(r.text) | ||
</ | </ | ||
+ | ====== Fecha ====== | ||
+ | Python 3 | ||
+ | import datetime | ||
+ | f" | ||
+ | | ||
+ | ' | ||
+ | Python 2 | ||
+ | from datetime import datetime | ||
+ | |||
+ | fecha = datetime.now() | ||
+ | print(fecha.strftime(" | ||
informatica/linux/python.txt · Last modified: 2022/10/25 21:39 by jose