01: #! /usr/bin/python
02: 
03: """
04: This is a test for the handling of
05: comments and string literals in Python
06: """
07: 
08: "And this is a string meant as comment"
09: 
10: def test():                # The test routine
11:   '''
12:   It does nothing but printing different strings
13:   '''
14: 
15:   print "This is the first test",
16:   print 'and this the second'
17: 
18:   'Here start the multi-lined outputs'
19:   print """
20: Here we have
21: a multi-line
22: string.
23: """
24:   print '''
25: And this is a
26: second one
27: '''
28:   # End of printing
29:   pass                        # A NOP at last
30: 
31: """
32: """
33: 'And here the fun starts'
34: test()