sguda
15 years agoRegular Contributor
Is it possible to read and update data from text file whle running the script
Is it possible to read and update data from text file like INI files.
Basically I want to read particular values from text files like INI files and run the script with that data read from ini file and update new values of data as a last step in the script.
Ex: I have 2 values,
Last Name: qaAuto1
SSN: 001-122-0001
I want to read this data and use it to run the script and as a last step I want to increment these these values of Last Name and SSN and update in the INI file or any other text file to read for the script to run next time.
Please let me know how I can do this. I know I have done this using another tool.
Basically I want to read particular values from text files like INI files and run the script with that data read from ini file and update new values of data as a last step in the script.
Ex: I have 2 values,
Last Name: qaAuto1
SSN: 001-122-0001
I want to read this data and use it to run the script and as a last step I want to increment these these values of Last Name and SSN and update in the INI file or any other text file to read for the script to run next time.
Please let me know how I can do this. I know I have done this using another tool.