First commit of partial RosettaCode contents.

Pushing this for testing purposes. Lots of work still needed.
This commit is contained in:
Ingy döt Net 2013-04-08 13:02:41 -07:00
commit 1e05ecd7ee
781 changed files with 9080 additions and 0 deletions

View file

@ -0,0 +1 @@
x = 'x = {!r};print(x.format(x))';print(x.format(x))

View file

@ -0,0 +1 @@
import sys; sys.stdout.write(open(sys.argv[0]).read())

View file

@ -0,0 +1 @@
print(__file__[:-3])

View file

@ -0,0 +1,2 @@
$ python print\(__file__\[\:-3\]\).py
print(__file__[:-3])

View file

@ -0,0 +1,2 @@
x = 'x = %r\nprint(x %% x)'
print(x % x)