Python Forum
cant save data to text file.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
cant save data to text file.
#29
(Oct-29-2017, 05:02 AM)Larz60+ Wrote: If you will try the following, I think you will have what you want.
Using the code with my changes in it.
  • fill out the form as follows
  • set kabelnamn to save-this
  • set Kabelnummer 1
  • set Parter 1
  • press Make
  • press Spara
  • fill out the form as follows
  • set kabelnamn to save-this
  • set Kabelnummer 2
  • set Parter 2
  • press Make
  • press Spara
  • Click X (upper right of form)
  • Look at your file

You should have two lines because you entered two items

You don't need to buffer for this    

The problem with this is it would take ages to make all the kabel markings we got some times kabels with like 100 parts in them it would require ages to do them all if im going to do it like in your description. But with some tinkering i think i solved it in a diffrent way i dont know if its a stupid solution or not. But here how i did it. I added a big text entry where the generated lines say 100 lines of kabel markings get stored and when i press save all those lines gets saved to a text file. I have no idea how to do it any other way.
Reply


Messages In This Thread
cant save data to text file. - by darktitan - Oct-26-2017, 05:54 PM
RE: cant save data to text file. - by Larz60+ - Oct-26-2017, 09:30 PM
RE: cant save data to text file. - by darktitan - Oct-27-2017, 03:42 AM
RE: cant save data to text file. - by Larz60+ - Oct-27-2017, 08:26 AM
RE: cant save data to text file. - by darktitan - Oct-27-2017, 03:11 PM
RE: cant save data to text file. - by wavic - Oct-27-2017, 03:20 PM
RE: cant save data to text file. - by Larz60+ - Oct-27-2017, 04:33 PM
RE: cant save data to text file. - by darktitan - Oct-27-2017, 04:46 PM
RE: cant save data to text file. - by Larz60+ - Oct-27-2017, 04:49 PM
RE: cant save data to text file. - by darktitan - Oct-27-2017, 05:01 PM
RE: cant save data to text file. - by Larz60+ - Oct-27-2017, 08:37 PM
RE: cant save data to text file. - by darktitan - Oct-28-2017, 02:55 AM
RE: cant save data to text file. - by Larz60+ - Oct-28-2017, 04:24 AM
RE: cant save data to text file. - by darktitan - Oct-28-2017, 06:59 AM
RE: cant save data to text file. - by Larz60+ - Oct-28-2017, 10:35 AM
RE: cant save data to text file. - by darktitan - Oct-28-2017, 12:22 PM
RE: cant save data to text file. - by Larz60+ - Oct-28-2017, 04:56 PM
RE: cant save data to text file. - by darktitan - Oct-28-2017, 05:56 PM
RE: cant save data to text file. - by Larz60+ - Oct-29-2017, 12:53 AM
RE: cant save data to text file. - by Larz60+ - Oct-29-2017, 01:55 AM
RE: cant save data to text file. - by darktitan - Oct-29-2017, 03:05 AM
RE: cant save data to text file. - by Larz60+ - Oct-29-2017, 03:20 AM
RE: cant save data to text file. - by darktitan - Oct-29-2017, 03:23 AM
RE: cant save data to text file. - by Larz60+ - Oct-29-2017, 03:27 AM
RE: cant save data to text file. - by darktitan - Oct-29-2017, 03:34 AM
RE: cant save data to text file. - by Larz60+ - Oct-29-2017, 03:48 AM
RE: cant save data to text file. - by darktitan - Oct-29-2017, 03:57 AM
RE: cant save data to text file. - by Larz60+ - Oct-29-2017, 05:02 AM
RE: cant save data to text file. - by darktitan - Oct-29-2017, 06:31 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Open/save file on Android frohr 0 349 Jan-24-2024, 06:28 PM
Last Post: frohr
  how to save to multiple locations during save cubangt 1 572 Oct-23-2023, 10:16 PM
Last Post: deanhystad
  save values permanently in python (perhaps not in a text file)? flash77 8 1,267 Jul-07-2023, 05:44 PM
Last Post: flash77
  Save and Close Excel File avd88 0 3,116 Feb-20-2023, 07:19 PM
Last Post: avd88
Thumbs Up Need to compare the Excel file name with a directory text file. veeran1991 1 1,153 Dec-15-2022, 04:32 PM
Last Post: Larz60+
  Save multiple Parts of Bytearray to File ? lastyle 1 971 Dec-10-2022, 08:09 AM
Last Post: Gribouillis
  Modify values in XML file by data from text file (without parsing) Paqqno 2 1,726 Apr-13-2022, 06:02 AM
Last Post: Paqqno
  Converted Pipe Delimited text file to CSV file atomxkai 4 7,052 Feb-11-2022, 12:38 AM
Last Post: atomxkai
  Save data frame to .csv df.to.csv() mcva 1 1,568 Feb-03-2022, 07:05 PM
Last Post: mcva
Sad Want to Save Print output in csv file Rasedul 5 11,043 Jan-11-2022, 07:04 PM
Last Post: snippsat

Forum Jump:

User Panel Messages

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