11

Ahh.. there is nothing like the joyous feeling of writing a working piece of code for your own personal projects.

I spent several weeks and a few hours today to finally get my Python automation script working and I am very proud of myself.

Here's what it does:
* open a text file, extract a specific string from it using rather complicated xpath
* open another text file and do the same
* replace result 1 with result 2
* log results
* close file
* automate the process

Even though it looks easy, I had to mess around with a lot of problems such as permissions, indentation, stream writing, file status, etc.

Now, instead of having to manually do this job, I can just let my machine do it!

Comments
  • 0
    Reminds me of an app I made to open the links in a spreadsheet. I was watching someone at work do their job painfully slow and realliced that they store the links they need in a spreadsheet and they need to open all the links every day. Now rather than taking 20 minutes manually clicking each one they just load the file into the app and it pops the links open in their browser.
Add Comment