I'm using regular expressions to split a string using multiple delimiters.
But if two or more of my delimiters occur next to each other in the
string, it puts an empty string in the resulting list. For example:
re.split(':|;|px', "width:150px;height:50px;float:right")
Results in
On Thu 26 Apr 2012 07:37:20a, Kiuhnm wrote in
news:4f993382$0$1378$4fafb...@reader2.news.tin.it:
> Python 2.7.3 and 3.2.3 (the latest versions) can coexist. Just install
> Python 3.2.3 in a different directory (python32, for instance).
>
> Python has been "forked" into 2.x and 3.x because some
I'm fairly new to Python I have version 2.7 installed on my computer. However
my professor wants us all to use the latest version of Python. How do I go
about upgrading? Do I just install the new version? Do I have to do anything
with the old version already installed?
--
http://mail.python.org