Printing list elements on separated lines in Python
<p>trying to print out python path folders using this</p>

<pre>
import sys
print sys.path
</pre>

<p>the output is like this</p>

<pre>
>>> print sys.path
['.', '/usr/bin', '/home/student/Desktop', '/home/student/my_modules', '/usr/lib/pyth
on2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk', '/usr/lib/pyth
on2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/usr/local/lib/python2.6/dist-pack
ages', '/usr/lib/python2.6/dist-packages', '/usr/lib/python2.6/dist-packages/PIL', '/
usr/lib/python2.6/dist-packages/gst-0.10', '/usr/lib/pymodules/python2.6', '/usr/lib/
python2.6/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.6/gtk-2.0', '/usr/lib/p
ython2.6/dist-packages/wx-2.8-gtk2-unicode']
</pre>

<p>How do i print them into separate lines so i can parse them properly ?
should be like this:</p>

<pre>
/usr/bin
/home/student/Desktop
/home/student/my_modules 
etc
</pre>
