[Tutor] How to get graphical representation in Excel file

2005-03-06 Thread Ravi Kishan T.S
Hi!   I am working on Python on Windows XP, Iam being able to create or generate an Excel file using python, but unable to write the excel file with the graphs in it. I want to represent some data in the form of Graph (Gant chart, Pie chart and all),   Can somebody help me with this.   Regards Rav

Re: [Tutor] help

2005-03-06 Thread Kent Johnson
Gregory Sexton wrote: Is there a forum for the complete beginning Python student? Yes, this is it. Kent ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] help

2005-03-06 Thread Kent Johnson
Gregory Sexton wrote: Does sp1 and sp2 in Wwindows XP block certain python commands? I haven't heard of any; is there a command you are having trouble with? Kent ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Linked List

2005-03-06 Thread Danny Yoo
> > >>> myls=range(50) > > >>> for i in myls: > > print i > > if i==20: > > myls.insert(5,5) > > > > The point is, the list(both size and elements) is > > changing even as it is being operated upon. > > My first thought was to say, "Use a queue.Queue." But it appe

[Tutor] help

2005-03-06 Thread Gregory Sexton
 Is there a forum for the complete beginning Python student?  ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] help

2005-03-06 Thread Gregory Sexton
Does sp1 and sp2 in Wwindows XP block certain python commands? ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

RE: [Tutor] Intro for interfacing with Microsoft Access?

2005-03-06 Thread Tony Meyer
[Terry Carroll] >>> Does anyone know of any online resource that explains how to >>> interface to Microsoft Access via Python, where the intended >>> audience is someone who knows Python, but not the Microsoft innards? [Tony Meyer] >> These two pages are quite good: >> >>

Re: [Tutor] Intro for interfacing with Microsoft Access?

2005-03-06 Thread Kent Johnson
Tony Meyer wrote: Does anyone know of any online resource that explains how to interface to Microsoft Access via Python, where the intended audience is someone who knows Python, but not the Microsoft innards? These two pages are quite good:

RE: [Tutor] Intro for interfacing with Microsoft Access?

2005-03-06 Thread Tony Meyer
> Does anyone know of any online resource that explains how to > interface to Microsoft Access via Python, where the intended > audience is someone who knows Python, but not the Microsoft innards? These two pages are quite good:

Re: [Tutor] MySQLdb error while inserting records

2005-03-06 Thread Victor Bouffier
Yes! That did it. I got confused since Programming Python mentions the '?' for arguments, although I failed to notice it was just used as an example. Actual identifiers could vary depending on the database. Thanks a lot Kent. Kent Johnson wrote: Victor Bouffier wrote: Hi all, I consider myself f

Re: [Tutor] MySQLdb error while inserting records

2005-03-06 Thread Kent Johnson
Victor Bouffier wrote: Hi all, I consider myself fairly proficient with SQL, but I'm still getting the hang of the MySQL API. I am working through the examples in "Open Source Web Development with LAMP: Using Linux, Apache, MySQL, Perl, and PHP" by James Lee and Brent Ware, and trying to make th

[Tutor] MySQLdb error while inserting records

2005-03-06 Thread Victor Bouffier
Hi all, I consider myself fairly proficient with SQL, but I'm still getting the hang of the MySQL API. I am working through the examples in "Open Source Web Development with LAMP: Using Linux, Apache, MySQL, Perl, and PHP" by James Lee and Brent Ware, and trying to make the third "P" to be Pytho

Re: [Tutor] (no subject)

2005-03-06 Thread R. Alan Monroe
>> Is the tutor list mirrored on usenet such as google groups? I've >> searched and not found it. > Nope, the archives are available but there is no usenet mirroe. What about this: http://dir.gmane.org/gmane.comp.python.tutor Alan ___ Tutor maillist

Re: [Tutor] Linked List

2005-03-06 Thread John Fouhy
Jeff Shannon wrote: You might want to check the Cookbook to see if there's a priority queue recipe there. If not, I suspect that Google can be convinced to yield something... From the bisect module docs: import Queue, bisect class PriorityQueue(Queue.Queue): def _put(self, item): bisec

Re: [Tutor] (no subject)

2005-03-06 Thread Alan Gauld
> Is the tutor list mirrored on usenet such as google groups? I've > searched and not found it. Nope, the archives are available but there is no usenet mirroe. > I think it's a bit harsh to blame the style > on a client that strips white-space, where he has no control over it. > Are we not better

Re: [Tutor] 2d list matrix 7 x 75 problem

2005-03-06 Thread Max Noel
On Mar 6, 2005, at 09:49, Dave S wrote: so I thought I would be clever with ... >>> a=[0]*5 >>> a [0, 0, 0, 0, 0] >>> b=[a[:]]*5 same problem. It seems realy simple but how do I generate a 7 x 75 list matrix ? Dave Try this: >>> a = [''] * 5 >>> b = [a[:] for i in range(5)] >>> b [['', '', '',

Re: [Tutor] 2d list matrix 7 x 75 problem

2005-03-06 Thread Dave S
Jeff Shannon wrote: On Sun, 06 Mar 2005 09:49:43 +, Dave S <[EMAIL PROTECTED]> wrote: I need to generate a list 2d matrix of the kind ... [['', '', '', '', ''], ['', '', '', '', ''], ['', '', '', '', ''], ['', '', '', '', ''], ['', '', '', '', '']] except its dimensions need to be 7 x 75. I

Re: [Tutor] 2d list matrix 7 x 75 problem

2005-03-06 Thread Jeff Shannon
On Sun, 06 Mar 2005 09:49:43 +, Dave S <[EMAIL PROTECTED]> wrote: > I need to generate a list 2d matrix of the kind ... > > [['', '', '', '', ''], ['', '', '', '', ''], ['', '', '', '', ''], ['', > '', '', '', ''], ['', '', '', '', '']] > > except its dimensions need to be 7 x 75. I thought

[Tutor] 2d list matrix 7 x 75 problem

2005-03-06 Thread Dave S
Hello, I need to generate a list 2d matrix of the kind ... [['', '', '', '', ''], ['', '', '', '', ''], ['', '', '', '', ''], ['', '', '', '', ''], ['', '', '', '', '']] except its dimensions need to be 7 x 75. I thought I had it sorted with map2 = [ [''] *7 ] *75 until the coding screwed up & I

Re: [Tutor] Linked List

2005-03-06 Thread Jeff Shannon
On Sat, 5 Mar 2005 06:20:40 -0800 (PST), Shitiz Bansal <[EMAIL PROTECTED]> wrote: > In order to explain wat my problem is, here is an > example code. Its not exactly what I am doing, I am > using multiple threads and a rather complicated code > so try and understand the sense rather than the code

Re: [Tutor] (no subject)

2005-03-06 Thread Brian van den Broek
Adam Cripps said unto the world upon 2005-03-06 02:38: On Fri, 04 Mar 2005 12:14:28 -0500, Brian van den Broek <[EMAIL PROTECTED]> wrote: Kevin said unto the world upon 2005-03-04 10:43: Hello all. I have just completed my very first python program just a simple number guessing. I would like for so