Blender related python snippets to get you started. Learn blender bpy today.
http://www.blender.org/api/blender_python_api_current/ As of 10/11 november 2015 we can now link to the current api docs and not be worr...
But the file seems to apear in os.listdir(os.curdir) inside Blender. But Windows does not display it. I saved it to a flesh. Then did DiscCheck for it to appear.So how do u refresh it tob under the Windows OS filesystem.But it works find in IDLE
I've updated the code snippet, hopefully this makes things a little clearer. If it doesn't then you will want to experiment with the os module and read the documentation
Please use Blender.StackExchange.com for python scripting questions unrelated to this post.