top-level loops

Gerrit Holl gerrit at nl.linux.org
Thu Oct 9 05:16:41 EDT 2003


Stefan wrote:
> #!/usr/bin/env python
> 
> import string, sys, os
> 
> #for i in range(0,3):
> #    for j in range(0,3):
> 
> #        filePrefix = '%d_%d' % (i,j)
> #        filePrefix = sys.argv[1]

You can do:
if True:
    if True:
        # code here

Gerrit.

-- 
192. If a son of a paramour or a prostitute say to his adoptive father
or mother: "You are not my father, or my mother," his tongue shall be cut
off.
        -- 1780 BC, Hammurabi, Code of Law
--
Asperger Syndroom - een persoonlijke benadering:
	http://people.nl.linux.org/~gerrit/
Kom in verzet tegen dit kabinet:
	http://www.sp.nl/





More information about the Python-list mailing list