September 2010
Intermediate to advanced
440 pages
9h 23m
English
In this chapter, we have covered the MySQL INSERT command and how to implement it in Python. In particular, we have seen how to form INSERT statements and pass them to MySQL through MySQLdb. Using Python, we also looked at how to use user-defined variables in MySQL statements, changing the INSERT statement dynamically. In the next chapter, we will look at how to handle MySQL errors.
Read now
Unlock full access