Getting Started with Python Programming and Scripting in Linux – Part 1

Page 1 of 212

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.95/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Gabriel Cánepa

Gabriel Cánepa is a GNU/Linux sysadmin and web developer from Villa Mercedes, San Luis, Argentina. He works for a worldwide leading consumer product company and takes great pleasure in using FOSS tools to increase productivity in all areas of his daily work.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

8 Responses

  1. CrustyCurmudgeon says:

    If you want to discard Python 2.x and use 3.x instead when you type python, you can modify the corresponding symbolic links as follows:”

    Be advised this will result in broken packages (Samba and Python libs) in Linux Mint 18.2

  2. Utsav patel says:

    Thanks a lot

  3. Constantin says:

    Nice one!
    I will wait for the update.

    Just as note. As sysadmin never remove python 2. One of the utilities that will break will be yum.

  4. chuckers says:

    It is NOT a good idea to throw away Python 2 if you want to use Ansible. Ansible breaks if you use Python 3

    • @chuckers,
      Please note we never said you SHOULD throw away Python 2. We only mentioned updating the symlinks as a possibility. Please check Part 2 of this series where I clarified that in detail: https://www.tecmint.com/learn-python-programming-to-write-linux-shell-scripts/

      • CrustyCurmudgeon says:

        Seriously Gabriel? That’s like posting “If you’d like to increase space on your hard drive, you can use “rm -rf /” and then saying that you” didn’t actually recommend it.” when someone points out it deleted their entire hard drive.

        Novice Linux users come to sites like this and follow directions; “clarifying” potentially damaging instructions after the fact isn’t very useful. You should, at the very least, insert a clear cautionary statement. Better yet, move this “suggestion” and the “clarification to the suggestion” adjacent to each other AND include a cautionary statement that it can break packages on some common distros.

  5. sangram says:

    awesome

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *