0
votes
1answer
18 views

Escape sequences vs predefined character classes (aka special regex characters) when encapsulated by double quotes

Perl, like Java and Python, has \s, the special regex character that matches whitespace, in addition to other special characters. In Perl, the following would not be valid: my $sentence = "The ...
0
votes
1answer
21 views

Can anyone recommend a library with which I can login to a web form, and than execute a javascript function to upload a file?

I need to be able to fill out a login form, submit the login information. And then it should upload a file. The catch is that I need to be able to do this at least 100 times concurrently. I've tried ...
-7
votes
0answers
95 views

Programming with a MacBook Pro [closed]

Is there any cheat sheet providing shortcuts for symbols used with different programming languages (e.g. ~, \, |, braces, etc.). MacBook Pro keyboard is beautiful, but clearly not functional at all.
0
votes
0answers
18 views

Unable to import .jar in python script using jython

I have created a single class (Calculator.java) with static functions (Add and Subtract) in 'calc.pkg' package. I am trying to refer these in a python script with the statement 'from calc.pkg import ...
0
votes
1answer
21 views

Trouble with Jython GUI

I am having a problem with my Jython GUI. I need to make the text field appear. I believe I am running into a problem with the Layout, but I am unsure about how to create a new FlowLayout in Jython. ...
0
votes
1answer
26 views

Can a hashed password using BCrypt in Java be recognised by Python?

I'm planning to hash user passwords using bcrypt, and to store these hashed passwords in a database. The server that handles user account creation, and inserts the hashed password to the database is ...
0
votes
1answer
60 views

optimizing google protocol buffer

I'm new to google's protocol buffers and looking into some insight. I have a large object that is serialized in java which I am de-serializing in python. The upstream tells me that the file is ...
3
votes
0answers
140 views

Python compiler for simple language to java vm code algorithm

I have a simple language that I am trying to write a compiler for (yes it is homework) to compile a simple language I shall describe if necessary to java vm code. It currently works pretty well I've ...
3
votes
3answers
1k views

PyDev for Eclipse - Resolve Python dependencies (unresolved imports)

I am using PyDev for Eclipse as my IDE and pip as my package management tool, running virtualenv. Every time I want to use/include some new libraries or new dependencies in my project, I add them ...
0
votes
1answer
108 views

Indivo Server Java API for authentication

I am newbie in Indivo server and having an user authentication in Python for Indivo server using Indivo app using Python but failed to get user authentication in JAVA.I found JAva Client ...
2
votes
2answers
614 views

Generalized Sequential Pattern algorithm MapReduce

I am looking for an example implementation of the Generalized Sequential Pattern algorithm (GSP) http://en.wikipedia.org/wiki/GSP_Algorithm Whilst the Wikipedia article provides psuedo code, its a ...
7
votes
7answers
6k views

Java: Equivalent of Python's range(int, int)?

Does Java have an equivalent to Python's range(int, int) method?
4
votes
6answers
279 views

Continuing my programming education [closed]

I completed Stanford's CS106a over the summer and took the ap exam in java a few months ago. As a result I have a pretty good knowledge of java. Now I want to continue my programming education. ...
11
votes
4answers
42k views

How do you extract a JAR in a UNIX filesystem with a single command and specify its target directory using the JAR command?

I am creating a Python script within which I am executing UNIX system commands. I have a war archive named Binaries.war which is within an ear archive named Portal.ear The Portal ear file resides in, ...
56
votes
4answers
14k views

Does python have an equivalent to Java Class.forName()?

I have the need to take a string argument and create a class in python. In Java, I would use Class.forName().newInstance(). Is there an equivalent in python? Thanks for the responses. To answer ...

1 2 3 4 5 130
15 30 50 per page