Python debugging and csv viewing