Anonymous user
Calendar - for "REAL" programmers: Difference between revisions
Add Python example
(Added Lua) |
(Add Python example) |
||
Line 1,615:
END CALENDAR;</lang>
See CALENDAR for result.
=={{header|Python}}==
<lang python>
import subprocess
px = subprocess.Popen(['python', '-c', 'import calendar; calendar.prcal(1969)'],
stdout=subprocess.PIPE)
cal = px.communicate()[0]
print cal.upper()
</lang>
=={{header|Racket}}==
|