Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

What can I use Python for?

  1. Jan 14, 2016 #1
    Hello all,

    If this has been asked before, please forgive me; what can Python be used for? Is it good for programming apps and whatnot? I have never done any programming before, so this is my very first programming language that I have just started learning.

    Thanks for answering
     
  2. jcsd
  3. Jan 14, 2016 #2
    Python in recent years has been, from what I've heard, increasingly used in scientific and statistical computing. You can make programs that do whatever you want with it. If you're talking about mobile apps, though, Android apps are coded mostly in Java while iOS apps are coded in Objective C.
     
  4. Jan 14, 2016 #3
    Oh, oh okay. Is Java harder than python?
     
  5. Jan 14, 2016 #4
    Java is different than Python. Some would say that programming languages aren't necessarily "harder" than one another, but speaking from my point of view, I would say that yes, jumping into Python as a first-time programmer is much easier than Java.

    That said, while they're different programming languages, the same concepts appear all throughout programming and computer science, and if you understand those concepts, switching languages isn't too big of a deal.
     
  6. Jan 14, 2016 #5
    Coolios. Thank you!
     
  7. Jan 14, 2016 #6

    ChrisVer

    User Avatar
    Gold Member

    In what way are they different? Both are Object Oriented Programming languages. Of course they are different but no language is the same with others.

    In my use of Python I consider it to be a pretty simple language to learn, but reading through python code I can easily get confused with the return types of different methods or functions (since it doesn't have type initializations).
     
  8. Jan 14, 2016 #7
    Python is interpreted whereas Java is compiled. In Java, everything is in a class, whereas classes aren't required in Python. Of course, types must be specified when created a variable in Java, unlike in Python. Java uses braces whereas Python uses indentation. Obvious syntax differences.

    Of course, those are the same differences as in all languages, but the big one is the class-oriented approach Java takes, which can be confusing for someone who has no idea what a class is. I prefer the nice and simple buildup to object oriented programming that Python allows you to do.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: What can I use Python for?
  1. Using c++ can I (Replies: 10)

Loading...