🌐
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%
🌐
GitHub
github.com › in28minutes › java-to-python-in-100-steps
GitHub - in28minutes/java-to-python-in-100-steps: Learn Python using your Java Knowledge
Learn Python using your Java Knowledge. Contribute to in28minutes/java-to-python-in-100-steps development by creating an account on GitHub.
Starred by 60 users
Forked by 79 users
Languages   Python 50.2% | Java 49.8% | Python 50.2% | Java 49.8%
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
Any good resources for an experienced Java developer new to Python?
I find this good for people that already know how to code in another language: www.pythoncheatsheet.org More on reddit.com
🌐 r/learnpython
9
4
January 13, 2022
Java programmer learning python?
As a former C++ programmer here are the things that worked for me: The official python tutorial: https://docs.python.org/3/tutorial/index.html is enough to get you up and running quickly. I found "Learning Python: Powerful Object-Oriented Programming", by Mark Lutz to be useful for filling in the details. Comprehensive and in-depth. Practice: https://checkio.org/ was a useful source of small practice problems. It helped me to understand "pythonic" programming. A gamified set of programming problems. Easy enough to do while drinking a morning coffee. After you solve the problem, you get to see how others solved it. I enjoyed solving these problems. Other useful resources: https://docs.python.org/3/library/index.html - Covers the built-in functions, built-in datatypes and the standard library. https://pymotw.com/3/ Python 3 Module of the week. Demo code that shows how to use the standard libs. A nice addition to the reference documents. More on reddit.com
🌐 r/learnpython
10
15
April 4, 2025
Looking for project ideas to learn Python coming over from Java.
1. Create a bot to reply to "what are some beginner projects" questions on r/learnpython , using PRAW . Other than that, here are some beginner project ideas: a list of programming projects on Github another list from Github a curated list of Python projects for beginners, intermediate & advance level programmers Tech with Tim Youtube channel, full of Python projects resources in the subreddit wiki Good luck! edit. thanks for 5 upvotes! Downvote me if the post wasn't a question about examples of beginner projects. Thank you. More on reddit.com
🌐 r/learnpython
9
6
January 30, 2024
🌐
GitHub
github.com › RunestoneInteractive › java4python
GitHub - RunestoneInteractive/java4python: Open Source book for transitioning from Python to Java · GitHub
This short ebook is an ongoing project to help Computer Science students who have had one or two semesters of Python learn the Java programming language. If you are not a part of that audience you may still find this a useful way to learn about Java.
Starred by 27 users
Forked by 37 users
Languages   Python 68.6% | Makefile 31.4%
🌐
GitHub
github.com › LinkedInLearning › python-oop-for-java-developers-3002671
GitHub - LinkedInLearning/python-oop-for-java-developers-3002671: Python Object-Oriented Programming for Java Developers
This is the repository for the LinkedIn Learning course Python Object-Oriented Programming for Java Developers.
Starred by 2 users
Forked by 7 users
Languages   Python 75.7% | Java 24.3% | Python 75.7% | Java 24.3%
🌐
DEV Community
dev.to › myexamcloud › top-10-github-repositories-for-python-and-java-developers-43d5
Top 10 GitHub Repositories for Python and Java Developers - DEV Community
May 3, 2024 - It's a great way to gain practical experience and build your developer portfolio. https://github.com/practical-tutorials/project-based-learning · 10. Trekhleb/Learn-python - This extensive repository teaches Python through coding practice and can be utilized by developers of any skill level.
🌐
Lobster1234
lobster1234.github.io › 2017 › 05 › 25 › python-java-primer
Python Primer for Java Developers - Manish Pandit's Blog
May 26, 2017 - I took these notes while ramping up on Python, to be able to contribute to a few Github projects, deploy AWS Lambdas quicker, and use boto3 for quite a few projects. Plus I find it a very light, frictionless, quick and easy scripting language to have in the arsenal. This information can be particularly useful to anyone who is coming from a Java background, and wants to compare and contrast the two languages’ basic constructs and syntax.
🌐
Medium
medium.com › nestedif › cheatsheet-python-for-java-developers-98f75c94a1a
Python for JAVA Developers: Basics - NestedIf - Medium
January 12, 2023 - I am also a JAVA developer (mother tongue!) and learned the Python on my own. And If you are curious to know how python looks like form the JAVA island, peek-in, please. If you don’t have the time right now, You can download the PDF version from this link: python_for_java_developers.pdf ... Piyush Joshi for the guidance during the project. The source code to create this PDF (Latex) is available on Github...
🌐
GitHub
github.com › CrossLangNV › python-for-java-devs
GitHub - CrossLangNV/python-for-java-devs: Python for Java developers
Python for Java developers · Session 00: Getting acquainted with the Python development environment · Session 01: Exercise: Pythonification of Java code · Python for Java developers · Readme · Apache-2.0 license · 1 star · 6 watching · 2 forks · No releases published ·
Forked by 2 users
Languages   Python 93.1% | Java 6.4% | HTML 0.5% | Python 93.1% | Java 6.4% | HTML 0.5%
Find elsewhere
🌐
GitHub
github.com › akashp1712 › awesome-python-cheatsheets
GitHub - akashp1712/awesome-python-cheatsheets: A reference cheat sheet for Java developers who are learning Python programming: https://medium.com/nestedif/cheatsheet-python-for-java-developers-98f75c94a1a
A reference cheat sheet for Java developers who are learning Python programming: https://medium.com/nestedif/cheatsheet-python-for-java-developers-98f75c94a1a - akashp1712/awesome-python-cheatsheets
Starred by 104 users
Forked by 14 users
Languages   TeX 100.0% | TeX 100.0%
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.

🌐
Jython
jython.org
Home | Jython
Bug tracker Github Legacy Mailing List Developer Guide Jython 3 Features (MVP) Jython 3 Roadmap Jython 3 (snapshot) on APIdia Website source Links · The Jython project provides implementations of Python in Java, providing to Python the benefits of running on the JVM and access to classes written ...
🌐
GitHub
github.com › jython › jython
GitHub - jython/jython: Python for the Java Platform · GitHub
Python for the Java Platform. Contribute to jython/jython development by creating an account on GitHub.
Starred by 1.5K users
Forked by 228 users
Languages   Python 66.9% | Java 32.4% | GAP 0.3% | HTML 0.3% | PLSQL 0.1% | Shell 0.0%
🌐
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.
🌐
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.
🌐
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
🌐
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.

🌐
Necaiseweb
python4java.necaiseweb.org
Python for Java Programmers | Main / Home Page
Python is a scripted programming language which can be used to construct procedural or object-oriented programs
🌐
Udemy
udemy.com › development
Python for Beginners - Go from Java to Python in 100 Steps
May 4, 2023 - You will Acquire ALL the Python Skills needed to TRANSITION into Analytics, Machine Learning and Data Science Roles · You will Acquire ALL the SKILLS to demonstrate an EXPERTISE with Python Programming in Your Job Interviews · You will USE all your JAVA SKILLS and LEARN to write awesome PYTHON Programs very QUICKLY
Rating: 4.6 ​ - ​ 2.37K votes