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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!