The Python Game Book

code games. learn Python.

User Tools

Site Tools






wettbewerbe, internships


<nowiki>* https: // amyp eniston . com/ ditching - excel - for - python/</nowiki>


from guidos europython2020 talk:

secret todos

  • <todo>understanding struct plugin, use it for tutorial start pages, maybe for glossary</todo>
  • <todo #horst:2020-05-09>check correct GPL license for code and add it to each code block?</code>
  • <todo>kill / improve slowgoblins tutorial (derzeit geparkt in secret</todo>
  • <todo>improve pygame tutorial</todo>
  • <todo>create arcade tutorial</todo>
  • <todo #horst:2020-05-14>create godot 3d tutorial</todo>
  • <todo>correct resources links (image horstjens etc)</todo>
  • <todo>new logo</todo>

try out pygame2: Just try it out. pip install pygame==2.0.0.dev10

stuff that i try out and that should not be seen (yet)

here a slow, detailed Goblin tutorial with everything explained in a tedious way:

svg test

interactive svg graphic

code syntax highlithing

mit gist: dieses javascript einfügen: <html><script type="text/javascript" src="" ></script></html>

problem mit direkt von github: rawstring mit falschem escape code r\c nicht erkannt, keine direkte unterstützung von github für embedded code

gist → geht noch am besten, direkt unterstützt von github für embedded code. Es ist notwendig zurerst auf github den file anzulegen der das ganze ding benennt, danach erst die einzelnen (python) files zusätzlich muß (damit gist embed funktioniert) auf jeder dokuwiki oben folgender text stehen: <html><script type="text/javascript" src="" ></script></html>

used plugins

  • syntax highlighter4:
    • ersetzt <code>, aber nicht <file>. (admin config) Syntax:
    • <code python; first-line:1; highlight:[2,5,16], title:> ... </code>
    • no line numbers: <code python; gutter:false> ... </code>
  • backlinks:
    • im sidebar
  • tabbox:
    • <tabbox first_name>...<tabbox second_name>....</tabbox>
  • redirect:
    • ~~REDIRECT>new_site~~
  • iframe:
    • {{url>external_site_to_include_as_iframe}}
    • {{page>[id]&[flags]}} or {{section>[id]#[section]&[flags]}}
  • imagebox:
    • [{{image|image description}}]
  • svg-embed otherwise svg images would not work

===== Changes to dokuwiki / plugins

  • Standard-Template: tpl_footer.php footer-file verändert:

<div id="dokuwiki__footer"><div class="pad">
    <!--<?php tpl_license(''); // license text ?>-->
    The content of this wiki is licensed by <a href="">Horst JENS</a> under <a href="">Creative-Commons Attribution-Share-alike 4.0 international license (cc-by-sa 4.0)</a>
    <span class="buttons">
            tpl_license('button', true, false, false); // license button, no wrapper
            $target = ($conf['target']['extern']) ? 'target="'.$conf['target']['extern'].'"' : '';
        <a href="" title="Donate" <?php echo $target?>><img
            src="<?php echo tpl_basedir(); ?>images/button-donate.gif" width="80" height="15" alt="Donate" /></a>
        <a href="" title="Driven by DokuWiki" <?php echo $target?>><img
            src="<?php echo tpl_basedir(); ?>images/button-dw.png" width="80" height="15" alt="Driven by DokuWiki" /></a>
</div></div><!-- /footer -->

  • Backlinks-Plugin, syntax.php verändert:

              // $renderer->doc .= "<strong>Plugin Backlinks: ".$lang['nothingfound']."</strong>".DW_LF;
              $renderer->doc .= "".$lang['nothingfound']."".DW_LF;>


en/secret/start.txt · Last modified: 2020/12/31 05:19 by horst