I find this good for people that already know how to code in another language: www.pythoncheatsheet.org Answer from xelf on reddit.com
🌐
Reddit
reddit.com › r/learnpython › any good resources for an experienced java developer new to python?
r/learnpython on Reddit: Any good resources for an experienced Java developer new to Python?
January 13, 2022 -

Does anyone have any recommendations for material pitched a experienced developers wanting to get up-to-speed with Python quickly. Assume I can already read and write complex code in another language but have never used Python before.

🌐
Medium
medium.com › @pabba.varun › learning-python-a-quick-guide-for-experienced-java-developers-e49403e295ef
Learning Python: A Quick Guide for Experienced Java Developers | by Pabba Varun Kumar | Medium
August 23, 2024 - Are you an experienced Java programmer looking to learn Python? If so, this article will help you start your Python journey with ease. All programming languages share similar logic but often differ in syntax. This guide will walk you through setting up your Python environment and getting started with writing Python code.
Discussions

As a Java programmer learning Python, what should I look out for? - Stack Overflow
Much of my programming background is in Java, and I'm still doing most of my programming in Java. However, I'm starting to learn Python for some side projects at work, and I'd like to learn it as More on stackoverflow.com
🌐 stackoverflow.com
Experienced Java Dev Needing to Learn Python

Pick a project you’ve done in Java and replicate it in Python

More on reddit.com
🌐 r/learnpython
2
3
July 8, 2022
Looking for a resource to learn Python. I know Java already.

If you are familiar with a language W3schools is pretty easy site to navigate for learning a variety of languages. Also, not saying don’t pursue Python but do you know JavaScript? It’d be super easy to pick up vanilla js syntax if you known Java.

More on reddit.com
🌐 r/learnprogramming
5
1
January 2, 2022
Transitioning from java to python?
APIs are usually JSON structured. You are free to do with that what you want depending on the interface you want to expose. Python also has multiple libraries to deal with databases, usually it's a library or server type. There are also ORM solutions that map database rows to OOP objects. Like SQL Alchemy module. More on reddit.com
🌐 r/learnpython
4
2
June 18, 2021
🌐
GitHub
github.com › blu3r4y › python-for-java-developers
GitHub - blu3r4y/python-for-java-developers: If you are a Java developer and want to get a quick glance at Python, this course is for you · GitHub
If you are a Java developer and want to get a quick glance at Python, this course is for you - blu3r4y/python-for-java-developers
Starred by 66 users
Forked by 13 users
Languages   Markdown 62.4% | Python 15.9% | Java 7.7% | HTML 4.5% | Jupyter Notebook 4.5% | CSS 2.5%
🌐
Udemy
udemy.com › development
Python for Beginners - Go from Java to Python in 100 Steps
May 4, 2023 - Best course for those who know Java and new to python, and want to learn by comparison. 5 STARS - Very informative course . The instructor does a great job explaining the details. I feel confident that I create Python programs with accepted standard patterns and style now. 5 STARS - Amazing course - very helpful in transitioning to Python from a Java mindset · 5 STARS - A java developer can quickly go through all the videos without practicing any example[But recommended to do exercises if you have time and not really eager to know python]. Once you complete all the videos, you can come back and start referring/practicing as per your need."
Rating: 4.6 ​ - ​ 2.37K votes
🌐
Runestone Academy
runestone.academy › ns › books › published › java4python › index.html
Welcome to Java for Python Programmers — Java for Python Programmers
Java for Python Programmers · Preface · Introduction · Why Learn another programming Language? Lets look at a Java Program · Java Data Types · Conditionals · Loops and Iteration · Defining Classes in Java · Naming Conventions · Common Mistakes · Java Documentation ·
🌐
Quora
quora.com › What-are-some-good-ways-for-a-Java-programmers-to-learn-Python
What are some good ways for a Java programmers to learn Python? - Quora
It's, by no means, exhaustive. The Google's Python Class should be a good start. It teaches the core of the languages within 16 hours of lectures interspersed with lots of (good) exercises.
Find elsewhere
🌐
Udemy
udemy.com › development
Python for Java Developers
December 15, 2024 - This course will help you to learn to program in Python by leveraging the skills you already have in Java, or another high-level object-oriented programming language. I won't waste your time explaining things you already know, like what functions ...
Rating: 4.7 ​ - ​ 96 votes
🌐
Amazon
amazon.com › Python-Busy-Java-Developer-Ecosystem › dp › 148423233X
Python for the Busy Java Developer: The Language, Syntax, and Ecosystem: Sarda, Deepak: 9781484232330: Amazon.com: Books
Python for Geeks: Build production-ready applications using advanced Python concepts and industry best practices ... Are you a seasoned Java developer who wishes to learn Python? Perhaps you’ve just joined a project where a chunk of system integration code is written in Python.
🌐
Aryaboudaie
aryaboudaie.com › java › python › technical › educational › 2017 › 11 › 13 › python-for-java-programmers.html
Python for Java Programmers - Part 1 - The Big Picture — Learning Python as a Second Language » Arya Boudaie's Personal Site
November 13, 2017 - Instead, I will try to take another approach, by using what you already know to give you a head start into being a Python expert. In this guide, I’ll go through a list of all the topics you have learned in Java, and explain how you can do similar things in Python, as well as new tips and tricks to keep you learning!
🌐
Amazon
amazon.com › Python-Java-Developers-Handbook-experts-ebook › dp › B0BLTQ93HF
Python for Java Developers: A Handbook for busy experts - Part one , Cavaléro, Pedro, eBook - Amazon.com
Python for Java Developers: A Handbook for busy experts - Part one - Kindle edition by Cavaléro, Pedro. Download it once and read it on your Kindle device, PC, phones or tablets. Use features like bookmarks, note taking and highlighting while reading Python for Java Developers: A Handbook for busy experts - Part one.
Top answer
1 of 7
26
  • Don't put everything into classes. Python's built-in list and dictionaries will take you far.
  • Don't worry about keeping one class per module. Divide modules by purpose, not by class.
  • Use inheritance for behavior, not interfaces. Don't create an "Animal" class for "Dog" and "Cat" to inherit from, just so you can have a generic "make_sound" method.

Just do this:

class Dog(object):
    def make_sound(self):
        return "woof!"

class Cat(object):
    def make_sound(self):
        return "meow!"

class LolCat(object):
    def make_sound(self):
        return "i can has cheezburger?"
2 of 7
23

The referenced article has some good advice that can easily be misquoted and misunderstood. And some bad advice.

Leave Java behind. Start fresh. "do not trust your [Java-based] instincts". Saying things are "counter-intuitive" is a bad habit in any programming discipline. When learning a new language, start fresh, and drop your habits. Your intuition must be wrong.

Languages are different. Otherwise, they'd be the same language with different syntax, and there'd be simple translators. Because there are not simple translators, there's no simple mapping. That means that intuition is unhelpful and dangerous.

  • "A static method in Java does not translate to a Python classmethod." This kind of thing is really limited and unhelpful. Python has a staticmethod decorator. It also has a classmethod decorator, for which Java has no equivalent.

    This point, BTW, also included the much more helpful advice on not needlessly wrapping everything in a class. "The idiomatic translation of a Java static method is usually a module-level function".

  • The Java switch statement in Java can be implemented several ways. First, and foremost, it's usually an if elif elif elif construct. The article is unhelpful in this respect. If you're absolutely sure this is too slow (and can prove it) you can use a Python dictionary as a slightly faster mapping from value to block of code. Blindly translating switch to dictionary (without thinking) is really bad advice.

  • Don't use XML. Doesn't make sense when taken out of context. In context it means don't rely on XML to add flexibility. Java relies on describing stuff in XML; WSDL files, for example, repeat information that's obvious from inspecting the code. Python relies on introspection instead of restating everything in XML.

    But Python has excellent XML processing libraries. Several.

  • Getters and setters are not required in Python they way they're required in Java. First, you have better introspection in Python, so you don't need getters and setters to help make dynamic bean objects. (For that, you use collections.namedtuple).

    However, you have the property decorator which will bundle getters (and setters) into an attribute-like construct. The point is that Python prefers naked attributes; when necessary, we can bundle getters and setters to appear as if there's a simple attribute.

    Also, Python has descriptor classes if properties aren't sophisticated enough.

  • Code duplication is often a necessary evil in Java (e.g. method overloading), but not in Python. Correct. Python uses optional arguments instead of method overloading.

    The bullet point went on to talk about closure; that isn't as helpful as the simple advice to use default argument values wisely.

🌐
Medium
medium.com › @malvin.lok › how-to-learn-python-faster-when-you-are-a-java-developer-for-5-years-acd8e0d224b8
How to Learn Python Faster When You Are a Java Developer for 5 Years? | by Malvin Lok | Medium
July 16, 2023 - Here is some advice to learn Python more easily by utilizing your Java program experience. Begin by familiarizing yourself with the basic syntax and features of Python.
🌐
Coursera
coursera.org › browse › computer science › software development
Introduction to Programming with Python and Java | Coursera
Analyze data further by applying learned skills in data aggregation and summarization, as well as basic data visualization · Category: Pandas (Python Package)Pandas (Python Package) ... Identify core aspects of object-oriented programming and features of the Java language. Use Eclipse for writing and running Java code. Develop programs that use Java collections and apply core object-oriented programming concepts using classes, polymorphism, and method overloading.
Rating: 4.5 ​ - ​ 1.9K votes
🌐
Quora
quora.com › How-long-would-it-take-for-a-Java-developer-to-learn-Python
How long would it take for a Java developer to learn Python? - Quora
Answer (1 of 7): That depends on how you define "learn" Python. There are many different ways of looking at it, which is mirrored by the answers thus far: * Being able to express the solution to your problem in Python and writing short scripts. * Being able to write more complex applications....
🌐
Medium
medium.com › @anusuyadevi › python-basics-for-java-developers-a-beginners-guide-1033b605f5ac
Python Basics for Java Developers: A Beginner’s Guide | by Anusuyadevi S B | Medium
November 14, 2024 - After working with Java for years, Python feels refreshingly simple yet incredibly powerful. The lack of boilerplate code, dynamic typing, and vast standard library make it an excellent language to learn. If you’re a Java developer looking to dive into Python, I highly recommend checking out Jose Portilla’s “The Complete Python Bootcamp From Zero to Hero in Python” on Udemy.
🌐
Real Python
realpython.com › java-vs-python
Java vs Python: Basic Python for Java Developers – Real Python
August 16, 2024 - Are you an experienced Java developer who wants to know more about Python? In this tutorial, you'll compare Java vs Python and get to know the similarities and differences between the languages. You'll also learn how to figure out when Python is a good choice for your specific use cases.
🌐
Medium
medium.com › womenintechnology › journey-to-java-part-1-d8fa449db764
Journey to Java: Part 1. Learning Java as a Python Programming… | by Nisha Kaushal | Women in Technology | Medium
January 27, 2024 - Journey to Java: Part 1 Learning Java as a Python Programming Data Scientist Why Java, and Why Now? A while ago, when I was in undergrad at UC Riverside obtaining my Bachelor’s in Mathematics, I …
🌐
O'Reilly Media
oreilly.com › videos › java-to-python › 9781789611960
Java to Python in 100 Easy Steps - The Fastest Way to Learn Python for Experienced Java Programmers [Video]
In this 7-hour course, you'll transition seamlessly from Java to Python, mastering the key Python programming concepts while building on your Java expertise. You'll learn object-oriented programming, work with Python's data structures, and develop ...