Where to start, Perl or Python

TheFORCETheFORCE Member Posts: 2,297 ■■■■■■■■□□
Hey all,
I would like to get into learning one of those programming languages above. Last time i did any programming was way back when i was in college and haven't worked on anything programming related since. I'm familiar with C/C++ and some Java. So having some exposure to those languages what would be easier to learn, Perl or Python? I see a lot of job postings or at least the one that interest me that you require to have some basic knowledge of either Perl or Puthon. What would be easier to start with?
Thanks!

Comments

  • the_Grinchthe_Grinch Member Posts: 4,165 ■■■■■■■■■■
    You couldn't lose by going with one or the other. But I'd say start with Python.
    WIP:
    PHP
    Kotlin
    Intro to Discrete Math
    Programming Languages
    Work stuff
  • MSP-ITMSP-IT Member Posts: 752 ■■■□□□□□□□
    For the love of all that is holy, start with Python. You won't regret it.
  • varelgvarelg Banned Posts: 790
    You mentioned java and yet you are in a dilemma? Python, go for it...
  • CyberscumCyberscum Member Posts: 795 ■■■■■□□□□□
  • JoJoCal19JoJoCal19 Mod Posts: 2,835 Mod
    Python for sure.
    Have: CISSP, CISM, CISA, CRISC, eJPT, GCIA, GSEC, CCSP, CCSK, AWS CSAA, AWS CCP, OCI Foundations Associate, ITIL-F, MS Cyber Security - USF, BSBA - UF, MSISA - WGU
    Currently Working On: Python, OSCP Prep
    Next Up:​ OSCP
    Studying:​ Code Academy (Python), Bash Scripting, Virtual Hacking Lab Coursework
  • TheFORCETheFORCE Member Posts: 2,297 ■■■■■■■■□□
    Great! Thanks for the feedback, i'll start with Python then. Any good beginners book to look for?
  • stryder144stryder144 Member Posts: 1,684 ■■■■■■■■□□
    I just picked up Learn Python the Hard Way. I've only gotten a exercise or two in, so not very knowledgeable yet, but I feel like I'm learning.
    The easiest thing to be in the world is you. The most difficult thing to be is what other people want you to be. Don't let them put you in that position. ~ Leo Buscaglia

    Connect With Me || My Blog Site || Follow Me
  • CCIE Wanna BeCCIE Wanna Be Member Posts: 95 ■■□□□□□□□□
    Well, the guy who invented Python works @ Google, so I would start there. They have a free intro class with videos, labs, etc. Even though the creator isn't teaching the class, the instructor is pretty good.

    Google's Intro to Python Class
    In Progress:
    WGU B.S. - I.T. - Security (and all the certs that come with it)
  • fuz1onfuz1on Member Posts: 961 ■■■■□□□□□□
    timku.com(puter) | ProHacker.Co(nsultant) | ITaaS.Co(nstultant) | ThePenTester.net | @fuz1on
    Transmosis | http://transmosis.com | LinkedIn | https://linkedin.com/in/t1mku
    If evil be spoken of you and it be true, correct yourself, if it be a lie, laugh at it. - Epictetus
    The only real failure in life is not to be true to the best one knows. - Buddha
    If you are not willing to learn, no one can help you. If you are determined to learn, no one can stop you. - Unknown
  • stryder144stryder144 Member Posts: 1,684 ■■■■■■■■□□
    I second the Google Python course, plus, they have a C++ course.
    The easiest thing to be in the world is you. The most difficult thing to be is what other people want you to be. Don't let them put you in that position. ~ Leo Buscaglia

    Connect With Me || My Blog Site || Follow Me
  • philz1982philz1982 Member Posts: 978
  • hiddenknight821hiddenknight821 Member Posts: 1,209 ■■■■■■□□□□
    So there you have it. *in Family Feud host voice* Python's the number one answer!

    I'm taking this Introduction to CS course using Python on Edx. It's interesting to learn it from a CS perspective.
  • lsud00dlsud00d Member Posts: 1,571
    So there you have it. *in Family Feud host voice* Python's the number one answer!

    lol! :)

    I've run through Learn Python the hard way a couple times but I keep trailing off towards the end so I haven't committed much to memory, however it is a very good course and I back up @stryder144 on his suggestion.
  • brownwrapbrownwrap Member Posts: 549
    The place I work in primarily uses Python. Some of the old schoolers use PERL. I work at JPL for years and PERL was developed by someone there. Anyway, as I have post before, we use ROCKS here, all of its custom scripts are Python. All of the up and coming developers here are always asking me to install this Python module, or that one. Most of the modules I install are based on some other module(s) that is already installed. I have tried to steer people here towards Anaconda Python, since it meets our needs. Here is the ROCKS page:

    https://wiki.rocksclusters.org/wiki/index.php/Main_Page
  • brownwrapbrownwrap Member Posts: 549
    Right now the choices are three flavors of Python, I am pushing Anaconda:

    https://store.continuum.io/cshop/anaconda/

    Enthought Python:

    https://www.enthought.com/

    And ActivePython:

    ActivePython is Python for Windows, Mac, Linux, AIX, HP-UX & Solaris | ActiveState

    We currently use Active, but as many modules as we have to install, Anaconda come with the mosts. Also for us, it must be easy to install additional modules, all of these come with easy to use software to add additional modules, though for the most part, I have built them.
  • MrAgentMrAgent Member Posts: 1,310 ■■■■■■■■□□
    I am surprised no one has mentioned code academy for their python course, which is free.
    Python | Codecademy
  • DoubleNNsDoubleNNs Member Posts: 2,015 ■■■■■□□□□□
    I blitzed thru half of codeacademy's Python class a few months ago. I don't think it teaches you programming, or even the language, very well. It IS great for getting syntax down and repetitive practicing. However, you won't really understand too much about what you're typing or why.

    Codeacademy might be a good start, especially if you have previous CS experience. However, you'd probably need some more advanced resources after you finish w/ Code academy.
    Goals for 2018:
    Certs: RHCSA, LFCS: Ubuntu, CNCF CKA, CNCF CKAD | AWS Certified DevOps Engineer, AWS Solutions Architect Pro, AWS Certified Security Specialist, GCP Professional Cloud Architect
    Learn: Terraform, Kubernetes, Prometheus & Golang | Improve: Docker, Python Programming
    To-do | In Progress | Completed
  • joemc3joemc3 Member Posts: 141 ■■■□□□□□□□
    What about Ruby?
  • ally_ukally_uk Member Posts: 1,145 ■■■■□□□□□□
    How do you learn Python for System administration purposes i.e as a replacement for Bash scripting or powershell?

    Any guides or tutorials?
    Microsoft's strategy to conquer the I.T industry

    " Embrace, evolve, extinguish "
  • lsud00dlsud00d Member Posts: 1,571
    @ally_uk I think the easiest way to transition from a shell language to a programming language is to learn how to do the same tasks in one and then the other.

    Of course you have to start with learning the language syntax (sentence structure, "parts of speech", etc) but I find if you know how to do something in bash or powershell, then learning the equivalent in python makes more sense for grasping the language quicker.

    For a quick example, the same way you load a module in powershell, you import a module in python.
Sign In or Register to comment.