Where are the moderators?

2018-01-18 Thread Mike Driscoll
Hi, What happened to the moderators? I have always liked this forum, but there's so much spam now. Is there a way to become a moderator so this can be cleaned up? Thanks, Mike -- https://mail.python.org/mailman/listinfo/python-list

ANN: Python 201 - Intermediate Python book

2016-03-30 Thread Mike Driscoll
also written with Python 3 in mind. Let me know if you have any questions. Thanks, Mike Driscoll -- https://mail.python.org/mailman/listinfo/python-list

Re: ANN: Python 201 - Intermediate Python book

2016-03-30 Thread Mike Driscoll
Hi Justin, > > https://mail.python.org/mailman/listinfo/python-list > > Can you go over a couple of the topics you are going to cover? > > Are you going to cover any of the most popular packages such as Django and > scrapy? Sure! I'm planning on covering several of the more popular intermediate

Re: ANN: Python 201 - Intermediate Python book

2016-03-30 Thread Mike Driscoll
On Wednesday, March 30, 2016 at 2:21:08 PM UTC-5, Ethan Furman wrote: > On 03/30/2016 11:41 AM, justin walters wrote: > > > That absolutely answers my questions. I'll keep an eye out for your book > > when it is realeased. It seems like it will cover some topics that could be > > useful in continu

Strange urlopen error

2016-04-12 Thread Mike Driscoll
Hi, I have recently run into an issue at work where we are having intermittent problems with an internal website not loading due to an interrupted system call. We are using urllib2 to access the website. I can't share the exact code, but here is basically how we do it: payload = {'userName': u

Re: Resources/pointers for writing maintable, testable Python

2016-05-19 Thread Mike Driscoll
On Wednesday, May 18, 2016 at 4:48:28 PM UTC-5, Andrew Farrell wrote: > Hi Jacob, > > You are probably looking for the book Test-Driven Development with Python > . > You'll also want to look at py.test > >

Re: Python 3.5.1

2016-05-19 Thread Mike Driscoll
On Thursday, May 19, 2016 at 12:21:52 PM UTC-5, kbell...@aol.com wrote: > Thisis my first encountering with Python. I have successfully downloaded > Python3.5.1 for Windows but see only a black window with command prompt. I do > not see IDLE under PYthon on Windows Start Menu. > > > Downloaded

Re: Resources/pointers for writing maintable, testable Python

2016-05-19 Thread Mike Driscoll
On Thursday, May 19, 2016 at 11:23:53 AM UTC-5, Terry Reedy wrote: > On 5/19/2016 11:33 AM, Mike Driscoll wrote: > > On Wednesday, May 18, 2016 at 4:48:28 PM UTC-5, Andrew Farrell wrote: > >> Hi Jacob, > >> > >> You are probably looking for the book Test-Drive

Re: Wanted Python programmer to join team

2016-05-20 Thread Mike Driscoll
On Tuesday, May 17, 2016 at 12:20:53 AM UTC-5, Steven D'Aprano wrote: > On Tuesday 17 May 2016 12:56, Chris Angelico wrote: > > > On Tue, May 17, 2016 at 12:37 PM, Steven D'Aprano <> > > wrote: > >> On Tue, 17 May 2016 09:07 am, Chris Angelico wrote: > >> > >>> I'm not overly bothered by the use o

ANN: Creating GUI Applications with wxPython

2019-01-14 Thread Mike Driscoll
Hi, I just thought I would let you all know that I am working on my 2nd wxPython book, "Creating GUI Applications with wxPython". This one will be about actually creating small runnable applications instead of just recipes like my Cookbook did. I hope to have 8-10 working applications included

Python 101 2nd Edition book

2020-02-18 Thread Mike Driscoll
Hi, Years ago I posted about my first book, Python 101 on here and people really enjoyed it. I am working on a complete rewrite of the book and thought there might be people here who would enjoy knowing about it. You can read more here: https://www.blog.pythonlibrary.org/2020/02/17/python-101-

What is considered an "advanced" topic in Python?

2015-05-29 Thread Mike Driscoll
Hi, I've been asked on several occasions to write about intermediate or advanced topics in Python and I was wondering what the community considers to be "intermediate" or "advanced". I realize we're all growing in our abilities with the language, so this is going to be very subjective, but I am

Re: What is considered an "advanced" topic in Python?

2015-05-29 Thread Mike Driscoll
On Friday, May 29, 2015 at 11:08:19 AM UTC-5, Joel Goldstick wrote: > Maybe itertools or generators > Yeah, I was thinking along those lines. I was also thinking about some of the cool stuff in the collections and contextlib modules. Mike -- https://mail.python.org/mailman/listinfo/python-list

Re: What is considered an "advanced" topic in Python?

2015-05-29 Thread Mike Driscoll
> > Good fun! A few ideas: > > How to write decorators, particularly those that take parameters. Yes, this one always seems to trip people up. > > The differences between the various number types (int, float, complex, > Fraction, Decimal) and when you'd want each one. I hadn't considered t

Re: What is considered an "advanced" topic in Python?

2015-05-29 Thread Mike Driscoll
On Friday, May 29, 2015 at 11:40:11 AM UTC-5, Skip Montanaro wrote: > On Fri, May 29, 2015 at 11:01 AM, Mike Driscoll wrote: > > ... I was wondering what the community considers to be "intermediate" or > > "advanced". > > Just about any topic on wh

Re: What is considered an "advanced" topic in Python?

2015-05-29 Thread Mike Driscoll
Hi Steven, On Friday, May 29, 2015 at 12:55:48 PM UTC-5, Steven D'Aprano wrote: > On Sat, 30 May 2015 02:01 am, Mike Driscoll wrote: > > > Hi, > > > > I've been asked on several occasions to write about intermediate or > > advanced topics in Pytho

Redirecting Print Streams

2006-06-13 Thread Mike Driscoll
Hi,I am working on a Tkinter GUI that will display software package's install status. I work for a company that wants to control how software is installed and where. Anyway, the package installer I am working with currently prints to a console window for each software package installed. So, if we h

Re: "Impure" Python modules

2007-12-28 Thread Mike Driscoll
James, In Python extension parlance, it means that the extension was not written completely in Python. Example include the mySQL module, wxPython, and one of the openGL modules. All of those have some C/C++ dependencies. I think numpy does too, now that I think about it. Anyway, I hope that answe

Re: Tabnanny errors when Migrating Python 2.4 code to 2.5

2008-01-05 Thread Mike Driscoll
editors, but it seemed implied that it didn't if you used IDLE. At least, that's what I got from various Python books and the website: http://www.python.org/idle/doc/idlemain.html Anyway, thanks for the help. Mike # scrubber.pyw # # Author: Mike Driscoll # # Updated: 05/16/2007 # # Dele

Re: Restart crashing modules in windows

2008-01-15 Thread Mike Driscoll
On Jan 14, 9:02 pm, Astan Chee <[EMAIL PROTECTED]> wrote: > Hi, > I have a python module that keeps on crashing with various windows > errors (not BSOD but the less lethal windows XP popup ones). Now these > are intentional and rather sporadic so I cant really solve it by > attempting to fix the cr

Re: A question about event handlers with wxPython

2008-01-15 Thread Mike Driscoll
On Jan 15, 9:04 am, "Erik Lind" <[EMAIL PROTECTED]> wrote: > > def HandleSomething(self, event): > >generating_control = event.GetEventObject() > >print generating_control > > > HTH, > > Thank you.That is what I was looking for, but as often seems the case, one > thing exposes another. Is t

Re: A question about event handlers with wxPython

2008-01-15 Thread Mike Driscoll
On Jan 15, 9:04 am, "Erik Lind" <[EMAIL PROTECTED]> wrote: > > def HandleSomething(self, event): > >generating_control = event.GetEventObject() > >print generating_control > > > HTH, > > Thank you.That is what I was looking for, but as often seems the case, one > thing exposes another. Is t

Re: Open existing Word document, modify and save.

2008-01-15 Thread Mike Driscoll
On Jan 15, 12:01 pm, gsal <[EMAIL PROTECTED]> wrote: > New to Python and new to Win32. Help please. > > O.k., so this might seem like one of those "can you do my homework" > kind of postings, except that is not homework, it is officework. > > I have been reading the Core Python book and I am really

Re: A question about event handlers with wxPython

2008-01-15 Thread Mike Driscoll
On Jan 15, 2:20 pm, "Erik Lind" <[EMAIL PROTECTED]> wrote: > That all looks cool. I will experiment more. I'm a bit slow on this as only > two weeks old so far. > > Thanks for the patience No problem. I'm pretty slow with some toolkits too...such as SQLAlchemy. Ugh. Mike -- http://mail.python.or

Re: Restart crashing modules in windows

2008-01-15 Thread Mike Driscoll
On Jan 15, 2008 5:08 PM, Astan Chee <[EMAIL PROTECTED]> wrote: > > Mike Driscoll wrote: > On Jan 14, 9:02 pm, Astan Chee <[EMAIL PROTECTED]> wrote: > > > Hi, > I have a python module that keeps on crashing with various windows > errors (not BSOD but the les

Re: A question about event handlers with wxPython

2008-01-16 Thread Mike Driscoll
On Jan 16, 12:45 pm, "Erik Lind" <[EMAIL PROTECTED]> wrote: > "Mike Driscoll" <[EMAIL PROTECTED]> wrote in message > > news:[EMAIL PROTECTED] > > > On Jan 15, 2:20 pm, "Erik Lind" <[EMAIL PROTECTED]> wrote: > >> That

Re: get the size of a dynamically changing file fast ?

2008-01-18 Thread Mike Driscoll
On Jan 17, 3:56 pm, Stef Mientki <[EMAIL PROTECTED]> wrote: > hello, > > I've a program (not written in Python) that generates a few thousands > bytes per second, > these files are dumped in 2 buffers (files), at in interval time of 50 msec, > the files can be read by another program, to do further

Re: What is a shortcut to the Default home directory in Windows

2008-01-18 Thread Mike Driscoll
On Jan 18, 2:19 pm, Daniel Folkes <[EMAIL PROTECTED]> wrote: > I am trying to write a file to the users file system. > > I need it to be in there home directory in WINDOWS. I know there is a > "shortcut" to home in Linux("~"), but is there an equivalent to that > in windows. Or to get to their "D

Re: Core Python Programming . . .

2008-01-18 Thread Mike Driscoll
On Jan 18, 1:55 pm, Paul Rubin wrote: > FireNWater <[EMAIL PROTECTED]> writes: > > 1) convert a 4-digit Integer (WXYZ) to an IP address (WWW.XXX.YYY.ZZZ) > > > or > > > 2) convert an 8-digit Integer (WWWXXXYYYZZZ) to (WWW.XXX.YYY.ZZZ) > > > Thanks for anyone with the clue

Re: Pythonland documentation

2008-01-18 Thread Mike Driscoll
On Jan 18, 12:51 pm, Simon Pickles <[EMAIL PROTECTED]> wrote: > Hi > > I am new to python (fairly) but can't stop pythonning. > > c++ seems so far away now from here it looks like a horrid scribble :) > > Anyway my question is really about doc tools. I've been used to > doxygen in c++ land,

Re: How to use py2exe ...

2008-01-21 Thread Mike Driscoll
On Jan 21, 1:45 am, Santiago Romero <[EMAIL PROTECTED]> wrote: > Hi... > > I'm a Linux user, and I would like some windows-friends to test a > game I'm writing with python+pygame without they needing to install > python, pygame, and so on. > > I've heard about py2exe and pygame2exe, but I'm not

Processing XML that's embedded in HTML

2008-01-22 Thread Mike Driscoll
Hi, I need to parse a fairly complex HTML page that has XML embedded in it. I've done parsing before with the xml.dom.minidom module on just plain XML, but I cannot get it to work with this HTML page. The XML looks like this: Owner 1 07/16/2007 No Doe, John 1905 S

Re: Boa constructor debugging - exec some code at breakpoint?

2008-01-22 Thread Mike Driscoll
On Jan 22, 1:23 am, Joel <[EMAIL PROTECTED]> wrote: > Can you please tell me how this can be done.. > are there any other IDEs for the same purpose if Boa can't do it? > > Joel > > On Jan 6, 11:01 am, Joel <[EMAIL PROTECTED]> wrote: > > > Hey there.. > > I'm using boa constructor to debug a python

Re: Processing XML that's embedded in HTML

2008-01-22 Thread Mike Driscoll
On Jan 22, 11:32 am, Paul Boddie <[EMAIL PROTECTED]> wrote: > > The rest of the document is html, javascript div tags, etc. I need the > > information only from the row where the Relationship tag = Owner and > > the Priority tag = 1. The rest I can ignore. When I tried parsing it > > with minidom,

Re: get the size of a dynamically changing file fast ?

2008-01-22 Thread Mike Driscoll
On Jan 22, 3:35 pm, Stef Mientki <[EMAIL PROTECTED]> wrote: > Mike Driscoll wrote: > > On Jan 17, 3:56 pm, Stef Mientki <[EMAIL PROTECTED]> wrote: > > >> hello, > > >> I've a program (not written in Python) that generates a few thousands >

Re: translating Python to Assembler...sorry if this is duplicated...it's unintentional

2008-01-22 Thread Mike Driscoll
On Jan 22, 4:45 pm, [EMAIL PROTECTED] wrote: > My expertise, if any, is in assembler. I'm trying to understand Python > scripts and modules by examining them after they have been > disassembled in a Windows environment. > > I'm wondering if a Python symbols file is available. In the Windows > envir

Re: Processing XML that's embedded in HTML

2008-01-23 Thread Mike Driscoll
John and Stefan, On Jan 23, 5:33 am, Stefan Behnel <[EMAIL PROTECTED]> wrote: > Hi, > > Mike Driscoll wrote: > > I got lxml to create a tree by doing the following: > > > from lxml import etree > > from StringIO import StringIO > > > parser = etree

Re: Processing XML that's embedded in HTML

2008-01-23 Thread Mike Driscoll
Stefan, > I would really encourage you to use the normal parser here instead of > iterparse(). > > from lxml import etree > parser = etree.HTMLParser() > > # parse the HTML/XML melange > tree = etree.parse(filename, parser) > > # if you want, you can construct a pure XML document > ro

Re: Processing XML that's embedded in HTML

2008-01-23 Thread Mike Driscoll
On Jan 22, 5:31 pm, Paul McGuire <[EMAIL PROTECTED]> wrote: > On Jan 22, 10:57 am, Mike Driscoll <[EMAIL PROTECTED]> wrote:> Hi, > > > I need to parse a fairly complex HTML page that has XML embedded in > > it. I've done parsing before with the xml.dom.minid

Re: wxpython

2008-01-24 Thread Mike Driscoll
On Jan 24, 5:37 am, Tim Golden <[EMAIL PROTECTED]> wrote: > [... snip stuff from TJG ...] > > joe jacob wrote: > > Thanks for the information. I'll try to manage it some how. > > If you haven't already, try posting to a wxPython or wxWidgets > mailing list; maybe someone's already done this kind of

Re: Connecting to Sql Server from Python

2008-01-24 Thread Mike Driscoll
On Jan 24, 9:44 am, [EMAIL PROTECTED] wrote: > Hi, > > I have an sql server from which I'd like to read and write to. The > connection string is as follows - > > "Data Source=localhost\SQLExpress;Initial Catalog=Test;Integrated > Security=True;Pooling=False" > > Other properties as they appear in V

Re: Which reportlab version for python 2.1.3?

2008-01-24 Thread Mike Driscoll
On Jan 24, 8:17 am, LizzyLiz <[EMAIL PROTECTED]> wrote: > Hiya > > Probably me being thick but I can't find which version of reportlab I > should use for python 2.1.3. > > Many thanks > Liz Since ReportLab's website lists dlls for Python 2.1 - 2.5, I think you can just use the latest version. Just

Re: Ignore exceptions

2008-01-24 Thread Mike Driscoll
On Jan 24, 2:13 pm, SMALLp <[EMAIL PROTECTED]> wrote: > Hy. Is there any way to make interrupter ignore exceptions. I'm working > on bigger project and i used to put try catch blocks after writing and > testing code what's boring and it's easy to make mistake. I remember of > something like that i

Re: Python ADO Date Time database fields

2008-01-24 Thread Mike Driscoll
On Jan 24, 5:55 pm, goldtech <[EMAIL PROTECTED]> wrote: > Hi, > > Given an MS-Access table with a date type field with a value of: > 12:00:00 AM - just"12:00:00 AM", there's nothing else in the field. > > I want to print exactly what's in the field, ie. "12:00:00 AM". What I > get printed is: 12/

Re: Python ADO Date Time database fields

2008-01-25 Thread Mike Driscoll
On Jan 25, 7:48 am, goldtech <[EMAIL PROTECTED]> wrote: > snip > > > > > try this: > > > val = oRS.Fields(dt).Value > > print type(val) > > this gives: > > > print float(val) > > yes, it gives 0.0 > > But there should be a way to print what is *actually in the field*. > When I open the DB table i

Re: Ideas for Python Programming

2008-01-25 Thread Mike Driscoll
On Jan 25, 2:22 am, mistersexy <[EMAIL PROTECTED]> wrote: > I have been programming in python for some time but I have become > short of ideas. A software exhibition is coming up, and I plan to show > python's worth 'cos it is quite underrated in this part of the world. > Could anyone suggest any r

Re: wx.EVT_RIGHT_UP strangeness?

2008-01-28 Thread Mike Driscoll
On Jan 26, 1:30 pm, [EMAIL PROTECTED] wrote: > I am playing with wxPython 2.8.7.1 on OS X 10.4.11 with MacPython 2.5 > > When running the demo program, the ShapeWindow demo does not close the > window > on right click. It turns out that the wx.EVT_RIGHT_UP does not fire. > > I discovered that one w

Re: Question on importing wxPython

2008-01-28 Thread Mike Driscoll
On Jan 28, 12:06 pm, "Steven W. Orr" <[EMAIL PROTECTED]> wrote: > python-2.3.5 > wx-2.6 > > I just bought the wxPython In Action book and I see that all the examples > say to > import wx > All of our pre-existing code was horribly doing a > from wxPython import * > > I changed all the code so that

Re: event handling

2008-01-30 Thread Mike Driscoll
On Jan 30, 11:16 am, Peter Nemeth <[EMAIL PROTECTED]> wrote: > Hi , > > I am working on a stellar spectral analysis pipeline in Python. My OS is > Suse 10.0, and i use Python 2.5 . I have found difficulties with keyboard > event handling. My code communicates with the user through an xterm window

Re: Removing the Close, Min, Maximize and frame with ANY gui toolkit

2008-02-05 Thread Mike Driscoll
On Feb 5, 11:17 am, Daniel Folkes <[EMAIL PROTECTED]> wrote: > I was wondering if anyone knew how to remove the Minimize, Maximize > and Close from the frame around a gui. > Removing everything would work even better. > > I would prefer instructions for tkinter, but any GUI would > suffice(glade, g

Re: wxpython file dialog

2008-02-11 Thread Mike Driscoll
On Feb 11, 2008 12:14 PM, Guilherme Polo <[EMAIL PROTECTED]> wrote: > 2008/2/11, Mike Driscoll <[EMAIL PROTECTED]>: > > On Feb 10, 6:41 am, Janwillem <[EMAIL PROTECTED]> wrote: > > > Guilherme Polo wrote: > > > > 2008/2/10, Janwillem &l

Re: wxpython file dialog

2008-02-11 Thread Mike Driscoll
On Feb 10, 6:41 am, Janwillem <[EMAIL PROTECTED]> wrote: > Guilherme Polo wrote: > > 2008/2/10, Janwillem <[EMAIL PROTECTED]>: > >> Guilherme Polo wrote: > >> > 2008/2/9, Janwillem <[EMAIL PROTECTED]>: > > Is there a way to force the wx.FileDialog to show as default the > >> >> thumbnails v

Re: wxpython thread question

2008-02-11 Thread Mike Driscoll
On Feb 10, 10:26 pm, [EMAIL PROTECTED] wrote: > I am new to threading and python. Currently I am working on a GUI app > that will be a frontend to CLI client. > > I want to invoke a method of the class from GUI and run it in the > thread. That works well, the problems is I dont know how can I stop

Re: IDLE Won't Start w/o Socket Error--Win XP

2008-02-12 Thread Mike Driscoll
On Feb 12, 2:18 pm, "W. Watson" <[EMAIL PROTECTED]> wrote: > After simply trying to write a program with help(MakeQTE), a module, and > having it fail with socket errors, I decided to restart IDLE, thinking I > knew the cause. I'm now getting msgs like: "IDLE's subprocess didn't make > connection.

Re: win32com.client question

2008-02-13 Thread Mike Driscoll
On Feb 13, 8:05 am, Juan_Pablo <[EMAIL PROTECTED]> wrote: > import win32com.client > is posible in linux ? No. It's a Windows only Python extension. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: Help Parsing an HTML File

2008-02-15 Thread Mike Driscoll
On Feb 15, 3:28 pm, [EMAIL PROTECTED] wrote: > Hello Python Community, > > It'd be great if someone could provide guidance or sample code for > accomplishing the following: > > I have a single unicode file that has descriptions of hundreds of > objects. The file fairly resembles HTML-EXAMPLE paste

Re: basic wxpython help

2008-02-16 Thread Mike Driscoll
On Feb 16, 10:04 am, Vamp4L <[EMAIL PROTECTED]> wrote: > Hello, > I'm brand new to wxpython, trying to implement some code to add rows > in the GUI dynamically. What I want to do is when you click on the > Add Row button, a new row gets added after the first row, before the > button. This code

Re: Pop-up Menu of a Graphics Image?

2008-02-16 Thread Mike Driscoll
On Feb 15, 2:28 pm, "W. Watson" <[EMAIL PROTECTED]> wrote: > I want to allow a user who is looking at a graphic to be able to right-click > on the graphic to produce a menu of choices. > > Does the PIL have something, a class or whatever? What in Tkinter would be > useful for this purpose? GTK? > >

Re: basic wxpython help

2008-02-17 Thread Mike Driscoll
On Feb 16, 3:06 pm, Vamp4L <[EMAIL PROTECTED]> wrote: > Thanks Mike, > Simple enough! I was wandering about the close method too, I had to > hack that together from what I knew about python already. I'll be > sure to join that mailing list. If you get the chance, check out the "wxPython in Act

Re: Cleaning Up an Application When the Window is Closed

2008-02-17 Thread Mike Driscoll
On Feb 17, 8:31 pm, "W. Watson" <[EMAIL PROTECTED]> wrote: > Suppose I write some Win XP application using the Tkinter GUI, and do not > provide a mechanism to exit other than the user clicking on the X in the > upper right corner of a window. Is there a mechanism that will allow me to > put up an

Re: Pmw Use and Grayson's Book

2008-02-17 Thread Mike Driscoll
On Feb 17, 9:33 pm, "W. Watson" <[EMAIL PROTECTED]> wrote: > I don't have Grayson's Tkinter book, but I see he uses something called Pmw. > Why is it needed with Tkinter? > -- > Wayne Watson (Nevada City, CA) > > Web Page: It's not needed. It's

Re: Pmw Use and Grayson's Book

2008-02-18 Thread Mike Driscoll
On Feb 18, 2:29 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > On Feb 18, 5:30 am, "W. Watson" <[EMAIL PROTECTED]> wrote: > > > I wonder why he uses it? > > He uses it because Pmw does a lot of heavy lifting for you when > designing Tkinter apps. Pmw adds things like widgets pre-populated > w

Re: understaning "self"

2008-02-21 Thread Mike Driscoll
On Feb 21, 7:34 am, "Poppy" <[EMAIL PROTECTED]> wrote: > I've been searching online to try get a better understanding of what "self" > does when I define this parameter in my class functions. All I'm finding is > debates on whether "self" has any value to the language but that doesn't > help me in

Re: wxPython Plot always comes to focus on redraw

2008-02-21 Thread Mike Driscoll
On Feb 21, 2:57 am, Jacob Davis <[EMAIL PROTECTED]> wrote: > Hi. > > I am using wxPython, and I have a frame that has a notebook in it. > there are 3 pages in the notebook, 2 of which are Panels and 1 of > which is a PlotCanvas. The data for the plot changes when I press a > button that is in the

Re: ANN: Phatch = PHoto bATCH processor and renamer based on PIL

2008-02-21 Thread Mike Driscoll
On Feb 20, 4:19 am, Stani <[EMAIL PROTECTED]> wrote: > Fred Pacquier fredp.lautre.net> writes: > > > > > Steve Holden holdenweb.com> said : > > > > Perhaps you could put a link to the source on the Windows instalL page? > > > I don't mind being a second-class citizen, but it's annoying to have to

Re: Python on Windows Help

2008-02-21 Thread Mike Driscoll
On Feb 21, 10:09 am, [EMAIL PROTECTED] wrote: > I've written the following script based on information I have found on > the web. The purpose of the script is to start an HTTP listener on > the machine it's running on that will give status on a particular > service running on that system. I've tr

Re: OT: Ideas for a first course using Python

2008-02-21 Thread Mike Driscoll
On Feb 21, 4:48 pm, [EMAIL PROTECTED] wrote: > Sorry to butt in but I am shopping for some ideas. > > I am interested in putting together a programming course for non- > programmers (outside the computer science domain) based on Pyhton. I > envision the course > similar to ones that used old-Basic

Re: ANN: Phatch = PHoto bATCH processor and renamer based on PIL

2008-02-22 Thread Mike Driscoll
On Feb 22, 2:39 am, "SPE - Stani's Python Editor" <[EMAIL PROTECTED]> wrote: > On Feb 22, 1:41 am, Mike Driscoll <[EMAIL PROTECTED]> wrote: > > > On Feb 20, 4:19 am, Stani <[EMAIL PROTECTED]> wrote: > > > Even without python-pyexiv2 Phatch feat

Re: ANN: Phatch = PHoto bATCH processor and renamer based on PIL

2008-02-25 Thread Mike Driscoll
Hi, > > I have Visual Studio 6 and .NET 2003 so I think I'm good for that. > > I am not sure you even need it. I found here some more instructions > for another project which uses libexiv2, which seems to be quite > straightforward:http://albumshaper.wiki.sourceforge.net/Compiling+on+Windows > >

Re: Reading a keypress

2008-02-25 Thread Mike Driscoll
On Feb 25, 12:35 pm, wyleu <[EMAIL PROTECTED]> wrote: > I'm trying to read a single keypress on Linux but expect to have the > programme running on Windows platform as well and find the mention in > the FAQ: > > import termios, fcntl, sys, os > fd = sys.stdin.fileno() > > oldterm = termios.tcgetatt

Re: Python code for 2.5 and 2.4?

2008-02-25 Thread Mike Driscoll
On Feb 25, 2:40 pm, Joseph Turian <[EMAIL PROTECTED]> wrote: > I was given code that was written for python 2.5, and uses simple > functions like 'all' which are not present in 2.4 > > I want to make the code 2.4 compatible. What is the best way to do > this? > If I define function 'all', then won'

Re: Python code for 2.5 and 2.4?

2008-02-25 Thread Mike Driscoll
Joseph, On 2/25/08, Joseph Turian <[EMAIL PROTECTED]> wrote: > > > Seehttp://docs.python.org/lib/built-in-funcs.htmlwhich shows the > > current built-ins for Python. It also shows an equivalent function for > > all() that should work in 2.4. > > Yes, I see that. > > > You can do a check at th

Re: Windows System Administration: State of the Art on Python?

2008-02-26 Thread Mike Driscoll
On Feb 26, 3:23 pm, Krishna Kirti Das <[EMAIL PROTECTED]> wrote: > I am a long-time user of Perl who comes to you in peace and is > evaluating different scripting languages for use as a scripting > platform for system administrators on the Windows platform. Perl > already has many modules that allo

Re: Run wxPython app remotely under XWindows

2008-02-29 Thread Mike Driscoll
On Feb 28, 7:49 pm, Sean DiZazzo <[EMAIL PROTECTED]> wrote: > On Feb 28, 5:26 pm, Sean DiZazzo <[EMAIL PROTECTED]> wrote: > > > > > On Feb 28, 3:50 pm, Bjoern Schliessmann > > [EMAIL PROTECTED]> wrote: > > > Sean DiZazzo wrote: > > > > Is there something special you have to do to get a wxPython ap

Re: Python an Exchange Server

2008-03-04 Thread Mike Driscoll
On Mar 4, 1:20 pm, Yusniel <[EMAIL PROTECTED]> wrote: > Hi friends. Someone know how to work with python and exchange > server?. If you do go the COM route, you'll probably want to ask questions of the PyWin32 user's group, which can be found here: http://mail.python.org/mailman/listinfo/python-w

Re: What is a class?

2008-03-05 Thread Mike Driscoll
On Mar 5, 12:50 pm, [EMAIL PROTECTED] wrote: > What is a class that is not a module? Why is a raven like a writing desk? As for Python class information, I would recommend reading the following sites: http://docs.python.org/tut/node11.html http://www.diveintopython.org/object_oriented_framework/

Re: Please keep the full address

2008-03-05 Thread Mike Driscoll
On Mar 5, 3:51 pm, "D'Arcy J.M. Cain" <[EMAIL PROTECTED]> wrote: > On Wed, 5 Mar 2008 13:38:59 -0800 (PST) > > Mike Driscoll <[EMAIL PROTECTED]> wrote: > > On Mar 5, 12:50 pm, [EMAIL PROTECTED] wrote: > > I'm not sure why you change the addr

Re: Please keep the full address

2008-03-06 Thread Mike Driscoll
On Mar 5, 7:07 pm, "D'Arcy J.M. Cain" <[EMAIL PROTECTED]> wrote: > On Wed, 5 Mar 2008 14:00:17 -0800 (PST) > > Mike Driscoll <[EMAIL PROTECTED]> wrote: > > What are you talking about? I didn't change the address at all. I'm > > not even

Re: Python on the renderfarm

2008-03-06 Thread Mike Driscoll
On Mar 6, 3:35 pm, "Terry Reedy" <[EMAIL PROTECTED]> wrote: > It is fairly well know that cinematic digital effects are most often > rendered on *nix machines with efficient numeric > code.http://www.linuxjournal.com/article/9951 > > But Python sometimes has a role too: from the middile of the ab

Re: system32 directory

2008-03-06 Thread Mike Driscoll
On Mar 6, 3:49 pm, Trent Mick <[EMAIL PROTECTED]> wrote: > > I was aiming to figure out if the standard modules shipped with Python > > could do this already before I started using 3rd party libraries. Thanks. > > You could also manage it with the ctypes module, if you consider that > standard: it

Re: Keep a python script running after browser window closed

2008-03-07 Thread Mike Driscoll
On Mar 7, 10:28 am, sophie_newbie <[EMAIL PROTECTED]> wrote: > Hi, > > I have a cgi script that performs a very long computation that can > take several hours to complete. Is there any smart way that I can keep > this script running until it is finished (after the user has closed > the browser) and

Re: Intelligent Date & Time parsing

2008-03-07 Thread Mike Driscoll
On Mar 7, 4:08 pm, [EMAIL PROTECTED] wrote: > I'm new to python and I was wondering if there are any intelligent > date/time parsing modules out there. I've looked at strptime (or > whichever it is) and mxDateTime from the eGenix package. I need > something to parse user input for a django app, and

Re: Uninstalling Eggs

2008-03-09 Thread Mike Driscoll
On Mar 9, 8:30 am, PB <[EMAIL PROTECTED]> wrote: > I just installed the Shove module with the monumentally crap > setuptools. Whilst the install succeeded, imports now trigger errors, > so clearly it did not install correctly. Can I simply delete the .egg > file from my lib/python2.3/site-packages/

Re: wxPython/wxWidgets ok for production use ? (was Re: Quality assurance in Python projects containing C modules)

2008-03-10 Thread Mike Driscoll
On Mar 10, 10:27 am, "Malcolm Greene" <[EMAIL PROTECTED]> wrote: > Stefan, > > > My personal experience with wxPython has its ups and downs. Specifically > > when it comes to crashes, I wouldn't bet my life on it. (but then, the OP > > I'm new to Python and getting ready to build a small client ba

Re: lowercase u before string in "python for windows"

2008-03-10 Thread Mike Driscoll
> > > is there a newsgroup explicitly for python windows extensions? > > Not that I know of, other than what's described here: > > https://sourceforge.net/mail/?group_id=78018 > > -tkc There is a PyWin32 user's group: http://mail.python.org/mailman/listinfo/python-win32 The maintainer of the pr

Re: wxPython/wxWidgets ok for production use ?

2008-03-10 Thread Mike Driscoll
On Mar 10, 2:11 pm, Stefan Behnel <[EMAIL PROTECTED]> wrote: > Malcolm Greene wrote: > >> My personal experience with wxPython has its ups and downs. Specifically > >> when it comes to crashes, I wouldn't bet my life on it. > > > I'm new to Python and getting ready to build a small client based > >

python-list@python.org

2008-03-10 Thread Mike Driscoll
On Mar 10, 4:04 pm, Eric von Horst <[EMAIL PROTECTED]> wrote: > Hi, > > I need some advice on Drag&Drop. > > What I want to achieve is the following: > - I have a window that is divided in two : on the left hand I > have a wx.TreeCtlr and on the other hand a wx.StaticBitmap > > I want to b

Re: Dispatch("Excel.Application") failed

2008-03-13 Thread Mike Driscoll
On Mar 13, 1:02 am, lialie <[EMAIL PROTECTED]> wrote: > Hi, > Maybe it 's quite simple, but I can't fix it. Do I make some mistakes in > my env setting? My excel version is 2003. > any suggestion? Thanks. > > Traceback (most recent call last): > File "testexcel.py", line 3, in ? > excel = Dispatch(

Re: Python for BlackBerry

2008-03-15 Thread Mike Driscoll
On Mar 15, 7:24 am, "Sandipan Gangopadhyay" <[EMAIL PROTECTED]> wrote: > Is there a Python for BlackBerry? Thanks. > > -Original Message- > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of E-Lo > Sent: Saturday, March 15, 2008 6:03 AM > To: [EMAIL PROTECTED] > Subject: Pyt

Re: Python and 3D

2008-03-15 Thread Mike Driscoll
On Mar 15, 3:09 pm, Eric von Horst <[EMAIL PROTECTED]> wrote: > Hi, > > I am looking for Python modules that allow you to manipulate 3D > objects, more specifically Alias Wavefront .OBJ objects. > Also, a module that would allow you to vizualize these models and > rotate them etc.. > > The goal is

Re: Code to send RSS news by Sendmail

2008-03-15 Thread Mike Driscoll
On Mar 15, 3:18 pm, Ulysse <[EMAIL PROTECTED]> wrote: > Hello, > > I'm searching a code which allow you to parse each item in the RSS > feed, get the news page of each item, convert it to text and send it > by mail. > > Do you know if it exists ? > > Thanks Try using Google next time. In the meant

Re: Python for BlackBerry

2008-03-16 Thread Mike Driscoll
Message- > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of Mike > Driscoll > Sent: Saturday, March 15, 2008 6:04 PM > To: [EMAIL PROTECTED] > Subject: Re: Python for BlackBerry > > On Mar 15, 7:24 am, "Sandipan Gangopadhyay" > <[EMAIL PROT

Re: Pycon disappointment

2008-03-16 Thread Mike Driscoll
> But it gets worse. The lightning talks, traditionally the best, newest > and edgiest part of the conference, were also sold like commercial air > time. Vendors were guaranteed first pick on lightning talk slots, and > we in the audience, expectantly looking forward to interesting and > entertain

Re: wxPython graphics query (newbie)

2008-03-17 Thread Mike Driscoll
On Mar 17, 7:03 am, Thomas G <[EMAIL PROTECTED]> wrote: > I am exploring wxPython and would be grateful for some help. > > It is important to me to be able to slide words and shapes around by > dragging them from place to place. I don't mean dragging them into a > different window, which is what 'D

Re: PyCon Feedback and Volunteers ( Pycon disappointment)

2008-03-17 Thread Mike Driscoll
On Mar 17, 8:16 am, [EMAIL PROTECTED] (Aahz) wrote: > In article <[EMAIL PROTECTED]>, > Torsten Bronger <[EMAIL PROTECTED]> wrote: > > > > >Carl Banks writes: > >> On Mar 16, 10:49 pm, Brian Jones <[EMAIL PROTECTED]> wrote: > >>> On Mar 16, 8:09 pm, [EMAIL PROTECTED] (Aahz) wrote: > > If you

Re: PyCon Feedback and Volunteers (Re: Pycon disappointment)

2008-03-18 Thread Mike Driscoll
On Mar 18, 1:41 pm, fumanchu <[EMAIL PROTECTED]> wrote: > On Mar 17, 6:25 pm, dundeemt <[EMAIL PROTECTED]> wrote: > > > I agree - the balance wasn't as good. We can all agree that HowTos > > and Intros are a necessary part of the conference talks track, but as > > Robert pointed out some talks sho

Re: Improving datetime

2008-03-19 Thread Mike Driscoll
On Mar 19, 9:12 am, "Nicholas F. Fabry" <[EMAIL PROTECTED]> wrote: > This is a query for information as to how to proceed. I am not a > professional programmer, but I use Python a great deal to help me in > my main job, which involves designing schedules for a global airline. > As such, I use date

Re: modules devoted to manipulationg .reg files

2008-03-19 Thread Mike Driscoll
On Mar 19, 1:14 pm, black_13 <[EMAIL PROTECTED]> wrote: > are there any python modules for manipulation of .reg files producted > by > the win32 prog "reg". > thanks. > black_13 The *.reg files are text files, so you can parse them like any text file. You can just edit the Windows Registry directl

Re: csv dictreader

2008-03-19 Thread Mike Driscoll
On Mar 19, 1:06 pm, brnstrmrs <[EMAIL PROTECTED]> wrote: > I am trying to use the dictionary reader to import the data from a csv > file and create a dictnary from it but just can't seem to figure it > out. > > Here is my code: > > >>>import csv > >>>reader = csv.DictReader(open('table.csv')) > >>>

Re: csv dictreader

2008-03-19 Thread Mike Driscoll
On Mar 19, 1:55 pm, brnstrmrs <[EMAIL PROTECTED]> wrote: > On Mar 19, 2:32 pm, Mike Driscoll <[EMAIL PROTECTED]> wrote: > > > > > On Mar 19, 1:06 pm, brnstrmrs <[EMAIL PROTECTED]> wrote: > > > > I am trying to use the dictionary reader to import the

  1   2   3   4   5   6   >