Human: How can I insert NULL data into MySQL database with Python? Assistant: 
Here is some code to insert row into mysql database with column 'column1' set to the value `value`

cursor.execute('INSERT INTO table (`column1`) VALUES (%s)', (value,))

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.