Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
0 votes
0 answers
26 views

I have a system that creates csv files nightly and sends them off to a SMTP server. Customer has requested that we make a separate text file with differently formatted timestamps, this time to ISO ...
Brian Karabinchak's user avatar
1 vote
1 answer
1k views

I'm using some Oracle API with Jython2.5. Once of the methods returns: 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', '...
M. Phys's user avatar
  • 147
0 votes
1 answer
391 views

I have two directories: path/to/folder and path/to/otherfolder which both have several sub-directories inside them: path/to/folder/TEST1, path/to/folder/TEST2, path/to/otherfolder/TEST1, path/to/...
M. Phys's user avatar
  • 147
0 votes
1 answer
240 views

I am running a python program called diagnostics.py from a java class called PyInterpreter that intializes a jython PythonInterpreter object and a file to use and can run methods from that python ...
Amanda's user avatar
  • 21
3 votes
1 answer
8k views

The goal Take the data in mssql, an image, convert to base64 and embed in an email. Deets I have an image, stored in a varbinary column in a mssql database. 0xFFD8FFE00.... On the other end, I'm ...
Bmo's user avatar
  • 1,222
1 vote
1 answer
417 views

I'm working inside a system that has Jython2.5 but I need to be able to call some of Google's apis so I wrote an offline script that I wanted to call from my Jython environment and return to me small ...
Bmo's user avatar
  • 1,222
1 vote
0 answers
95 views

I'm trying to use Jython in order to achieve struct.unpack() method of python. I've a String which is packed using python and I want to unpack it in java (using jython) I've added the following ...
Iti Gupta's user avatar
  • 199
1 vote
0 answers
134 views

Im programming a Jump&Run in TigerJython (Python). I implemented the formulas so the actor jumps up(when pressing up-button) and then the actor should go down automatically thanks to the ...
Ragnarök's user avatar
  • 138
0 votes
1 answer
131 views

In Jython 2.5.3, trying to import itertools: >>> from itertools import product Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: cannot import ...
Stewart's user avatar
  • 19k
0 votes
0 answers
109 views

I am trying to execute my python script which imports globally installed modules through pip. (Module like nltk) Below is my code. interpreter.execfile("/home/roy/eclipse-workspace/geospatial-...
Swastik Roy's user avatar
0 votes
1 answer
287 views

I am facing the below error in my sikuli script +++ running this Java java version "1.7.0_21" Java(TM) SE Runtime Environment (build 1.7.0_21-b11) Java HotSpot(TM) Client VM (build 23.21-b01, mixed ...
alpha0's user avatar
  • 67
0 votes
0 answers
110 views

Ignoring identation, below Jython code when executed from command line produces, output with self-closing tags(No data), as shown in the picture below from java.io import * import javax.xml from java....
Kpulaparthi's user avatar
1 vote
0 answers
531 views

I am trying to parse a text file and convert it to xml file. For that i got one code(python3) which got executed successfully on my windows machine. But, the same code when i wanted to execute on my ...
Mr.Robot's user avatar
  • 529
-2 votes
1 answer
268 views

I have the following class. The behavior for self.value and self.name are identical. Only the variable names are different. How can I rewrite this so that I don't have to define two essentially ...
iamthebull's user avatar
0 votes
1 answer
1k views

I'm trying to retrieve data during AftLoad event: RSet = fdmAPI.executeQuery("SELECT * FROM HYP_CST.dbo.STAGING", []) while RSet.next(): do_something() And get the following exception: FATAL [...
Pavel Zimogorov's user avatar

15 30 50 per page
1
2 3 4 5
7