Python Forum
[split] Help- converting file with pyton script
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[split] Help- converting file with pyton script
#4
Finally success! Maybe Python version is the key? I've used python-2.7.9.msi version. It doesn't work with python3 and probably with other version then 2.7.9.

The only change I've made was modifing ccss2edr.py by removing dots:
from .cgats import CGATS   -> from cgats import CGATS
from .edr import (  ->  from edr import (
Then I could execute script without installation. For example: python ccss2edr.py --tech-type 2 crt.ccss crt.edr (--tech-type number you can find in edr.py file).

And I recommend to use newer version of script (with more display types) from: https://github.com/mironovd/ccss2edr

Thanks for help.
Reply


Messages In This Thread
RE: [split] Help- converting file with pyton script - by eltomassito - Jul-02-2021, 09:57 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Converting .txt to .csv file SunWers 21 22,744 Jan-20-2024, 10:03 AM
Last Post: Larz60+
  How to "tee" (=split) output to screen and into file? pstein 6 4,455 Jun-24-2023, 08:00 AM
Last Post: Gribouillis
  Split pdf in pypdf based upon file regex standenman 1 4,769 Feb-03-2023, 12:01 PM
Last Post: SpongeB0B
  Converting a json file to a dataframe with rows and columns eyavuz21 13 15,099 Jan-29-2023, 03:59 PM
Last Post: eyavuz21
  How to split file by same values from column from imported CSV file? Paqqno 5 6,064 Mar-24-2022, 05:25 PM
Last Post: Paqqno
  [split] Results of this program in an excel file eisamabodian 1 2,317 Feb-11-2022, 03:18 PM
Last Post: snippsat
  split txt file data on the first column value shantanu97 2 3,685 Dec-29-2021, 05:03 PM
Last Post: DeaD_EyE
  Split Characters As Lines in File quest_ 3 3,557 Dec-28-2020, 09:31 AM
Last Post: quest_
  [split] How to convert the CSV text file into a txt file Pinto94 5 5,055 Dec-23-2020, 08:04 AM
Last Post: ndc85430
  Help- converting file with pyton script grinleon 3 3,513 Sep-23-2020, 11:48 AM
Last Post: grinleon

Forum Jump:

User Panel Messages

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