Tag: jython

57 votes
3 answers
2.7K views
Installing Jython on Ubuntu

I downloaded jython_installer-2.5.2.jar from jython.org. Opened the terminal and gave this command:- java -jar

avatar
Bryan
0 1 0 9
asked 07 September, 2021
54 votes
3 answers
2.7K views
How to catch an exception in python and get a reference to the exception, WITHOUT knowing the type?

I'm wondering how I can catch any raised object (i.e. a type that does not extend Exception), and still g

avatar
Vi
0 1 0 9
asked 07 September, 2021
65 votes
3 answers
2.5K views
Add .dll to java.library.path in Eclipse/PyDev Jython project

I'm trying to use a compiled .jar Java library in my PyDev Jython project. I successfully added the .jar

avatar
Brianne
0 1 0 9
asked 07 September, 2021
57 votes
8 answers
1.4K views
Email an attachment in R with gmail

I am desiring to send an email in R with an attachment using gmail. I have found that sendmailR does not work

avatar
Dario
0 1 0 9
asked 07 September, 2021
56 votes
6 answers
2.5K views
Migrating from CPython to Jython

I'm considering moving my code (around 30K LOC) from CPython to Jython, so that I could have better integ

avatar
Benton
0 1 0 9
asked 07 September, 2021
63 votes
4 answers
2.7K views
Can I program for android using any JVM language?

Can I use other JVM languages besides Java (e.g. jruby, jython, clojure) to program for android, or is it java

avatar
Bryant
0 1 0 9
asked 07 September, 2021
62 votes
1 answers
1.4K views
Using Jython through IPython: is readline still an issue?

I'd like to use the Jython interpreter with IPython, so that I could use things like tab completion and p

avatar
Solomon
0 1 0 9
asked 07 September, 2021
65 votes
5 answers
2.5K views
Groovy advantages over Jython or Jruby?

Why would I choose to use Groovy when I could use Jython or Jruby? Does the language provide any inherent adva

avatar
Hilario
0 1 0 9
asked 07 September, 2021
57 votes
6 answers
3K views
How can I call scikit-learn classifiers from Java?

I have a classifier that I trained using Python's scikit-learn. How can I use the classifier from a Java

avatar
Joseph
0 1 0 9
asked 07 September, 2021
67 votes
4 answers
1.7K views
How can I make the PyDev editor selectively ignore errors?

I'm using PyDev under Eclipse to write some Jython code. I've got numerous instances where I need t

avatar
Lynette
0 1 0 9
asked 07 September, 2021
48 votes
8 answers
429 views
jdbc: Get the SQL Type Name from java.sql.Type code

I have an array with Field Names and jdbc Type codes. (Those int codes that you can find in http://download.

avatar
Clarice
0 1 0 9
asked 07 September, 2021
57 votes
6 answers
1.5K views
Using a java library from python

I have a python app and java app. The python app generates input for the java app and invokes it on the comman

avatar
Solomon
0 1 0 9
asked 07 September, 2021
55 votes
2 answers
345 views
What is the difference between Python vs Jython vs IronPython vs wxPython?

I am quite new in Python programming. While googling I found some of the Python related words. I just wanted t

avatar
Kristopher
0 1 0 9
asked 07 September, 2021
60 votes
4 answers
2.2K views
How can I add jars to the classpath when I invoke Jython *without* adding them to $CLASSPATH?

I'd like to do something similar to jython -cp FOO:BAR:BAZ argle.py. If I add FOO, BAR, and BAZ to $CLAS

avatar
Majorie
0 1 0 9
asked 07 September, 2021
54 votes
1 answers
442 views
Why is Jython much slower than CPython, despite the JVM's advances?

No flame wars please. I am admittedly no fan of Java, but I consider the JVM to be a fairly decent and well-op

avatar
Denese
0 1 0 9
asked 07 September, 2021
52 votes
4 answers
809 views
How can I install various Python libraries in Jython?

I know that I can install Jython with Java and that I can use Jython where I use Python. The Jython shell is w

avatar
Wilfredo
0 1 0 9
asked 07 September, 2021
62 votes
9 answers
794 views
Cross-platform way to get PIDs by process name in python

Several processes with the same name are running on host. What is the cross-platform way to get PIDs of those

avatar
Kisha
0 1 0 9
asked 07 September, 2021
52 votes
4 answers
1.4K views
Distributing my Python scripts as JAR files with Jython?

I have been a Python programmer for almost two years, and I am used to writing small scripts to automate some

avatar
Sachiko
0 1 0 9
asked 07 September, 2021
56 votes
3 answers
598 views
log4j with timestamp per log entry

this is my log output INFO main digestemails - process inbox INFO main digestemails - checking for emails in

avatar
Corey
0 1 0 9
asked 07 September, 2021
50 votes
7 answers
1.5K views
Programming Android apps in jython

The other day I came across a Python implementation called Jython. With Jython you can write Java applications

avatar
Joseph
0 1 0 9
asked 07 September, 2021