<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://wiki.leotec.io/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://wiki.leotec.io/feed.php">
        <title>leotec.io python</title>
        <description></description>
        <link>https://wiki.leotec.io/</link>
        <image rdf:resource="https://wiki.leotec.io/lib/tpl/dokuwiki/images/favicon.ico" />
       <dc:date>2026-04-17T15:32:03+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wiki.leotec.io/python/argparse?rev=1556383519&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.leotec.io/python/logging?rev=1556383519&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.leotec.io/python/start?rev=1556383519&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.leotec.io/python/unittest?rev=1556383519&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://wiki.leotec.io/lib/tpl/dokuwiki/images/favicon.ico">
        <title>leotec.io</title>
        <link>https://wiki.leotec.io/</link>
        <url>https://wiki.leotec.io/lib/tpl/dokuwiki/images/favicon.ico</url>
    </image>
    <item rdf:about="https://wiki.leotec.io/python/argparse?rev=1556383519&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-04-27T16:45:19+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Argparse</title>
        <link>https://wiki.leotec.io/python/argparse?rev=1556383519&amp;do=diff</link>
        <description>Argparse

	*  Python v3 Doc
	*  Python v2.7 Doc


parser = argparse.ArgumentParser(description='Create heightmap',
                                 formatter_class=argparse.ArgumentDefaultsHelpFormatter)
# parser.add_argument('-g', dest='gcode')
parser.add_argument('-x', dest='width')
parser.add_argument('-y', dest='height')
parser.add_argument('-s', dest='step', default=5)
parser.add_argument('-m', dest='heightmap')
parser.add_argument('cmd', choices=['info', 'multiplex'])</description>
    </item>
    <item rdf:about="https://wiki.leotec.io/python/logging?rev=1556383519&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-04-27T16:45:19+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Logging</title>
        <link>https://wiki.leotec.io/python/logging?rev=1556383519&amp;do=diff</link>
        <description>Logging

extra


import logging
logger = logging.getLogger(__name__)



d = {'clientip': '192.168.0.1', 'user': 'fbloggs'}
logger = logging.getLogger('fm_update')
logger.debug('Protocol problem: %s', 'connection reset', extra=d)


dictConfig

	*  15.8. logging.config — Logging configuration — Python 2.7.13
	*</description>
    </item>
    <item rdf:about="https://wiki.leotec.io/python/start?rev=1556383519&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-04-27T16:45:19+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Python</title>
        <link>https://wiki.leotec.io/python/start?rev=1556383519&amp;do=diff</link>
        <description>Python

Embedded interactive shell in IPython

	*  Embedded interactive shell in IPython 
import IPython;IPython.embed()

	*  &lt;https://docs.python.org/3/library/asyncio.html&gt;
	*  &lt;http://python-future.org/compatible_idioms.html#raising-exceptions&gt;</description>
    </item>
    <item rdf:about="https://wiki.leotec.io/python/unittest?rev=1556383519&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-04-27T16:45:19+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>UnitTest</title>
        <link>https://wiki.leotec.io/python/unittest?rev=1556383519&amp;do=diff</link>
        <description>UnitTest


nosetests --with-doctest</description>
    </item>
</rdf:RDF>
