There is no such thing as "notepad file".
Python file read/write is so simple (even for an absolute beginner) that I have no idea what answer you may need, except perhaps writing the code for you.
No, this is not how CodeProject works. Please read the code and ask a question if you face any problems. And it's better for you. Beginners are those who begin.
I never used anything but this: http://www.python.org/doc/
I'm not talking about WSGI, this is different story. Do you do Web development with Python? This is a bit tricky (but very nice after you learn WSGI techniques and documentation. For me, all I needed is well covered here: http://webpython.codepoint.net/wsgi_tutorial