Hello,
I'm writing a file processing script(Linux), and i would like to have a
progress bar. But i would also like to be able to print messages. Is
there a simple way of doing this without implementing something like
ncurses?
--
Thanks
Kevin Anthony
www.NoSideRacing.com
Do you use Ba
Is it not true that list comprehension is much faster the the for loops?
If it is not the correct way of doing this, i appoligize.
Like i said, I'm learing list comprehension.
Thanks
Kevin
On Oct 16, 2012 10:14 PM, "Dave Angel" wrote:
> On 10/16/2012 09:54 PM, Kevin Antho
if product else self.__matrix[m][p]* other.__matrix[p][n])
for p in range(0,self.col)
for n in range(0,self.col)]
for m in range(0,self.__row)]
But i know that isn't correct, can someone nudge my in the right direction?
--
Thanks
Kevin Anthony
I'm not supprised... and understand why it's happening. I'm asking how to
get around it.
Basically i'm asking how to override, if i can, the `=`
On Thu, Oct 11, 2012 at 5:32 PM, Dave Angel wrote:
> On 10/11/2012 04:48 PM, Kevin Anthony wrote:
> > I have a class
I have a class that contains a list of items
I can set items using __setitem__ but if i want to set the while list, i
changes the variable from a myclass to a list. How can i accomblish this
Example
>>>C = myclass()
>>>C[0] = 57
>>>type(C)
myclass
>>> C = [57,58,59,60]
>>>type(C)
list
--
http://m
I have a list of filenames, and i need to find files with the same
name, different extensions, and split that into tuples. does anyone have
any suggestions on an easy way to do this that isn't O(n^2)?
--
Thanks
Kevin Anthony
www.NoSideRacing.com
Do you use Banshee?
Download the Comm
s. Is
this a good idea? is there a better way of doing this?
--
Thanks
Kevin Anthony
Do you use Banshee?
Download the Community Extensions:
http://banshee.fm/download/extensions/
--
http://mail.python.org/mailman/listinfo/python-list