data science

Reading a file using Flask – Python

This took me ages to figure out, and it was tough getting a simple straightforward answer… BTW – I’m assuming that you know all the Flask basics, so I won’t be covering that. If you don’t, I suggest you go through their amazing tutorial. This is what I want: I want my web app to […]


Debugging Python CGI Scripts – Python

Again, this is more for my reference than anything else. Including the following lines on your Python CGI script will save you loads of time and stop you from hating yourself. You can even get the deluxe model by making it write a log file for you It is all explained right here.