Python Forum
Help me input the Rawdata file so that it can output DataErrorFile and ValidData.txt
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help me input the Rawdata file so that it can output DataErrorFile and ValidData.txt
#4
states is assigned on line 24, but that line is within a loop. That suggests that the loop is never run to assign the variable. That suggests datainput is empty.

Just before line 31, print out the value of recordcounter and see if it is zero.
Reply


Messages In This Thread
RE: Help me input the Rawdata file so that it can output DataErrorFile and ValidData.txt - by bowlofred - May-01-2020, 05:26 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  output provide the filename along with the input file processed. arjunaram 1 976 Apr-13-2023, 08:15 PM
Last Post: menator01
  Reading data from excel file –> process it >>then write to another excel output file Jennifer_Jone 0 1,158 Mar-14-2023, 07:59 PM
Last Post: Jennifer_Jone
  Reading an Input File DaveG 1 1,284 Mar-27-2022, 02:08 AM
Last Post: deanhystad
  serial input/output barryjo 3 2,621 Dec-27-2021, 11:57 PM
Last Post: barryjo
  How to input & output parameters from command line argument shantanu97 1 2,615 Apr-13-2021, 02:12 PM
Last Post: Larz60+
  Code giving same output no matter the input. Yort 2 2,619 Dec-20-2020, 05:59 AM
Last Post: buran
  Handling multi-input/output audio in python bor1904 4 3,652 Nov-04-2020, 08:25 AM
Last Post: CHLOVRL
  single input infinite output problem Chase91 2 1,985 Sep-23-2020, 10:01 PM
Last Post: Chase91
  How to assign input file name as logger name Mekala 5 2,957 Aug-05-2020, 12:54 AM
Last Post: Larz60+
  Output CSV file with filepath and file contents glittergirl 1 1,788 Aug-03-2020, 01:50 AM
Last Post: glittergirl

Forum Jump:

User Panel Messages

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