Die Suche ergab 4 Treffer

von Rakshan
Dienstag 15. Februar 2022, 10:45
Forum: Allgemeine Fragen
Thema: Installation issue
Antworten: 1
Zugriffe: 7306

Installation issue

hello, kindly excuse my language

I have python 3.9.6 installed on my system. I run a simple program and execute via cmd.


C:\Users\R.XXXX>py -V
Python 3.9.6


I run a simple program:

C:\Users\R.XXXX>py hello.py
Hello


But, when I run it the following way it gives an error:

C:\Users\R ...
von Rakshan
Mittwoch 28. Juli 2021, 12:13
Forum: Allgemeine Fragen
Thema: Unable to access jarfile
Antworten: 5
Zugriffe: 1028

Re: Unable to access jarfile

Thanks for the suggestion . I had missed adding the directory path for my new run configuration in pycharm. Got it working through that
von Rakshan
Dienstag 27. Juli 2021, 13:24
Forum: Allgemeine Fragen
Thema: Unable to access jarfile
Antworten: 5
Zugriffe: 1028

Re: Unable to access jarfile

Thank you for your reply.
I figured out the error. In pycharm IDE, I had not added the working directory for the run configuration. My silly mistake
von Rakshan
Dienstag 27. Juli 2021, 13:04
Forum: Allgemeine Fragen
Thema: Unable to access jarfile
Antworten: 5
Zugriffe: 1028

Unable to access jarfile

Excuse my English, mein Deutsch is nicht gut.

I had a java application which was testing servers. We are migrating to python, and for a start we are making use of the jar from the java application.

I use the jar in my python script, and call the

```
subprocess.call(
['java', '-jar', 'XYZ.jar ...