About 371,000 results
Open links in new tab
  1. Convert from Java to Python - Stack Overflow

    Apr 7, 2019 · In python what is the equivalent of import java.util.ArrayList; and how would one go about it to call another class? Will this be some sort of the above's equivalent in python? How …

  2. Jython - Convert Java array with Java Strings to Python list with ...

    Feb 9, 2021 · array(java.lang.String) I would like to convert this to a python list, with strings as the elements in the list. e.g. ['some', 'strings'] I'm not sure how to do this, or if there's a simple …

  3. Convert Java date format (yyyy) to Python (%Y) - Stack Overflow

    Apr 26, 2021 · OP's asking about how to use the "yyyymmdd"-style of format strings in Python, not how to convert a datetime to string (which there's an existing question about). – wjandrea …

  4. how can I translate efficiently a Java code to python?

    Jul 5, 2016 · If you want to translate java code to python you have to translate it manually. Automatic conversion generally does not have the appropriate quality. It looks like there are …

  5. How to convert Java program to Python - Stack Overflow

    I am looking to convert an old Java program with many classes to a python equivelent program for my company. Since I am not many years into either langauge (pretty new) I was wondering if …

  6. Convert Java class structures to Python classes - Stack Overflow

    Apr 6, 2018 · We are trying to avoid duplicate code in a project where Java and Python are used together. The majority of the code base is in Java, with Python now being added due to the …

  7. How to convert java byte [] to python string? - Stack Overflow

    The Java byte type is a signed integer; the value ranges between -128 and 127. Python's chr expects a value between 0 and 255 instead. From the Primitive Data Types section of the …

  8. Automated Python to Java translation - Stack Overflow

    Sep 30, 2008 · There is a translator called P2J that can convert a subset of Python into Java. My universal-transpiler project was written for the same purpose, but it also translates Python into …

  9. python - py4j: dict to JAVA map - Stack Overflow

    Apr 4, 2013 · This is also good if the dictionary is modified on the java side and you want to see the modifications on the python side. Py4J can automatically convert a python dict to a …

  10. How to convert Java datetime code to Python - Stack Overflow

    Jul 17, 2019 · As an aside, in Java you should not have used the SimpleDateFormat class. It is long outdated and notoriously troublesome. It is long outdated and notoriously troublesome. …

Refresh