Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Storing version of the downloaded libs using json file
Post: RE: Storing version of the downloaded libs using j...

Hi Buran, Yes I had asked the question on SO yesterday. I still have not achieved the clarity that I wouldve liked, and was hoping it would be easier with the json file. Working with Json is new for m...
Rakshan Homework 3 1,328 Mar-21-2023, 07:31 AM
    Thread: Storing version of the downloaded libs using json file
Post: Storing version of the downloaded libs using json ...

Hi, I am working on a requirement where I download packages from a repository using Python. To improvise the script further, we want to have a setup where we store the versions of the libraries/packag...
Rakshan Homework 3 1,328 Mar-20-2023, 03:06 PM
    Thread: Migration of Python2 and Python3 using Modernize and Future
Post: RE: Migration of Python2 and Python3 using Moderni...

Rectified: problem was with the mulitple versions. I had to install the library in python2. but my pip install command was installing it in python3. After referring the document: https://docs.python.o...
Rakshan General Coding Help 5 2,533 Feb-21-2022, 02:22 PM
    Thread: Migration of Python2 and Python3 using Modernize and Future
Post: RE: Migration of Python2 and Python3 using Moderni...

(Feb-21-2022, 12:20 PM)Axel_Erfurt Wrote: Did you installed six in python2? I have downloaded the tar.gz file and extracted it to C:\Python27/Tools/Libs/site-packages
Rakshan General Coding Help 5 2,533 Feb-21-2022, 12:34 PM
    Thread: Migration of Python2 and Python3 using Modernize and Future
Post: Migration of Python2 and Python3 using Modernize a...

I am working on the migration of files from Python2.7 to Python3+. As a part of preparation, I have come across utility 2to3, Modernize and Futurize 2To3 seems to be very simple and I have managed to...
Rakshan General Coding Help 5 2,533 Feb-21-2022, 12:14 PM
    Thread: printing contents of Jar on timeout
Post: printing contents of Jar on timeout

Hello, I have a requirement to execute a jar, and also have a timeout mechanism around it , such that when a timeout occurs, the exeuction stops. On my research I found that we can use the 'timeout'...
Rakshan General Coding Help 1 1,726 Jul-30-2021, 07:18 AM
    Thread: printing out the contents aftre subprocess.call()
Post: RE: printing out the contents aftre subprocess.cal...

(Jul-29-2021, 04:05 PM)bowlofred Wrote: The order of the things you're printing is odd (you print the separators back to back, while the output is printed before them), but otherwise seems reasonabl...
Rakshan General Coding Help 3 2,763 Jul-30-2021, 07:03 AM
    Thread: printing out the contents aftre subprocess.call()
Post: printing out the contents aftre subprocess.call()

I am facing a scenario where in I need to execute a jar based on user parameters. I have replicated the scenario here as below : import subprocess a = input('Enter either 2 or 3:') value = int(a) i...
Rakshan General Coding Help 3 2,763 Jul-29-2021, 01:45 PM
    Thread: Accessing varying command line arguements
Post: Accessing varying command line arguements

I am using a java jar in Pycharm environment to achieve testing in a pythion environment. To make the application more interactive, we plan to use commandline arguments. Eg: python test.py opc.tcp:/...
Rakshan General Coding Help 3 2,058 Jul-28-2021, 11:25 AM
    Thread: Unable to access jarfile
Post: RE: Unable to access jarfile

Thank you for the suggestion. I got it working, as I had not added the direectory path in pycharm.
Rakshan General Coding Help 2 2,658 Jul-28-2021, 11:10 AM
    Thread: Unable to access jarfile
Post: Unable to access jarfile

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...
Rakshan General Coding Help 2 2,658 Jul-27-2021, 11:48 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020