Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Python Programming help please

779796Jun 17 2010 — edited Jun 21 2010
Hi there,

I got this txt file with following contents:

<GLOSSARY>
<INFO>
<NAME>My Glossary</NAME>
<INTRO>stuff</INTRO>

The above text is saved in test.txt file.

I need to write a python script that would load the above file as list of strings. I then need display only the text from <Name> to </Name> in python.

If anybody can help me please with the code. I've tried searching a lot but haven't found anything.

Thank You

Comments

Processing
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jul 19 2010
Added on Jun 17 2010
1 comment
3,096 views