Changeset 7412:57beede0f633 in orange


Ignore:
Timestamp:
02/04/11 12:05:11 (3 years ago)
Author:
lan <lan@…>
Branch:
default
Convert:
489e6dc4d07ca0e1ec18390ef11a8a310ef26eee
Message:

Removed try-except from the previous script.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/doc/Orange/rst/code/distributions-contingency6.py

    r7390 r7412  
    1515print 
    1616 
    17 try: 
    18     midkey = (cont.keys()[0] + cont.keys()[1])/2.0 
    19     print "cont[%5.3f] =" % (midkey, cont[midkey]) 
    20 except Exception, v: 
    21     print "Error: ", v 
     17 
     18midkey = (cont.keys()[0] + cont.keys()[1])/2.0 
     19print "cont[%5.3f] =" % (midkey, cont[midkey]) 
     20 
Note: See TracChangeset for help on using the changeset viewer.