[gnome-devel-docs] revised tutorial.py.page for style and clarity.



commit 1c7607f12a226d44bb8e15b1e85b834cfb6b7305
Author: Jim Campbell <jwcampbell gmail com>
Date:   Mon Feb 25 11:59:27 2013 +0100

    revised tutorial.py.page for style and clarity.

 platform-demos/C/tutorial.py.page |   18 +++++++++++-------
 1 files changed, 11 insertions(+), 7 deletions(-)
---
diff --git a/platform-demos/C/tutorial.py.page b/platform-demos/C/tutorial.py.page
index 4e27573..826a1d0 100644
--- a/platform-demos/C/tutorial.py.page
+++ b/platform-demos/C/tutorial.py.page
@@ -7,7 +7,7 @@
 <info>
   <title type="text">Beginner's Tutorial (Python)</title>
   <link type="guide" xref="py"/>
-  <revision version="0.1" date="2012-07-31" status="draft"/>
+  <revision pkgversion="3.8" date="2013-02-25" status="draft"/>
 
   <desc>A tutorial for beginners who want to learn how to program GUIs using GTK+ in Python.</desc>
   <credit type="author copyright">
@@ -18,7 +18,11 @@
   <credit type="author copyright">
     <name>Marta Maria Casetti</name>
     <email>mmcasetti gmail com</email>
-    <years>2012</years>
+    <years>2012 2013</years>
+  </credit>
+  <credit> type="editor author">
+    <name>Jim Campbell</name>
+    <email>jwcampbell gmail com</email>
   </credit>
 </info>
 
@@ -30,22 +34,22 @@
  <p>If you have never programmed before, or are not familiar with the concepts of object oriented 
programming, you may need to learn a few basics first.  The book <link 
href="http://learnpythonthehardway.org/book/";>Learn Python the Hard Way</link> or <link 
href="http://docs.python.org/tutorial/index.html";>The Python Tutorial</link> may be a better place for you to 
start. You may also be interested in <link 
href="http://python-gtk-3-tutorial.readthedocs.org/en/latest/index.html";>The Python GTK+ 3 Tutorial</link>. 
Once you master the basics, be sure to come back and check out these tutorials.</p>
 </synopsis>
 
-<links type="section"/>
-
 <section id="to-run">
 <title>To run the code samples</title>
 
-  <p>This tutorial contains examples of widgets that can be done using GTK+ in Python. To run the code 
samples that are presented in the tutorial:</p>
+  <p>To run the code samples in the tutorial:</p>
   <steps>
-    <item><p>Copy and paste the code into a file with a name like <var>filename</var>.py</p></item>
-    <item><p>to execute the code, type in the terminal:</p>
+    <item><p>Type or copy and paste the code into a file, and save the file with a name like 
<var>filename</var>.py</p></item>
+    <item><p>To execute the code, type in the terminal:</p>
           <screen>python <var>filename</var>.py</screen>
     </item>
   </steps>
+  <p>After executing the code, you will either see the widget on your screen, or (if you have mistyped some 
of the code) you will see an error message that will help you identify the problem.</p>
 </section>
 
 <section id="widgets">
 <title>A path through the widgets (with some theory)</title>
+<p>The tutorial will walk you through increasingly complex examples and programming theory, but you can also 
feel free to just go directly to the tutorial that is most helpful to you.</p>
 <steps>
   <title>Tutorial</title>
   <item><steps>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]