New submission from vizcayno <[EMAIL PROTECTED]>:
For Windows XP SP3:
v = 'add 1 to 4.56'
import re
r=re.search("([0-9]+)\D+(\d+\.\d+)","add 1 to 4.56")
r
<_sre.SRE_Match object at 0x00BED920>
r.groups()
('1', '4.56')
dir(r)
New submission from vizcayno <[EMAIL PROTECTED]>:
For Win XP SP3 I do next in py30.b1:
a=[9,8,1,2]
it=iter(a)
it.next()
Traceback (most recent call last):
File "", line 1, in
AttributeError: 'list_iterator' object has no attribute 'next'
but doing:
it.__
vizcayno <[EMAIL PROTECTED]> added the comment:
Please, go to python 3.0 -> python manuals and search with word: iter
then select first line of found titles, i.e. Functional Programming
HOWTO. Into this title you will find some samples.
Regards,
_
New submission from vizcayno <[EMAIL PROTECTED]>:
I am under Win XP sp 3:
After importing urllib it only shows a few objects when using dir()
urllib2 module does not exist.
.python
Python 3.0b2 (r30b2:65106, Jul 18 2008, 18:44:17) [MSC v.1500 32 bit
(Intel)] on win32
Type "help&q
vizcayno <[EMAIL PROTECTED]> added the comment:
Thanks Georg.
Python 3.0b2 on line manual continues indicating with explanation and
some examples that import urllib and import urllib2 are valid. Do you
recommend me to open another issue about this?
R
vizcayno <[EMAIL PROTECTED]> added the comment:
Ok.
In the python 3.0b2 on line documentation that comes with the .msi
installer:
1) Search with word urllib and access the fourth line found: "urllib —
Open arbitrary resources by URL"
2) Search with word urllib2 and select
New submission from vizcayno:
.python
Python 3.0a2 (r30a2:59397:59399, Dec 6 2007, 22:34:52) [MSC v.1500 32
bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import getpass
>>> clave = get