Ignore:
Timestamp:
18/08/16 02:16:05 (4 years ago)
Author:
mjuckes
Message:

for python3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CMIP6dreq/trunk/dreqPy/examples/ex102.py

    r626 r738  
    99    xmlf = fn 
    1010  else: 
    11     print 'File %s not found' % fn 
     11    print ( 'File %s not found' % fn ) 
    1212    sys.exit(0) 
    1313else: 
     
    2626    dcppLinks.append( item ) 
    2727    requestedGroups.add( item.getAttribute( 'refid' ) ) 
    28 print 'Request links found for DCPP: %s' % len( dcppLinks ) 
    2928 
    30 print 'Request groups found for DCPP: %s' % len( requestedGroups ) 
     29print ( 'Request links found for DCPP: %s' % len( dcppLinks ) ) 
     30 
     31print ( 'Request groups found for DCPP: %s' % len( requestedGroups ) ) 
    3132 
    3233sect = doc.getElementsByTagName( 'requestVar' )[0] 
     
    3637    cmorVars.add(  item.getAttribute( 'vid' ) ) 
    3738 
    38 print 'CMOR variables requested by DCPP: %s' % len(cmorVars) 
     39print ( 'CMOR variables requested by DCPP: %s' % len(cmorVars) ) 
Note: See TracChangeset for help on using the changeset viewer.