User:EMBee/Scrap: Difference between revisions
Content added Content deleted
m (saving this here so i can do the talk on another computer) |
(stuff i'd like to do when i can find the time, if someone else wants to do it, please go ahead.) |
||
Line 1: | Line 1: | ||
* add "suggest task" and "task by category" links to tasks page. |
|||
=={{header|Python}}== |
|||
* suggest task for binary math. |
|||
<lang Python>import os |
|||
* draft task for math with boolean lists like in early lisp as per http://paste.lisp.org/display/126287 |
|||
targetfile = "pycon-china" |
|||
os.rename(os.path.realpath(targetfile), os.path.realpath(targetfile)+".bak") |
|||
f = open(os.path.realpath(targetfile), "w") |
|||
f.write("this task was solved during a talk about rosettacode at the PyCon China in 2011") |
|||
f.close()</lang> |