[Tutor] i want to learn to hack

D-Man dsh8290@rit.edu
Thu, 15 Feb 2001 09:20:13 -0500


On Thu, Feb 15, 2001 at 08:23:17AM -0500, Ryan Smith wrote:
| how do i hack?
| 
| -Ryan
| 

Is this a new e-mail address, or are you not the same Ryan on the
gimpwin-users list?


I'll assume that you intend the good definition of 'hack'.  What do
you want to accomplish from your hacking?  This list is very helpful
at explaining various programming concepts and how they apply to
python, but you must have some questions first.  For example, to start
with you could write the canonical "Hello World" program.  In python
that would be:

--------------------
print "Hello World"
--------------------

If you wanted to print it 10 times, you could


------------------------------
for i in range( 10 ) :
	print "Hello World"
------------------------------

Have you taken a look at the tutorial on www.python.org?  It's a
rather good tutorial, but I think it expects a basic knowledge of
programming and computer operation.  Alan Gauld also has a nice book
(so I've heard) and I think there is quite a bit of useful information
on his web site  (I haven't been there, but other people say it is
good,  check the list archives for a url).

Enjoy learning python!  The gimp even has a plugin module so you can
script it in python.

-D