<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.scott5.org/index.php?action=history&amp;feed=atom&amp;title=Python_Curses</id>
	<title>Python Curses - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.scott5.org/index.php?action=history&amp;feed=atom&amp;title=Python_Curses"/>
	<link rel="alternate" type="text/html" href="https://wiki.scott5.org/index.php?title=Python_Curses&amp;action=history"/>
	<updated>2026-05-27T19:45:29Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://wiki.scott5.org/index.php?title=Python_Curses&amp;diff=238&amp;oldid=prev</id>
		<title>Scott: Created page with &#039;== Reference == * Curses library references: http://docs.python.org/lib/module-curses.html * A curses tutorial: http://www.amk.ca/python/howto/curses/curses.html * Another good e…&#039;</title>
		<link rel="alternate" type="text/html" href="https://wiki.scott5.org/index.php?title=Python_Curses&amp;diff=238&amp;oldid=prev"/>
		<updated>2011-02-01T22:35:47Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;#039;== Reference == * Curses library references: http://docs.python.org/lib/module-curses.html * A curses tutorial: http://www.amk.ca/python/howto/curses/curses.html * Another good e…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Reference ==&lt;br /&gt;
* Curses library references: http://docs.python.org/lib/module-curses.html&lt;br /&gt;
* A curses tutorial: http://www.amk.ca/python/howto/curses/curses.html&lt;br /&gt;
* Another good example: http://www-128.ibm.com/developerworks/linux/library/l-python6.html&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
#!/usr/bin/python&lt;br /&gt;
import curses&lt;br /&gt;
&lt;br /&gt;
def main(screen):&lt;br /&gt;
    screen.addstr(&amp;quot;Hi there!\n&amp;quot;)&lt;br /&gt;
    screen.addstr(&amp;quot;Press Q to quit: &amp;quot;)&lt;br /&gt;
    while 1:&lt;br /&gt;
        c = screen.getch()&lt;br /&gt;
        if c == ord(&amp;#039;q&amp;#039;): break&lt;br /&gt;
    curses.endwin()&lt;br /&gt;
&lt;br /&gt;
if __name__ == &amp;#039;__main__&amp;#039;:&lt;br /&gt;
    curses.wrapper(main)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Scott</name></author>
	</entry>
</feed>