Python Forum

Full Version: Help- converting file with pyton script
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello, I have almost zero knowledge in python. There is a script for converting file to another format.

https://github.com/ypomortsev/ccss2edr

I need to convert attached file in ccss format to edr format.

Can someone help me with that?

ccss file that needs conversion

Thanks !
Please post code in thread, rather than posting links which many will not follow.
Here are instructions
@Larz60+ - the link is to github repo with many files. It's unfeasible to post it here and sharing link to the repo is in line with our help guide. Not to mention it's not their code. Nor they can attach their file.
Attached is a zip file with converted ccss to edr file

There is optional --tech-type argument, which I did not supply
Output:
usage: ccss2edr [-h] [--tech-type TECH_TYPE] ccss out Convert a .ccss file to .edr positional arguments: ccss .ccss input filename out .edr output filename optional arguments: -h, --help show this help message and exit --tech-type TECH_TYPE technology type
1. In order to do this coversion for yourself - you need python2 (the code in the repo is 7 years old)
2. Optionally - create virtualenvironment and activate it
3. install ccss2edr from repo using pip install git+https://github.com/ypomortsev/ccss2edr.git
4. run ccss2edr in your cmd/terminal
Thank you !!!