hi, i have a string "my name is <name>smith</name>. what is yours?"
sort of like in an XML format, i need to capture smith by identifying the <name> tags. is there a way to get it beside using XML parsers (i.e. simple regex)? if it is, how do i capture it in python?
Less strange, but still introduction
This introduction was added (1st August, 2011) to reflect some reactions. Firstly, the term basics in the title of the article... As any other word, it is a symbol with meaning attached to the word by some a…
Installing Python 2.7.3 version on Windows operating system
For installing Python first we need to download Python's latest version from URL" www.python.org "
You can also get information on Python scripting language from the above mentioned we…
Learn the basics of if, else, and elif statements in Python 2.7.
Use "if" statements to test a specified condition.:
The structure of an if statement is as follows:
Use "else" statements to allow the execution of an alternative, if the …
Learn the basics of while and for loops in Python.
while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows: while <condition>: do something repeate: The break statement m…