Τη Τετάρτη, 28 Αυγούστου 2013 1:11:05 μ.μ. UTC+3, ο χρήστης ishish έγραψε:

> http://wiki.python.org/moin/HandlingExceptions

is this how you mean?

                try:
                        #find the needed counter for the page URL
                        if os.path.exists( path + page ) or os.path.exists( 
cgi_path + page ):
                                cur.execute('''SELECT ID FROM counters WHERE 
url = %s''', page )
                                data = cur.fetchone()           #URL is unique, 
so should only be one
                except:
                        print repr(query) 
                        print type(query) 

                        print repr(escaped_args) 
                        print type(escaped_args)


but i cannot see the error_log because of constant scrolling of error output.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to