On 21/10/12 02:09, Malcolm Newsome wrote:
Hello all,
I looked at map() tonight. I think I have a decent understanding now of
"how" it works. However, I'm wondering when it is most commonly used in
the real world and if you could provide some examples (I like to do a
lot of web stuff...it that
Malcolm Newsome wrote:
> Hello all,
>
> I looked at map() tonight. I think I have a decent understanding now of
> "how" it works. However, I'm wondering when it is most commonly used in
> the real world and if you could provide some examples (I like to do a
> lot of web stuff...it that helps wi
On 17/10/12 13:22, Alexander wrote:
On Tue, Oct 16, 2012 at 20:43 EST, Mark Lawrence
wrote:
For the record Access is not a database, or so some geezer called Alex
Martelli reckons http://code.activestate.com/lists/python-list/48130/, so
please don't shoot the messenger:)
Cheers.
Mark Lawrence.
Digging up a week-old email from Bob:
On 15/10/12 08:37, bob gailer wrote:
On 10/14/2012 8:34 AM, Osemeka Osuagwu wrote:
except:
print 'Cannot display Grid'
In addition to Steve's comment I add my own gripe:
When delivering an error message tell us WHY. I have seen too many
messages "cannot
Hi,
a = ['Ron', 'Harry', 'Hermoine']
b = ['25th oct', '27th oct', '29th oct']
c = ['Charms', 'DADA', 'Potions']
I want to print like this:
Ron - 25th oct
Charms
Harry - 27th oct
DADA
Hermoine - 29th oct
Potions
The items in each list are populated dynamically so I don't know how many
items will be
On 10/21/2012 08:01 PM, Saad Javed wrote:
> Hi,
> a = ['Ron', 'Harry', 'Hermoine']
> b = ['25th oct', '27th oct', '29th oct']
> c = ['Charms', 'DADA', 'Potions']
> I want to print like this:
> Ron - 25th oct
> Charms
> Harry - 27th oct
> DADA
> Hermoine - 29th oct
> Potions
>
> The items in each li
On 22/10/12 01:09, Dave Angel wrote:
I tried:
for x in zip(a, b, c): print x
But that gives:
('Ron', '25th oct', 'Charms')
('Harry', '27th oct', 'DADA')
('Hermoine', '29th oct', 'Potions')
???
So all you have now is a formatting problem.
Very good; you're close. instead of z, just use
My program downloads multiple entry values from the net. I'm trying to
combine them in a list in a particular sequence.
l = []
feed1 = urllib2.urlopen(rssPage1)
tree1 = etree.parse(feed1)
x = tree1.xpath("/rss/channel/item/title/text()")
y = tree1.xpath("/rss/channel/item/pubDate/text()")
z = tree
On Sun, Oct 21, 2012 at 9:44 PM, Saad Javed wrote:
> My program downloads multiple entry values from the net. I'm trying to
> combine them in a list in a particular sequence.
>
> l = []
> feed1 = urllib2.urlopen(rssPage1)
> tree1 = etree.parse(feed1)
> x = tree1.xpath("/rss/channel/item/title/text
On Mon, Oct 22, 2012 at 06:44:51AM +0500, Saad Javed wrote:
> My program downloads multiple entry values from the net. I'm trying to
> combine them in a list in a particular sequence.
>
> l = []
[snip rest of code]
> l.append([e, f, g])
> The problem I'm facing is that the values don't combine i
10 matches
Mail list logo