Automated BlogPost Creation / Posting from flat backup file
So i had all the raw text from my blog posts backed up in a flat text file (just a bunch of text). I wanted to be clever and not manually enter each blog post again, so I made a new button and tied it to this grabPosts function: class BlogPostGrabber(): def grabPosts(self): os.chdir(‘/home/colin/blogposts’) for[…]