| | |
Convert from JAVA/JSP to Python
Thread Solved |
A line by line translation from Java to Python is almost impossible. Java is simply too cumbersome. It is usually best to look at what the Java app does and then start new with Python.
Here is a small side by side comparison of Java and Python:
http://www.ferg.org/projects/python_...e-by-side.html
Here is a small side by side comparison of Java and Python:
http://www.ferg.org/projects/python_...e-by-side.html
May 'the Google' be with you!
You are using Apache to serve content, right? If that's the case, the Mod_python module (an Apache module, not a Python module) provides PSP (Python Server Pages) functionality - just what you'd need to replace your JSPs. You can get more information on this platform by following these links:
Basic PSP tutorial
Official PSP documentation
The Mod_python site
As for a line-by-line Java-to-Python converter? I think you might be out of luck on that one. Your best bet is to learn PSP and the basics of inline programming (if you don't know them already) and then get help for the JSP stuff. I used to do a fair amount of JSP programming, so if you have specific questions you can try me or you can ask the people in the Java or JSP forums, who are bound to be much more knowledgeable.
Basic PSP tutorial
Official PSP documentation
The Mod_python site
As for a line-by-line Java-to-Python converter? I think you might be out of luck on that one. Your best bet is to learn PSP and the basics of inline programming (if you don't know them already) and then get help for the JSP stuff. I used to do a fair amount of JSP programming, so if you have specific questions you can try me or you can ask the people in the Java or JSP forums, who are bound to be much more knowledgeable.
Vi veri veniversum vivus vici
![]() |
Similar Threads
- Contract: Java, JSP, J2EE, XML & Fuego - USA (anywhere) (Web Development Job Offers)
- Need a good java /jsp developer for a gaming project (Software Development Job Offers)
- Java/JSP Web Dev (IT Professionals' Lounge)
- Code convertion from JAVA/JSP to Python (Java)
- Move out java code from jsp (Java)
- convert python to java (Python)
Other Threads in the Python Forum
- Previous Thread: raw_input exception
- Next Thread: Help with calculating a percent amount
| Thread Tools | Search this Thread |
alarm ansi app assignment avogadro backend beginner binary bluetooth character cmd customdialog cx-freeze data decimals dictionary directory dynamic error exe file float format function generator getvalue gnu graphics halp heads homework http ideas import input ip itunes java leftmouse line linux list lists loop maintain maze millimeter module mouse number numbers output parsing path pointer port prime programming progressbar push py2exe pygame python queue random recursion schedule screensaverloopinactive script scrolledtext slicenotation sqlite ssh statistics string strings sudokusolver sum text thread threading time tlapse tuple tutorial ubuntu unicode url urllib urllib2 variable variables ventrilo vigenere web webservice wikipedia write wxpython xlib






