Python Forum
In need of insight regarding Python file reading mechanisms.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
In need of insight regarding Python file reading mechanisms.
#3
(Sep-17-2021, 11:51 AM)Larz60+ Wrote: Some questions:
  • I am not familiar with CDB database, is that Oracle?
  • And can it be read as a flat file as you are trying to do?
  • you are searching for text "(3i9,6e21.13e3)" including parenthesis and all, is that your goal?
  • Do you know for a fact that that is contained in the file?

* I don't know what oracle is. This is a file that was made using ANSYS 15.0.7, a simulations program.
In fact the important information of this database is located after the (3i9,6e21.13e3) and represents X, Y and Z coordinates for a 3D model of a rotor. (I have the cdb file opened in PyCharm)

* I imagine it can because the txt file produced by mo program is identical in every way to the cdb.
* For now it is, because ultimetaly I want to be able to change values but only the ones after the (3i9,6e21.13e3).
* I know for a fact that this is in the file: the first SC is the original cdb file and you can see it underlined in blue
Reply


Messages In This Thread
RE: In need of insight regarding Python file reading mechanisms. - by EnfantNicolas - Sep-17-2021, 12:10 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Sad problems with reading csv file. MassiJames 3 796 Nov-16-2023, 03:41 PM
Last Post: snippsat
  Reading a file name fron a folder on my desktop Fiona 4 1,057 Aug-23-2023, 11:11 AM
Last Post: Axel_Erfurt
  Reading data from excel file –> process it >>then write to another excel output file Jennifer_Jone 0 1,221 Mar-14-2023, 07:59 PM
Last Post: Jennifer_Jone
  Reading a file JonWayn 3 1,191 Dec-30-2022, 10:18 AM
Last Post: ibreeden
  Reading Specific Rows In a CSV File finndude 3 1,076 Dec-13-2022, 03:19 PM
Last Post: finndude
  Excel file reading problem max70990 1 961 Dec-11-2022, 07:00 PM
Last Post: deanhystad
  Replace columns indexes reading a XSLX file Larry1888 2 1,064 Nov-18-2022, 10:16 PM
Last Post: Pedroski55
  Failing reading a file and cannot exit it... tester_V 8 1,923 Aug-19-2022, 10:27 PM
Last Post: tester_V
  Reading .csv file doug2019 4 1,804 Apr-29-2022, 09:55 PM
Last Post: deanhystad
  Reading an Input File DaveG 1 1,321 Mar-27-2022, 02:08 AM
Last Post: deanhystad

Forum Jump:

User Panel Messages

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