query: Why "name 'cursor' is not defined" when pyodbc cursor is in main()?
positive_passages.docid: 4272
positive_passages.text: Short description of the scoping rules?
negative_passages.docid: 78305
negative_passages.text: Why are main runnable Python scripts not compiled to pyc files like modules?
negative_passages.docid: 48391
negative_passages.text: "Main method not found" error when starting program?
negative_passages.docid: 127258
negative_passages.text: Deleting the cursor object
negative_passages.docid: 35756
negative_passages.text: ORA-04091: table [blah] is mutating, trigger/function may not see it
negative_passages.docid: 39370
negative_passages.text: NameError: name 'datetime' is not defined
negative_passages.docid: 136725
negative_passages.text: ResultSet.getString(1) throws java.sql.SQLException: Invalid operation at current cursor position
negative_passages.docid: 18749
negative_passages.text: Use of 'extern' keyword while defining the variable
negative_passages.docid: 107017
negative_passages.text: SQLite Parameters - Not allowing tablename as parameter
negative_passages.docid: 158898
negative_passages.text: NameError: name 'host' is not defined
negative_passages.docid: 72347
negative_passages.text: How can I make the cursor turn to the wait cursor?
negative_passages.docid: 145210
negative_passages.text: Using ArcPy to get all database names within server?
negative_passages.docid: 1144
negative_passages.text: Constructor not defined on Global Batch Class
negative_passages.docid: 135419
negative_passages.text: Python syntax error when defining a mapping
negative_passages.docid: 158219
negative_passages.text: What's the difference between `raw_input()` and `input()` in Python 3?
negative_passages.docid: 34558
negative_passages.text: "Error: Main method not found in class MyClass, please define the main method as..."
negative_passages.docid: 139502
negative_passages.text: Getting error while writing a simple trigger