Ported Quick-Vantage to Python

Hey, How is your Linux journey going?

Today, I am writing this post to introduce the Python port of Quick-Vantage. The original project used 100% shell scripting. As it became harder and harder to debug when the size of the script increased uncontrollably, I decided it's time to try out another language for scripting. Guess what I chose? C. Yeah.

I started writing the code in C only to realize this is not going anywhere. Not enough libraries, not enough shell specific functions.. The list goes on. So, I ditched that plan. That's when my friends suggested Python. I've heard many times that Python is very good for scripting, but never tried it.

That was it. Rest is history. There are modules for literally everything. I was flabbergasted :) I was thinking about how to implement wildcards inside the code because my original shell script made use of it. Searched it upon Google and found out that there is a library for that >_< 

Yeah... Just pass the pattern to the glob function and it will return the result. I was like, "Wooah!!". Finished porting within hours and script was fully functional within a day. That was one of the fastest projects I have done my entire life. Thank you Guido, for giving us Python :)


Comments

Popular posts from this blog

Quick Vantage - Tool for Ideapad series