Re: FTP libs for Python?

2009-02-20 Thread Mike Kent
I use Fabric (http://www.nongnu.org/fab/) as my Python-based deployment tool, but it uses ssh/scp, not sftp. -- http://mail.python.org/mailman/listinfo/python-list

Re: best IDE

2008-11-26 Thread Mike Driscoll
On Nov 26, 11:59 am, asit <[EMAIL PROTECTED]> wrote: > Which one is the best IDE for python You'll probably also want to take a look at the Python wiki: http://wiki.python.org/moin/PythonEditors Mike -- http://mail.python.org/mailman/listinfo/python-list

Iowa Python Users Group Meeting (Dec. 1, 2008)

2008-11-26 Thread Mike Driscoll
arshalltown, IA 50158 This group is open to new and experienced programmers. Come and network with local IT personnel. If you know you can make it, could you please let me know? It's nice to have a general idea of how many will be there (there is plenty of room though). We hope to see you t

Re: newbie question: if var1 == var2:

2008-11-29 Thread Mike Howard
item = "tree\n" != 'tree' [EMAIL PROTECTED] wrote: Hi All, I dont understand why the following code never finds "tree". I could not find the answer in the Python tutorials. Here is the code, test43.in, and runtime: #!/usr/bin/python fname = open("test43.in") var = 'tree' for item in fname:

Re: Embedded Program Icon (wxPython)

2008-11-29 Thread Mike Driscoll
. The newest version of wxPython includes an updated img2py utility that I'm told supports the previous API, but I haven't tested it. One of these days, I'll have to update that post to reflect the new way though... Glad you found an alternate way to do it though. I recommend subscribing to the wxPython group. They can give you additional pointers, should you need them: http://wxpython.org/maillist.php Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: How to distribute a Python app together with its dependencies?

2008-12-01 Thread Mike Driscoll
ore, I'm not very experienced in these kind > of tasks in Python. > > Thanks in advance for any suggestion or comment. > > Alessio Pace. I recommend GUI2Exe, a nice wrapper to py2exe, py2app, PyInstaller, cx_Freeze and bbFreeze: http://code.google.com/p/gui2exe/ I've only u

Dec 1st Python Meeting Cancellation

2008-12-01 Thread Mike Driscoll
Hi all! Sorry for the very short notice, but the Python Programming group is canceling tonight's meeting due to inclement weather, lack of interest and sickness. We hope to see you at our next meeting, which will be Monday, January 5th, 2009. Happy holidays! Mike Driscoll http://www.pyow

Re: Why doesn't doc has predifined name and location ?

2008-12-01 Thread Mike Driscoll
it puts it in another directory by default... > > Cheers, > Chris > -- Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: Good introductory book?

2008-12-04 Thread Mike Driscoll
think was pretty good. Note that there's not much out for the 3.0 version yet other than the official docs. You'll probably have to wait until next year before much is really written/published about that. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: slow Python 3.0 write performance?

2008-12-05 Thread Mike Driscoll
137329 20 0.29631335 30 0.64104904 40 0.64104904 50 0.7826485 60 0.952999830246 70 1.1386649 80 1.25 90 1.4213134 Slowness in this exercise is confirmed on Windows XP. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: To Troll or Not To Troll (aka: "as" keyword woes)

2008-12-05 Thread Mike Driscoll
ling out some of the spam. > > *No names were mentioned in the making of this post. I really like Python, but I seem to get blasted enough on this list that I don't post much on here any more without being extremely careful in how I word my answers. Bleh! Oh well. You win some, you lose some. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: Calling C# COM (.NET) from python

2008-12-08 Thread Mike Driscoll
I'm not fluent enough in .NET to be able to use a lot of its capabilities. Regardless, you should read up on it as it offers lots of interesting capabilities: http://www.codeplex.com/IronPython Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: Calling C# COM (.NET) from python

2008-12-08 Thread Mike Driscoll
pport most 3rd party packages that are not pure python. As I recall, it doesn't have the complete builtin library either, but it's close. Reads the docs and check it out at least. If you already know .NET languages, then you'll probably find IronPython helpful. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: Calling C# COM (.NET) from python

2008-12-08 Thread Mike Driscoll
On Dec 8, 3:33 pm, Andrew Falanga <[EMAIL PROTECTED]> wrote: > On Dec 8, 11:52 am, Mike Driscoll <[EMAIL PROTECTED]> wrote: > > > > > On Dec 8, 11:14 am, Ben Kaplan <[EMAIL PROTECTED]> wrote: > > > > On Dec 8, 2008, at 11:53 AM, Andrew

Re: Accessing __slots__ from C

2008-12-09 Thread Mike Kolbet
-- http://mail.python.org/mailman/listinfo/python-list

Re: Python to open command script file

2008-12-11 Thread Mike Driscoll
w to trigger them from an > independent script file. > > Thanks! > -Dave I usually use python's included shutil module for copying files and directories. I think that would be a little more cross-platform friendly. However, if you want to execute those commands above, try using the subprocess module or os.system. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: wxPython.button.disabled still catching clicks

2008-12-23 Thread Mike Driscoll
        if stream.CanRead(): >             text = stream.read() >             print text > >         # dont know it is necessary >         self.process.CloseOutput() > >         # remove (clear) process object >         self.process.Destroy() >         self.process = None > &

Re: Easy-to-use Python GUI

2008-12-24 Thread Mike Driscoll
e this for Python? > > Thanks, > ---Joel Some people like Boa Constructor, XRC or wxGlade: http://boa-constructor.sourceforge.net/ http://wxglade.sourceforge.net/ http://wiki.wxpython.org/XRCTutorial Technically, you can switch to IronPython and then use Visual Studio to design your GUIs and IronPython to control it. I think there's something similar to Jython and Cocoa as well. Probably not what you wanted though. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: PythonCard timer/thread tutorial

2008-12-24 Thread Mike Driscoll
methods of messing with threads in wxPython here: http://wiki.wxpython.org/LongRunningTasks And here are the queue docs (for 2.6...): http://docs.python.org/library/queue.html I recommend learning how to use Google effectively. I found about half the links above using it. You might also find joining the wxPython mailing list beneficial. I learn a lot there just by reading and posting to it: http://wxpython.org/maillist.php - Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: PythonCard timer/thread tutorial

2008-12-25 Thread Mike Driscoll
On Dec 25, 7:24 am, Steven D'Aprano wrote: > On Wed, 24 Dec 2008 16:59:23 -0800, Mike Driscoll wrote: > >> Among my questions are: > >> """ A little thread we've added""" seems to be an isolated string. It > >> does not seem t

Re: wxPython.button.disabled still catching clicks

2008-12-30 Thread Mike Driscoll
On Dec 30, 3:04 am, mynthon wrote: > On Dec 23, 6:12 pm, Mike Driscoll wrote: > > > > > On Dec 23, 7:27 am,mynthon wrote: > > > > On Dec 23, 11:58 am, Aaron Brady wrote: > > > > > On Dec 23, 4:50 am,mynthon wrote: > > > > > >

Re: folder extraction

2008-12-30 Thread Mike Driscoll
, see the zip module or use the subprocess module to control an external archiving application. If the latter, see os.walk and the glob module. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: Parsing Excel spreadsheets

2008-12-30 Thread Mike Driscoll
on.net/sjmachin/xlrd.htm, > but I'd rather get some more input before going with something I don't > know. > > Thanks, > Andy. If you need complete control of Excel, then you'll probably have to use COM (see Mark Hammond's PyWin32 package). Otherwise, the suggestion

Re: embedding python in wxpython

2008-12-30 Thread Mike Driscoll
es/directions. > > Thank you > Michael You should ask the guys on the wxPython list for pointers: http://wxpython.org/maillist.php I'm pretty sure I've seen it discussed there before. They already have PyShell and PyCrumb that you could probably use within your program. The wxPython includes demos of them and lots of other widgets. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: win32gui

2008-12-30 Thread Mike Driscoll
at you're looking for, although it's kind of hard to tell from what little info you gave. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: embedding python in wxpython

2008-12-30 Thread Mike Driscoll
RedirectText(log) sys.stdout=redir def onButton(self, event): print "You pressed the button!" # Run the program if __name__ == "__main__": app = wx.PySimpleApp() frame = MyForm().Show() app.MainLoop() - Mike -- http://mail.python.org/mailman/listinfo/python-list

Creating an application for Linux

2008-12-31 Thread Mike Driscoll
ion with SqlAlchemy and a few other external packages. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: Creating an application for Linux

2008-12-31 Thread Mike Driscoll
On Dec 31, 3:36 pm, lkcl wrote: > hiya mike: where do i know you from?  i've heard your name somewhere > and for the life of me can't remember where!  anyway... onwards. > I don't know...while your username looks vaguely familiar, I don't think I've communicat

Iowa Python Users Group Meeting (Jan. 5, 2008)

2009-01-01 Thread Mike Driscoll
experience and new programmers. All experience levels are welcome. We hope to see you there! If you have any questions, just let me know. Mike Driscoll www.pyowa.org -- http://mail.python.org/mailman/listinfo/python-list

Re: Iowa Python Users Group Meeting (Jan. 5, 2008)

2009-01-01 Thread Mike Driscoll
On Jan 1, 10:36 am, Mike Driscoll wrote: > Hi, > > The next Iowa Python Users Group meeting is Monday, January 5th, 2008, > barring bad weather. We will be meeting from 7-9 p.m. at the following > location: > > Marshall County Sheriff's Office > 2369 Jessup

Re: Creating an application for Linux

2009-01-01 Thread Mike Driscoll
On Jan 1, 7:47 am, lkcl wrote: > On Dec 31 2008, 9:54 pm, Mike Driscoll wrote: > > > On Dec 31, 3:36 pm,lkcl wrote: > > > > hiya mike: where do i know you from?  i've heard your name somewhere > > > and for the life of me can't remember where!  anyway.

Re: Py2exe issue

2009-01-02 Thread Mike Driscoll
Traceback (most recent call last): >   File "threading.pyc", line 522, in __bootstrap_inner >   File "script.py", line 35, in run >   File "subprocess.pyc", line 588, in __init__ > [/code] > > So the script.py run perfectly well under the py environment but if i > use py2exe to make an exe then i get the error above. > I read the note in the py2exe Fac regarding Popen, but i don't know if > it's relevant in my case. Try it with bundle_files option 3 instead of 1. Also what version of py2exe are you using? Mike -- http://mail.python.org/mailman/listinfo/python-list

Problem building Python 2.5.2 curses module on HP/UX 11.11

2009-01-06 Thread Mike Kent
I'm having a problem building the Python 2.5.2 curses module on HP/UX 11.11 using gcc 3.3.6, and was hoping someone had a solution. Compiling Modules/_cursesmodule.c is giving several warnings, but no errors. The relevant compile/link output is below. The key output line is: *** WARNING: renamin

Re: python is great

2009-01-06 Thread Mike Driscoll
ybe.  I'm not a big fan of anything so Microsoftian, but I'll admit > that this does mostly fit the bill I described above (or has the > potential to, anyway). > > Thanks, > - Joe I use Andrea Gavana's GUI2Exe to create my binaries. He recently added a py2app wrapper to

Re: How to Delete a Cookie?

2009-01-08 Thread Mike Driscoll
t;]["expires"] = 60*60*24 > c["mycook"]["comment"] = "" > c["mycook"]["path"]    = "/" > c["mycook"]["domain"]  = "" > c["mycook"]["secure"]  = "" > print c > > Thanks > Tryg Well, if you know where the cookie file is stored, you should be able to do this: os.remove(path) Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: sftp with no password from python

2009-01-08 Thread Mike Hjorleifsson
On Jan 8, 10:39 am, loial wrote: > Is it possible to use sftp without a password from python? Yes you can use keys you preestablish between the server and client so you dont need passwords, i do this on all my servers then lock off the ability to accept passwords at all, this way no one can dicti

Re: sftp problem!

2008-10-05 Thread Mike Hjorleifsson
here is a snippet that works, you need to replace the default data or create a database etc.. and the fields to store it you also need to generate and share your public key to the receiving server to avoid password prompt # Standard library imports import os import sys import time import tracebac

Re: Favorite Python System Administration Examples

2008-10-07 Thread Mike Driscoll
There's lots of good stuff on Tim Golden's site (for Windows) that I've used and modified the past couple of years: http://timgolden.me.uk/python/ Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: how can we send keys to keyboard

2008-10-07 Thread Mike Driscoll
far as I can tell). But you didn't say what OS you were using, so maybe this will work. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: time

2008-10-07 Thread Mike Driscoll
return now if __name__ == "__main__": getCurrentTime(-2) See the docs for more info: http://www.python.org/doc/2.5.2/lib/module-time.html Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: how can we send keys to keyboard

2008-10-07 Thread Mike Driscoll
On Oct 7, 10:42 am, mhangman <[EMAIL PROTECTED]> wrote: > On 7 Ekim, 18:34, Mike Driscoll <[EMAIL PROTECTED]> wrote: > > > > > On Oct 7, 10:13 am, mhangman <[EMAIL PROTECTED]> wrote: > > > > how can we send keys to keyboard? i want to write a scr

Re: time

2008-10-07 Thread Mike Driscoll
e, it being summer. Sorry if that's obvious. There are "tzset" and "tzname" methods to the time module. I've heard conflicting reports about their effectiveness, but never tried them myself. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: Accessing the message of Outlook inbox

2008-10-08 Thread Mike Driscoll
ral idea of how to access Outlook with Python: http://cephas.net/blog/2004/09/17/sending-your-outlook-calendar-using-python/ http://www.boddie.org.uk/python/COM.html http://www.goldb.org/goldblog/CommentView,guid,dcd1d9cd-eb1b-4590-a14b-1480bdf1db69.aspx http://mail.python.org/pipermail/python-

Re: Accessing the message of Outlook inbox

2008-10-08 Thread Mike Driscoll
On Oct 8, 12:50 pm, [EMAIL PROTECTED] wrote: > On Oct 8, 8:53 pm, Mike Driscoll <[EMAIL PROTECTED]> wrote: > > > > > On Oct 8, 9:24 am, [EMAIL PROTECTED] wrote: > > > > Hi all, > > >         How can I access the body of a mail in Outlook Inbox? I tri

Re: book recommendation for Python newbie?

2008-10-09 Thread Mike Driscoll
l apps. > > There are a lot of Python books out there... which one would you   > recommend in this case? > > Thanks, > - Joe A lot of people recommend Lutz's "Learning Python". While I haven't read it, I have read his follow-up "Programming Python" a

Re: Wanted: something more Pythonic than _winreg.

2008-10-10 Thread Mike Driscoll
dations? > > Jonathan I've used YARW before for nested deletion. It's a little nicer: http://code.activestate.com/recipes/476229/ There's also this recipe: http://code.activestate.com/recipes/174627/ Other than those, I'm not really aware of much. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: File Upload Size

2008-10-12 Thread Mike Driscoll
prevent files which are too big from being uploaded. > > Best, > > rod Looks like ftplib does that. Check the docs: http://www.python.org/doc/2.5.2/lib/module-ftplib.html Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: SIGALRM problem

2008-10-13 Thread Mike Driscoll
pre-empts the alarm signal?  If it > does, I'd consider that a bug. > > Thanks > --Paul Using some Google-Fu, I found this post: http://mail.python.org/pipermail/python-list/2003-August/217530.html It's old, but it looks ok... Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: Wx.Grid and popup over cells

2008-10-14 Thread Mike Driscoll
amazing tooltip") Hopefully that will get you going. If not, just ask more questions (here or at the wxPython list). --- Mike Driscoll Blog: http://blog.pythonlibrary.org Python Extension Building Network: http://www.pythonlibrary.org -- http://mail.python.org/mailman/listinfo/python-list

Re: Need help with Wxpython

2008-10-14 Thread Mike Driscoll
mmend the wxPython mailing list for questions about wxPython too. I'm sure someone on there could tell you how to do it without the mixin: http://wxpython.org/maillist.php Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: Need help with Wxpython

2008-10-14 Thread Mike Driscoll
On Oct 14, 9:36 am, azrael <[EMAIL PROTECTED]> wrote: > Seen it already but looks to complicated. Someone knows a better way? What about the tree control's GetSelection method? That seems to return the TreeItemId. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: OOP books?

2008-10-15 Thread Mike Driscoll
/diveintopython.org/object_oriented_framework/index.html I have yet to read a Python book that only focuses on the OOP part, probably because everything in Python is an object, so even if you don't realize it, you're probably using some OOP concepts whenever you write in it. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: OOP books?

2008-10-15 Thread Mike Driscoll
On Oct 15, 1:57 pm, Alan G Isaac <[EMAIL PROTECTED]> wrote: > Mike Driscoll wrote: > > I have yet to read a Python book that only focuses on the OOP part, > > http://www.amazon.com/Scripting-Objects-Comparative-Presentation-Obje... > > fwiw, > Alan Isaac Wow! That&

Re: IDE Question

2008-10-15 Thread Mike Driscoll
s great, you can write plug-ins to add your own features and the pro version includes the source (with some provisions). Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: Python equivalent to SharePoint?

2008-10-16 Thread Mike Hjorleifsson
On Oct 15, 11:17 am, Joe Strout <[EMAIL PROTECTED]> wrote: > We've got a client who has been planning to use SharePoint for   > managing their organization documents, but has recently dropped that   > idea and is looking for an alternative.  Is there any Python package   > with similar functionalit

Re: Question related to wx and dynamically updating windows

2008-10-20 Thread Mike Driscoll
, 'a') >              fp.write('%s%s' % (aString, os.linesep)) >              fp.close() > >      def removeLineFromProject(self, aString): >          #Remove all instances of aString >          fp = open(self.fname, 'r+') >          beforeList = self.readProject() >          afterList = [] >          if aString in beforeList: >              for item in beforeList: >                  if aString.strip() != item.strip(): >                      afterList.append(item) >                  else: >                      pass >          else: >              afterList = beforeList > >          self.writeProject(afterList) >          fp.close() I recommend re-posting to the wxPython User's List if you haven't already: http://wxpython.org/maillist.php Also, please make a small runnable sample: http://wiki.wxpython.org/MakingSampleApps That well help us (and you) figure out why it doesn't work Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: p2exe for python 2.6

2008-10-21 Thread Mike Driscoll
ject/showfiles.php?group_id=15583&package_id=35995 If you have issues, you'd best join the py2exe mailing list and post there. Mike -- http://mail.python.org/mailman/listinfo/python-list

Possible read()/readline() bug?

2008-10-22 Thread Mike Kent
Before I file a bug report against Python 2.5.2, I want to run this by the newsgroup to make sure I'm not being stupid. I have a text file of fixed-length records I want to read in random order. That file is being changed in real-time by another process, and my process want to see the changes to

Re: Possible read()/readline() bug?

2008-10-23 Thread Mike Kent
To followup on this: Terry: Yes, I did in fact miss the 'buffer' parameter to open. Setting the buffer parameter to 0 did in fact fix the test code that I gave above, but oddly, did not fix my actual production code; it continues to get the data as first read, rather than what is currently on the

Re: why would 'import win32com' fail?

2008-10-23 Thread Mike Driscoll
ssing here? > > TIA, > > Bill Dunno. Does it give a traceback? Does the interpreter just die? Or what? My guess is you need to uninstall Pywin32 and then reinstall it. I've seen it get goofy like this when I upgrade Pywin32 too. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: ANN: gui_support, a convenience library for wxPython

2008-10-23 Thread Mike Driscoll
, or just something you guys made up? > > Thanks very much, > - Joe You might also look at XRC: http://wiki.wxpython.org/XRCTutorial I know a number of the people on the wxPython user's group use it. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: crossplatform standalone python apps

2008-10-23 Thread Mike Driscoll
Thank you, > Gabriel Use GUI2Exe. It can create frozen distributions for Mac, Windows and Linux using py2exe, py2app, cxFreeze, etc. Check it out here: http://code.google.com/p/gui2exe/ You will (of course) need to have py2exe et al installed if you want GUI2Exe to interface with them. Mi

Re: Py2exe and Module Error...

2008-10-24 Thread Mike Driscoll
hat worked fine when > running the script it found it. However, when actually running it > through py2exe after adding the package as you have said, it still > says 'No module named ClientCookie' > > Any help would be greatly appreciated. > > Vince Try asking at the py2exe mailing list as well. They can probably give you some pointers. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: from package import * without overwriting similarly named functions?

2008-10-24 Thread Mike Driscoll
hen it would be p.bork() Then again, python is open source. Thus, you can modify the source to do whatever you want if you have the patience and the knowledge to do so. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: Urllib vs. FireFox

2008-10-24 Thread Mike Driscoll
mazon, then you might find this module helpful: http://pypi.python.org/pypi/Python-Amazon/ --- Mike Driscoll Blog: http://blog.pythonlibrary.org Python Extension Building Network: http://www.pythonlibrary.org -- http://mail.python.org/mailman/listinfo/python-list

Re: Python barcode decoding

2008-10-24 Thread Mike Driscoll
ab. This post talks a little about it: http://mail.python.org/pipermail/python-list/2000-February/024893.html And here's the official Reportlab site link: http://www.reportlab.org/downloads.html Mike -- http://mail.python.org/mailman/listinfo/python-list

Iowa Python User's Group Meeting Next Week!

2008-10-26 Thread Mike Driscoll
if you want. Be sure to have 2.5 on yours as well as wxPython and the PyWin32 package (if you use Windows). We will have them on USB flash drives should you forget. Free pop and bottled water will be provided. Questions and comments can be directed to mike [at] pythonlibrary [dot] org. Updates can b

Re: parsing MS word docs -- tutorial request

2008-10-29 Thread Mike Driscoll
ctly translated to Python. There's also a PyWin32 mailing list which is quite helpful: http://mail.python.org/mailman/listinfo/python-win32 Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: Graphical object browser

2008-10-30 Thread Mike Driscoll
ding one of the really old wxPython versions and see if it's included: http://sourceforge.net/project/showfiles.php?group_id=10718&package_id=10559 Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: py2exe

2008-10-30 Thread Mike Driscoll
;], > > "excludes" : ["sendkeys"], > > } > } > > ) > > if you need more information please tell me... > > thank you You need to post the error or at least what the issue is as well. And why are you importing wx and then creating a console (i.e. command- line interface) program? I prefer to use GUI2Exe for creating executables: http://code.google.com/p/gui2exe/ Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: Executing a hidden/background program

2008-11-01 Thread Mike Driscoll
ng a service, that's probably the best place to ask. Here's a link to that as well: http://mail.python.org/mailman/listinfo/python-win32 HTH Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: Which was the best Lib of GUI for python

2008-11-04 Thread Mike Driscoll
wx API to be quite sensible and   > easy to work with too. > > HTH, > - Joe And the really cool thing about wxPython is that it has a fun and helpful community. Be sure to join the wxPython mailing list if you go with this toolkit. You'll learn a lot there. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: Error importing wxPython

2008-11-06 Thread Mike Driscoll
e a previous version of wxPython already installed? If so, was that intentional? Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: is there really no good gui builder

2008-11-10 Thread Mike Driscoll
hat much, but I do like that. For the most part though, I just use wxPython. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: Python fish simulation?

2008-11-10 Thread Mike Driscoll
the turtle simulation which should give you ideas for fish: http://inst.eecs.berkeley.edu/~selfpace/cs9honline/P4/ Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: is there really no good gui builder

2008-11-10 Thread Mike Driscoll
On Nov 10, 10:27 am, "Colin J. Williams" <[EMAIL PROTECTED]> wrote: > Mike Driscoll wrote: > > On Nov 8, 1:35 pm, azrael <[EMAIL PROTECTED]> wrote: > >> whoever I ask, everyone tells me when it come to python and GUI-s and > >> that there is the be

Re: Remote control of firefox (mozilla) from a python program

2008-11-10 Thread Mike Driscoll
ight/Moonlight API. I don't think that's quite done for Linux, but it's getting there and when it's done, it might work for you... Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: pygoocanvas binaries for windows?

2008-11-12 Thread Mike Driscoll
the developers would put together a setup.py file, then compiling a binary would be much easier. Otherwise I think you're looking at Cygwin + some hoodoo black magic involving snakes and virgins... Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: win32com and DispatchWithEvents

2008-11-13 Thread Mike Driscoll
win32com.client.DispatchWithEvents(mod, ExplorerEvents) > But this too breaks with the same GetTypeInfo error. > > Any ideas or resources? I can provide the genpy output if that helps. There's the PyWin32 user's group, where the maintainers of PyWin32 hang out and answer questions: http://mail.python.org/mailman/listinfo/python-win32 Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: automatic reload

2008-11-14 Thread Mike Driscoll
oftware that works _with_ you. > There's the "reload" builtin that you could use. In your method, just call reload on the modules you need reloaded. TurboGears somehow watches files for changes, so you might want to check out their source to see how it works. I'm sure it's something similar. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: wxPython BoxSizer

2008-11-19 Thread Mike Driscoll
n the panel is resized and i > don't want to have to do this. > > thanks, > Jamie Try the style=wx.CENTER like this: box.Add(myText,0,wx.CENTER) FYI: There's a great wxPython mailing list too. Check it out here: http://wxpython.org/maillist.php Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: wxPython BoxSizer

2008-11-19 Thread Mike Driscoll
ed. The wx.CENTER style should have worked. Robin Dunn might explain it later. You can learn a lot from the guys (and girls) on that list though. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: calling python scripts as a sub-process

2008-11-19 Thread Mike Driscoll
process.Popen(command1) >    File "/usr/lib64/python2.5/subprocess.py", line 593, in __init__ >      errread, errwrite) >    File "/usr/lib64/python2.5/subprocess.py", line 1051, in _execute_child >      raise child_exception > OSError: [Errno 2] No such file or directory > > Thanks for any help, > > Catherine Try giving an absolute path to the python file rather than a relative path. I don't think the subprocess module "knows" where to look otherwise. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: Hooking windowsmessages with python

2008-11-20 Thread Mike Driscoll
abled. Is this the problem? > > Can someone give me a short working code to hook a message so i can try > it on my workstation? > > Thx in advance! I recommend re-posting to the PyWin32 mailing list where the creators of this package lurk. They'll probably be able to give you som

Re: Which GROUP to join ?

2009-02-23 Thread Mike Driscoll
er projects (such as Sqlalchemy, wxPython, django) have their own specific lists. Join them as needed. Mike -- http://mail.python.org/mailman/listinfo/python-list

March 2, 2009 Pyowa Meeting

2009-02-24 Thread Mike Driscoll
w if you can make it! Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: Extending Python Questions .....

2009-02-24 Thread Mike Driscoll
; So do you want to embed python into your code? > > I'm still not clear what you are trying to achieve with python, though > I have a better idea what SLAG is now! > > -- > Nick Craig-Wood --http://www.craig-wood.com/nick Maybe he wants SendKeys? Here's the link just in case: http://pypi.python.org/pypi/SendKeys/0.3 Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: Guidance on writing a top-like console

2009-02-27 Thread Mike Driscoll
how I might go about > implementing this? > Any suggestions are appreciated. Perhaps you're looking for the curses module? http://www.amk.ca/python/howto/curses/ Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: Email Program

2009-03-02 Thread Mike Driscoll
ing Python 3rd ed." by Lutz has a command-line and a Tkinter-based GUI email program in it. I don't recall if it stored emails or not, but that should be fairly trivial to add. I've written a simple GUI program for sending emails via POP3, but haven't dug into downloading or

Re: Email Program

2009-03-02 Thread Mike Driscoll
's not open source, so I don't see how I can "take a look" at it. The developers for Digsby announced it on the wxPython list for some reason, so I was a little disappointed when the source was unavailable. Mike > > On Mon, Mar 2, 2009 at 8:34 PM, Mike Driscoll wrote:

Re: easy_install with MySQL-python

2009-03-03 Thread Mike Driscoll
that folder via the command line and running something like this: python setup.py install If your python isn't on the path, you'll have to do something like this instead: c:\python26\python.exe setup.py install Hopefully that will get you going. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: siple for in expression

2009-03-03 Thread Mike Driscoll
a list by iterating over some kind of collection. See the following sites for more info: http://docs.python.org/tutorial/datastructures.html#list-comprehensions http://www.secnetix.de/~olli/Python/list_comprehensions.hawk http://www.network-theory.co.uk/docs/pytut/ListComprehensions.html Mike -- ht

Re: Indentifying types?

2009-03-03 Thread Mike Driscoll
; enlighten me. I will really appreciate > any help. > > Thanks, > Oltmans I think when you're reading from a file, it will just read each line as a string. So you'd probably need to either try casting the line into something else and catch it in an exception handler or use ev

Re: Indentifying types?

2009-03-03 Thread Mike Driscoll
On Mar 3, 11:44 am, Chris Rebert wrote: > On Tue, Mar 3, 2009 at 9:03 AM, Mike Driscoll wrote: > > - Show quoted text - > > On Mar 3, 10:57 am, Oltmans wrote: > >> I'm reading from a file that contains text like > > >> > >> 5 > >>

Re: qt, gtk, wx for py3 ?

2009-03-03 Thread Mike Driscoll
inter, I didn't find the docs to be any better than what I found in wxPython. Each toolkit has it's own ups and downs. I would recommend trying them until you find something you like. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: Opening for Python Programmer at Newport Beach

2009-03-03 Thread Mike Driscoll
focused environment > > Thanks & Regards, > Aniket > Techclique Inc. > Jersey City, NJ > Email: [email protected] > Yahoo IM : [email protected] > Contact No : 732-357-3844 Is your email program broken or what? Why are you sending the same exact message 5 times!? Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: Dr Dobbs' Python Weekly URL Archive?

2009-03-05 Thread Mike Driscoll
archive" ... but thanks anyway! > > regards >  Steve > -- > Steve Holden           +1 571 484 6266   +1 800 494 3119 > Holden Web LLC                http://www.holdenweb.com/ > Want to know? Come to PyCon - soon!http://us.pycon.org/ Perhaps you're looking f

Re: wxPython fast and slow

2009-03-06 Thread Mike Driscoll
ve very slowly. > > Do you have any idea of what is going wrong? > Thank you very much > > iu2 Can you post a sample application so we can try to figure out what's wrong? You might also cross-post this to the wxPython mailing list. They might know. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: Packaging modules with Bundlebuilder

2009-03-06 Thread Mike Driscoll
//code.google.com/p/gui2exe/ Note that I do not have a Mac and thus, have not used py2app...see their docs for complete info. Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: wxPython fast and slow

2009-03-08 Thread Mike Driscoll
On Mar 8, 3:52 am, iu2 wrote: > On Mar 6, 6:52 pm, Mike Driscoll wrote: > > > ... > > Can you post a sample application so we can try to figure out what's > > wrong? You might also cross-post this to thewxPythonmailing list. > > They might know. > > >

<    16   17   18   19   20   21   22   23   24   25   >