Tagged Questions
-4
votes
0answers
35 views
Which Python libraries are influenced by Java? [closed]
Which python libraries would you say are heavily influenced (or even complete replicas of) previous Java libraries?
I can easily think about httpunit as an example (referencing JUnit) or the python ...
0
votes
1answer
13 views
SikuliX 1.0rc3 r903 type() to use normal nuber instead of Numpad
I have a little automation script with SikuliX to maintain a certain flow in a application and I need to press a numeric key (1,2,3...,0).
The problem is that the application doesn't seem to accept ...
-6
votes
2answers
78 views
How do I convert my *.py files to *.class files? [closed]
I need to convert .py files to .class files so that I can make use of my Python code in a Java environment. How do I do it?
1
vote
1answer
25 views
How to create a dict that contains Java Classes hierarchy (in Python)?
I'm creating a class diagram drawer for Java and I need to look into standard Java Classes to check whether two classes have common ancestor (some additional feature). I was thinking of creating a ...
0
votes
1answer
29 views
Running Java Application using Popen
I am running tika on my Linux server, and I want to run it using python (subprocess.Popen)
However, I have a non-root access, so I only have a local java installation. Every time I need to set the ...
0
votes
0answers
12 views
How do I import user built jars in Python using JPype?
I am using JPype in Python so I can call Java functions. I am having trouble importing my own jar files.
I have this jar: ...
-7
votes
1answer
64 views
How to rewrite Java class, methods and atributes to Python [closed]
I have big problem to rewrite java code to python. In java I have some classes, methods and atributes, which I need to write to python. But how to make it? Java code for example:
public class Car {
...
0
votes
0answers
19 views
How to use ExpectJ in Jython?
In our company we use Jython for some reason. I need to extend it with the ExpectJ, but I could not figure out how to do it.
I managed to download the expectj-2.0.7.jar, expectj-2.0.7-sources.jar and ...
-1
votes
0answers
88 views
Backend development - java vs python vs ruby [closed]
We are planning to develop a web application for administrative use for meta-data transformations, these are the main features:
define (in UI) transformation rules based schema files that can be ...
0
votes
1answer
67 views
What is the difference between weak typing, autoboxing, widening conversions? [closed]
It seems the definition of weak typing (not to be confused with dynamic typing) is that a binary operator can work when both values are a different type.
Python programmers argue that Python is ...
1
vote
0answers
22 views
Jython generate class files
I would like to know if it is possible to generate class files corresponding to my Jython program.
I found this :
$> jython -m compileall myfolder
This does generate class files with coherent ...
-1
votes
1answer
26 views
Java/Python library for implementing v3 X.509 extensions [closed]
I am interested in creating X509 v3 certificates containing custom extensions and I'm looking for a suitable library. Preferably, in Java or Python. I wouldn't mind C/C++ too.
I've been looking for a ...
2
votes
1answer
33 views
Why is Runtime.getRuntime().exec forking a process as root in Tomcat?
I am using Runtime.getRuntime().exec(...) to execute a python script from within a Tomcat webapp. Everything goes fine when I am in my development environment (Eclipse running my local Tomcat (located ...
0
votes
1answer
52 views
Creating own POS Tagger
I have found the Stanford POS Tagger pretty good, but somehow I found myself in need of creating my own POS tagger.
For the last two weeks, I am rambling here and there, on whether to start from ...
1
vote
1answer
61 views
Convert MSword to XML/HTML on Linux
I need to convert MSWord file into XML or HTML, while preserving the structure of the file (mainly tables). I happened to find tika, which is quite powerful in extracting text from MSword files (and ...