1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
4
<TITLE>PythonCard Prototype Samples 2</TITLE>
5
<META NAME="description" CONTENT="PythonCard Prototype Samples 2">
6
<META NAME="keywords" CONTENT="lib">
7
<META NAME="resource-type" CONTENT="document">
8
<META NAME="distribution" CONTENT="global">
9
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
10
<link rel="STYLESHEET" href="PythonCard.css">
11
<!-- <LINK REL="previous" href="{previous_page}"> -->
12
<LINK REL="up" href="index.html">
13
<!-- <LINK REL="next" href="{next_page}"> -->
16
<DIV CLASS="navigation">
17
<table align="center" width="100%" cellpadding="0" cellspacing="2">
19
<td height="32"><A href="./samples.html"><img src="icon/previous.gif"
20
border="0" height="32"
21
alt="Previous Page" width="32"></A></td>
22
<td height="32"><A href="index.html"><img src="icon/up.gif"
23
border="0" height="32"
24
alt="Up One Level" width="32"></A></td>
25
<td height="32"><A href="samples3.html"><img src="icon/next.gif"
26
border="0" height="32"
27
alt="Next Page" width="32"></A></td>
28
<td align="center" width="100%">PythonCard Prototype Samples 2</td>
29
<td height="32"><A href=""><img src="icon/blank.gif"
30
border="0" height="32"
31
alt="" width="32"></A></td>
32
<td height="32"><a href="" title=""><img src="icon/blank.gif"
33
border="0" height="32"
34
alt="" width="32"></a></td>
35
<td height="32"><A href=""><img src="icon/blank.gif"
36
border="0" height="32"
37
alt="" width="32"></A></td>
39
<b class="navlabel">Previous:</b> <a class="sectref" href="samples.html">Samples</A>
40
<b class="navlabel">Up:</b><A class="sectref" href="index.html">PythonCard Home</A>
41
<b class="navlabel">Next:</b> <a class="sectref" href="samples3.html">Samples 3</A>
44
<!--End of Navigation Panel-->
46
<H2><A NAME="HEADER2_01"> </A>
48
Samples Screen Shots 2
52
<A HREF="http://pythoncard.sourceforge.net/images/hopalong_01.jpg"><IMG SRC="http://pythoncard.sourceforge.net/images/hopalong_0101.jpg" ALT="Full size" BORDER=0></A>
54
This sample plots points using the hopalong algorithm by Barry Martin presented in the September 1986 Scientific American.
58
<IMG SRC="http://pythoncard.sourceforge.net/images/large/Minimal.gif" BORDER=0>
59
<IMG SRC="http://pythoncard.sourceforge.net/images/snapminimal_01.png" BORDER=0>
61
This is about as basic as you can make your application.
62
For those of us who like to 're-use' code this is a good base to build on.
63
Add items one by one to this minimal PythonCard app to make it easier to understand what is going on.
67
<A HREF="http://pythoncard.sourceforge.net/images/large/Proof.gif"><IMG SRC="http://pythoncard.sourceforge.net/images/small/Proof.gif" ALT="Full size" BORDER=0></A>
68
<A HREF="http://pythoncard.sourceforge.net/images/snapproof_01.png"><IMG SRC="http://pythoncard.sourceforge.net/images/snapproof_0101.png" ALT="Full size" BORDER=0></A>
70
This application implements the proof of concept statement of requirements as specified <A HREF="requirements.html">here</A>.
71
It is pretty basic but it does show all of the different widget types you can use.
72
This example also demonstrates the use of an image as a canvas background.
76
<A HREF="http://pythoncard.sourceforge.net/images/large/SamplesLauncher.gif"><IMG SRC="http://pythoncard.sourceforge.net/images/small/SamplesLauncher.gif" ALT="Full size" BORDER=0></A>
78
The samples launcher provides a convenient way to try each sample, browse the readme, source code and layout description for each sample.
80
<H3>searchExplorer</H3>
82
<A HREF="http://pythoncard.sourceforge.net/images/large/SearchExplorer.gif"><IMG SRC="http://pythoncard.sourceforge.net/images/small/SearchExplorer.gif" ALT="Full size" BORDER=0></A>
84
This sample demonstrates just how easy it is to develop quite useful applications using the PythonCard framework.
85
To use this application, just enter a search string in the first text item, select where you would like to perform the search from the 'Sites' list and then press the 'Search' button.
86
As you perform searches they are saved in the 'Past Searches' list, a bit like web page URLs in your browser.
87
To re-run a search select it from the list and press the 'Search' button.
91
<IMG SRC="http://pythoncard.sourceforge.net/images/large/Sounds.gif" size" BORDER=0>
93
Another really simple but powerful application is this example which will play a sound file.
95
<H3>SourceForgeTracker</H3>
97
<A HREF="http://pythoncard.sourceforge.net/images/SourceForgeTracker_01.jpg"><IMG SRC="http://pythoncard.sourceforge.net/images/SourceForgeTracker_0101.jpg" ALT="Full size" BORDER=0></A>
99
SourceForgeTracker downloads XML from SourceForge in order to display Bug
100
Reports and Feature Requests for a variety of Python SF projects.
104
<A HREF="http://pythoncard.sourceforge.net/images/textEditor01.jpg"><IMG SRC="http://pythoncard.sourceforge.net/images/textEditor0101.jpg" ALT="Full size" BORDER=0></A>
110
<A HREF="http://pythoncard.sourceforge.net/images/textIndexer01.jpg"><IMG SRC="http://pythoncard.sourceforge.net/images/textIndexer0101.jpg" ALT="Full size" BORDER=0></A>
112
Dan Winkler's original PythonCard test converted from tkinter to PythonCard.
116
<A HREF="http://pythoncard.sourceforge.net/images/textRouter01.jpg"><IMG SRC="http://pythoncard.sourceforge.net/images/textRouter0101.jpg" ALT="Full size" BORDER=0></A>
118
TextRouter is a generic weblogging and text "routing" client. It's
119
main use is for posting to Blogger and/or Manila maintained weblogs. More screen shots are available at
120
<a href="http://simon.kittle.info/stories/storyReader$116">http://simon.kittle.info/stories/storyReader$116</a>. Simon Kittle
121
maintains a page for <a href="http://simon.kittle.info/textrouter">TextRouter</a> that includes a standalone binary
122
installer for Windows.
124
<H3>Noughts and Crosses (tictactoe)</H3>
126
<A HREF="http://pythoncard.sourceforge.net/images/tictactoe_01.jpg"><IMG SRC="http://pythoncard.sourceforge.net/images/tictactoe_0101.jpg" ALT="Full size" BORDER=0></A>
128
When I was young we used to call this game noughts and crosses.
129
Some of you may know it as Tic Tac Toe.
130
The best way to see what this sample application does is to run it.
131
If anyone would like to write a more advanced algorithm for the computer player then please go ahead.
132
When you have finished you can post it to the <A HREF="http://lists.sourceforge.net/lists/listinfo/pythoncard-users">mailing list</A>.
136
<A HREF="http://pythoncard.sourceforge.net/images/large/Widgets.gif"><IMG SRC="http://pythoncard.sourceforge.net/images/small/Widgets.gif" ALT="Full size" BORDER=0></A>
137
<A HREF="http://pythoncard.sourceforge.net/images/snapwidgets_01.png"><IMG SRC="http://pythoncard.sourceforge.net/images/snapwidgets_0101.png" ALT="Full size" BORDER=0></A>
139
This sample application is designed to demonstrate some of the events that are associated with particular widgets.
140
The buttons and check boxes on the right hand side of the screen are active and have code associated with them.
141
Again, the best way to find out what the various controls do is to try them out.
145
<IMG SRC="http://pythoncard.sourceforge.net/images/large/WorldClock.jpg" BORDER=0>
147
Last, but certainly not least, is the world clock.
148
A rather natty application that shows you where in the world currently has daylight and where is dark.
149
You will need to be connected to the internet for this to function properly as the different map images are downloaded from <A HREF="http://www.time.gov/">http://www.time.gov/</A>
150
Can you tell when this screen shot was taken?
152
<!--Footer Navigation Panel-->
153
<DIV CLASS="navigation">
155
<table align="center" width="100%" cellpadding="0" cellspacing="2">
157
<td height="32"><A href="./samples.html"><img src="icon/previous.gif"
158
border="0" height="32"
159
alt="Previous Page" width="32"></A></td>
160
<td height="32"><A href="index.html"><img src="icon/up.gif"
161
border="0" height="32"
162
alt="Up One Level" width="32"></A></td>
163
<td height="32"><A href="samples3.html"><img src="icon/next.gif"
164
border="0" height="32"
165
alt="Next Page" width="32"></A></td>
166
<td align="center" width="100%">PythonCard Prototype Samples 2</td>
167
<td height="32"><A href=""><img src="icon/blank.gif"
168
border="0" height="32"
169
alt="" width="32"></A></td>
170
<td height="32"><a href="" title=""><img src="icon/blank.gif"
171
border="0" height="32"
172
alt="" width="32"></a></td>
173
<td height="32"><A href=""><img src="icon/blank.gif"
174
border="0" height="32"
175
alt="" width="32"></A></td>
177
<b class="navlabel">Previous:</b> <a class="sectref" href="samples.html">Samples</A>
178
<b class="navlabel">Up:</b> <a class="sectref" href="index.html">PythonCard Home</A>
179
<b class="navlabel">Next:</b> <a class="sectref" href="samples3.html">Samples 3</A>
182
<!--End of Navigation Panel-->
183
<span class="release-info">$Revision: 1.11 $, documentation updated on $Date: 2002/02/07 23:48:27 $</span>
184
<IMG src="http://sourceforge.net/sflogo.php?group_id=19015&type=1"
185
width="88" height="31" border="0" alt="SourceForge Logo">
187
See <i><a href="about.html">About this document...</a></i> for information on suggesting changes.
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
<meta name="description" content="PythonCard Prototype Samples" />
5
<meta name="keywords" content="lib" />
6
<meta name="resource-type" content="document" />
7
<meta name="distribution" content="global" />
8
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
9
<link rel="stylesheet" href="PythonCard.css" type="text/css" />
10
<title>PythonCard Prototype Samples 2</title>
14
<h1>PythonCard Prototype Samples</h1>
16
<?php include "sidebar.php" ?>
18
<p><a href="samples.html">Page 1</a> | Page 2 | <a href="samples3.html">Page 3</a></p>
19
<h2><a name="HEADER2_01">Samples Screen Shots 2</a></h2>
21
<p class="imageCaption"><a href="http://pythoncard.sourceforge.net/images/hopalong_01.jpg"><img src="http://pythoncard.sourceforge.net/images/hopalong_0101.jpg" alt="Full size" /></a></p>
22
<p>This sample plots points using the hopalong algorithm by Barry Martin
23
presented in the September 1986 Scientific American.</p>
25
<p class="imageCaption">
26
<img src="http://pythoncard.sourceforge.net/images/large/Minimal.gif" alt="Minimal on windows" />
27
<img src="http://pythoncard.sourceforge.net/images/snapminimal_01.png" alt="Minimal om Linux" />
29
<p>This is about as basic as you can make your application. For those of us
30
who like to 're-use' code this is a good base to build on. Add items one by
31
one to this minimal PythonCard app to make it easier to understand what is
34
<p class="imageCaption">
35
<a href="http://pythoncard.sourceforge.net/images/large/Proof.gif"><img src="http://pythoncard.sourceforge.net/images/small/Proof.gif" alt="Full size proof on Windows" /></a>
36
<a href="http://pythoncard.sourceforge.net/images/snapproof_01.png"><img src="http://pythoncard.sourceforge.net/images/snapproof_0101.png" alt="Full size proof on Linux" /></a>
38
<p>This application implements the proof of concept statement of requirements
39
as specified <a href="requirements.html">here</a>. It is pretty basic but it
40
does show all of the different widget types you can use. This example also
41
demonstrates the use of an image as a canvas background.</p>
43
<p class="imageCaption"><a href="http://pythoncard.sourceforge.net/images/large/SamplesLauncher.gif"><img src="http://pythoncard.sourceforge.net/images/small/SamplesLauncher.gif" alt="Full size samples launcher" /></a></p>
44
<p>The samples launcher provides a convenient way to try each sample, browse
45
the readme, source code and layout description for each sample.</p>
46
<h3>searchExplorer</h3>
47
<p class="imageCaption"><a href="http://pythoncard.sourceforge.net/images/large/SearchExplorer.gif"><img src="http://pythoncard.sourceforge.net/images/small/SearchExplorer.gif" alt="Full size search explorer" /></a></p>
48
<p>This sample demonstrates just how easy it is to develop quite useful
49
applications using the PythonCard framework. To use this application, just
50
enter a search string in the first text item, select where you would like to
51
perform the search from the 'Sites' list and then press the 'Search' button.
52
As you perform searches they are saved in the 'Past Searches' list, a bit
53
like web page URLs in your browser. To re-run a search select it from the
54
list and press the 'Search' button.</p>
56
<p class="imageCaption"><img src="http://pythoncard.sourceforge.net/images/large/Sounds.gif" alt="Sounds sample" /></p>
57
<p>Another really simple but powerful application is this example which will
58
play a sound file.</p>
59
<h3>SourceForgeTracker</h3>
60
<p class="imageCaption"><a href="http://pythoncard.sourceforge.net/images/SourceForgeTracker_01.jpg"><img src="http://pythoncard.sourceforge.net/images/SourceForgeTracker_0101.jpg" alt="Full size sourceforge tracker" /></a></p>
61
<p>SourceForgeTracker downloads XML from SourceForge in order to display Bug
62
Reports and Feature Requests for a variety of Python SF projects.</p>
64
<p class="imageCaption"><a href="http://pythoncard.sourceforge.net/images/textEditor01.jpg"><img src="http://pythoncard.sourceforge.net/images/textEditor0101.jpg" alt="Full size text editor" /></a></p>
65
<p>A basic text editor.</p>
67
<p class="imageCaption"><a href="http://pythoncard.sourceforge.net/images/textIndexer01.jpg"><img src="http://pythoncard.sourceforge.net/images/textIndexer0101.jpg" alt="Full size text indexer" /></a></p>
68
<p>Dan Winkler's original PythonCard test converted from tkinter to
71
<p class="imageCaption"><a href="http://pythoncard.sourceforge.net/images/textRouter01.jpg"><img src="http://pythoncard.sourceforge.net/images/textRouter0101.jpg" alt="Full size text indexer" /></a></p>
72
<p>TextRouter is a generic weblogging and text "routing" client. It's main
73
use is for posting to Blogger and/or Manila maintained weblogs. More screen
74
shots are available at <a href="http://simon.kittle.info/stories/storyReader$116">http://simon.kittle.info/stories/storyReader$116</a>.
75
Simon Kittle maintains a page for <a href="http://simon.kittle.info/textrouter">TextRouter</a> that includes a standalone binary installer for Windows.</p>
76
<h3>Noughts and Crosses (tictactoe)</h3>
77
<p class="imageCaption"><a href="http://pythoncard.sourceforge.net/images/tictactoe_01.jpg"><img src="http://pythoncard.sourceforge.net/images/tictactoe_0101.jpg" alt="Full size tic tac toe" /></a></p>
78
<p>When I was young we used to call this game noughts and crosses. Some of
79
you may know it as Tic Tac Toe. The best way to see what this sample
80
application does is to run it. If anyone would like to write a more advanced
81
algorithm for the computer player then please go ahead. When you have
82
finished you can post it to the <a href="http://lists.sourceforge.net/lists/listinfo/pythoncard-users">mailing list</a>.</p>
84
<p class="imageCaption">
85
<a href="http://pythoncard.sourceforge.net/images/large/Widgets.gif"><img src="http://pythoncard.sourceforge.net/images/small/Widgets.gif" alt="Full size widgets sample on Windows" /></a>
86
<a href="http://pythoncard.sourceforge.net/images/snapwidgets_01.png"><img src="http://pythoncard.sourceforge.net/images/snapwidgets_0101.png" alt="Full size widgets sample on Linux" /></a>
88
<p>This sample application is designed to demonstrate some of the events that
89
are associated with particular widgets. The buttons and check boxes on the
90
right hand side of the screen are active and have code associated with them.
91
Again, the best way to find out what the various controls do is to try them
94
<p class="imageCaption"><img src="http://pythoncard.sourceforge.net/images/large/WorldClock.jpg" alt="World clock sample" /></p>
95
<p>Last, but certainly not least, is the world clock. A rather natty
96
application that shows you where in the world currently has daylight and
97
where is dark. You will need to be connected to the internet for this to
98
function properly as the different map images are downloaded from
99
<a href="http://www.time.gov/">http://www.time.gov/</a>. Can you tell when
100
this screen shot was taken?</p>
101
<p>The next page of screenshots are <a href="samples3.html">here</a>.</p>
102
<?php include "footer.php" ?>
103
<p>$Revision: 1.12 $ : $Author: kasplat $ : Last updated $Date: 2004/07/26 15:35:31 $</p>
104
</div> <!-- end of content -->