Python Script – Learning the hard way!


I recently enrolled in a Python Online Course – although I’ve been using it for more than a year now, It was always good to go back to the roots of it and refresh the fundamental knowledge I have.

The online course I’m talking about is this: learnpythonthehardway.org.

It’s a very straight forward beginners guide to creating scripts using the platform. The author was great in explaining every detail and every output. He encourages learners to not copy and paste, but to actually code what he wrote on the site.

ex35_py_and_Python_Script_–_Learning_the_hard_way____AREYES

So whats in it for me? 

We’ll I’ve always been fascinated with automation using scripting languages. I find it “attractive” and “fulfilling” creating different scripts to automate a complex process – and Python is, if not the best, is one of the best there is. It’s so simple and yet so powerful. Extremely easy to learn – allowing developers to be creative with it! Some might not say the same thing, but I’m very excited just thinking about the things I can do with it.

I used it so far:

  1. Automated our side by side comparison generation.
  2. Automate my local application deployment.
  3. Web scrapping and putting them on a database (cannot give details on this one though).
  4. Simple Registration process using DJango

If you’re going to start it though, make sure you either have Notepad++ (if you’re on windows) or TextWrangler/Sublime Text (in Mac). Open up your terminals (Mac comes with python 2 – as of this writing). Something like this:

learnpythehardway_—_sh_—_81×23_and_ex35_py_and_Edit_Post_‹_AREYES_—_WordPress

Some Tips:

  1. Start with a TextEditor – not a IDE that has intellisense in it. There is no fun with that. If you need documentation, use the pydocs!
  2. Pydocs <object> – Extremely Helpful!
  3. Python Editor Plugin for Sublime Text.
  4. Get Projects! Don’t just practice – do real stuff and contribute!

Join me in improving this comparison tool! https://github.com/alvinjayreyes/svnDiffToHtml

 

Happy Coding!

One thought on “Python Script – Learning the hard way!

  1. E-book readers Since reading is a favorite pastime for most
    people, these gadgets are in great demand today. Perhaps it is a treat she found when traveling in another state or country.
    If you are creative in planning to surprise your husband, he, more than likely, will be quite pleased with
    the specialness of your effort regardless of the size of your gift.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s