Re: [Tutor] Probably a silly question: how to install lxml?

2017-07-05 Thread Ashfaq
Hi Mark ModuleNotFoundError means the package is not installed. Can you paste those red error message here? This can shed some light. Sincerely Ashfaq On Thu, Jul 6, 2017 at 5:10 AM Mark at information27.com < m...@information27.com> wrote: > First, I'm not a programmer, but I kn

Re: [Tutor] dictionaries are same but returning false

2017-07-05 Thread Ashfaq
Hi Peter, The way you find the issue is really cool! Very cool! :) On Wed, Jul 5, 2017 at 6:10 PM, shubham goyal wrote: > Thank you Peter. > Silly mistakes 😀 > > On Jul 5, 2017 5:10 PM, "Peter Otten" <__pete...@web.de> wrote: > > > shubham goyal wrote: > > > > > null=None > > > x={'_udp_options'

Re: [Tutor] [Python2.7] Convert (2,188,1) into (188,1)

2017-07-03 Thread Ashfaq
Is it a 3-item tuple? On Wed, Jun 28, 2017 at 9:48 PM, Allan Tanaka via Tutor wrote: > Hi. I have array shape like: (2,188,1). I want to make it like this: > (188,1). I try that using .reshape(188,1) but throws an error: total size > of an array must be unchanged > Thank you for the help! >

Re: [Tutor] FW: (no subject)

2012-12-02 Thread Ashfaq
Luke, Thanks. The generator syntax is really cool. -- Ashfaq ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] FW: (no subject)

2012-12-01 Thread Ashfaq
Run your code 10,000 times. :) ** ** > > import math > > import random > > random.seed() > > points = [] for i in range(0, 1): x=random.uniform(0,1) y=random.uniform(0,1) points.append ( (x, y) ) I hope it helps

Re: [Tutor] reverse diagonal

2012-12-01 Thread Ashfaq
) I hope it helps. -- Ashfaq ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Newbie help with .pyc

2012-10-04 Thread Ashfaq
Hey Ken, Steve has just made some innocent fun. He is eager to help the guy. Please don't be so harsh. Sincerely Ashfaq ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor