Python Forum
Help- converting file with pyton script
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help- converting file with pyton script
#1
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 !
Reply
#2
Please post code in thread, rather than posting links which many will not follow.
Here are instructions
Reply
#3
@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
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply
#4
Thank you !!!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Converting .txt to .csv file SunWers 21 12,122 Jan-20-2024, 10:03 AM
Last Post: Larz60+
  Converting a json file to a dataframe with rows and columns eyavuz21 13 4,474 Jan-29-2023, 03:59 PM
Last Post: eyavuz21
  [split] Help- converting file with pyton script eltomassito 6 3,253 Jul-02-2021, 05:29 PM
Last Post: snippsat
  Web Form to Python Script to Text File to zip file to web wfsteadman 1 2,143 Aug-09-2020, 02:12 PM
Last Post: snippsat
  first time pyton user - help with json korenron 4 2,788 May-06-2019, 11:35 AM
Last Post: korenron
  Problems converting pyqt4 script to pyqt5 using pyqt4topyqt5.py Vysero 1 2,801 Jul-31-2018, 08:56 PM
Last Post: Axel_Erfurt
  Starter programing using Pyton for Madagascar software. Rosendo 1 2,730 Jun-16-2018, 05:46 AM
Last Post: buran
  converting python script to another version gptura 5 4,741 Mar-13-2018, 12:16 PM
Last Post: gptura
  Script to average 2 columns in .csv file, and print results to the file name. Manveer_Dhillon 3 3,628 Sep-18-2017, 10:27 PM
Last Post: Larz60+
  Calling a C Func though Pyhon Script using DLL file which is created for C file. CMMouli 4 4,669 Feb-18-2017, 05:06 AM
Last Post: Skaperen

Forum Jump:

User Panel Messages

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