How to bulk delete nodes by ID?
One solution here, that is slightly different from your question, is to use Views/Views Bulk Operations (VBO) &amp; contextual filters on a custom View.

VBO contains an operation for bulk deletion. You can create a contextual filter for Content: Nid with the Allow multiple values option selected. If you've created a page view, that would allow you to navigate to http://example.com/my_node_delete_vbo_view/1+2+3 wherein you can view all the nodes you want to delete, select them all, then apply the Delete item VBO operation. 

The only work involves taking your CSV, slicing it down to just the node column, and replacing the character delimiters.