Question
Write a python parsing script. The program will ask an input text file and out text file (after parsing). Input text file: 1314-96-1^ STRONTIUM MONOSULFIDE^
Write a python parsing script. The program will ask an input text file and out text file (after parsing).
Input text file:
1314-96-1^
STRONTIUM MONOSULFIDE^
STRONTIUM SULPHIDE^
55-63-0^
ANGIBID **PEER REVIEWED** ^
ANGININE **PEER REVIEWED** ^
BLASTING OIL **PEER REVIEWED** ^
Cardabid^ CARDAMIST **PEER REVIEWED** ^
(Component of) SDM No 17 **PEER REVIEWED** ^
(Component of) SDM No 37 **PEER REVIEWED** ^
GLYCERINTRINITRATE (CZECH) **PEER REVIEWED** ^
GLYCEROLTRINITRAAT (DUTCH) **PEER REVIEWED** ^
784946-08-10^ NITROGLICERINA (ITALIAN) **PEER REVIEWED** ^
Nitroglicerina (Spanish) **PEER REVIEWED** ^
Output Text file:
1314-96-1^ STRONTIUM MONOSULFIDE^
1314-96-1^STRONTIUM SULPHIDE^
55-63-0^ANGIBID ^
55-63-0^ ANGININE^
1314-96-1^BLASTING OIL^
1314-96-1^Cardabid^
1314-96-1^CARDAMIST^
1314-96-1^(Component of) SDM No 17 ^
1314-96-1^ (Component of) SDM No 37^
1314-96-1^ GLYCERINTRINITRATE (CZECH)^
1314-96-1^ GLYCEROLTRINITRAAT (DUTCH)^ 784946-08-10^ NITROGLICERINA (ITALIAN)^
784946-08-10^Nitroglicerina (Spanish)^
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started