Calendar - for "REAL" programmers: Difference between revisions
Content added Content deleted
(Added Lua) |
(Add Python example) |
||
Line 1,615: | Line 1,615: | ||
END CALENDAR;</lang> |
END CALENDAR;</lang> |
||
See CALENDAR for result. |
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}}== |
=={{header|Racket}}== |