.. _simpleexamplerst: ============================================== Simple example with dates and utf-8 characters ============================================== .. only:: html **Links:** :download:`notebook `, :downloadlink:`html `, :download:`PDF `, :download:`python `, :downloadlink:`slides `, :githublink:`GitHub|_doc/notebooks/simple_example.ipynb|*` Notebook, chinese, dates. .. code:: ipython3 import pyquickhelper .. code:: ipython3 from pyquickhelper.loghelper import str2datetime str2datetime("2018-03-02") .. parsed-literal:: datetime.datetime(2018, 3, 2, 0, 0) Equation: :math:`x^2` Some chinese: 汉字/漢字 (from `wikipedia Chinese language `__) .. code:: ipython3 print("汉字/漢字") .. parsed-literal:: 汉字/漢字 Some utf-8:  .. code:: ipython3 print("", ord("")) .. parsed-literal::  57344