Re: Error importing wxPython

2008-11-06 Thread Mike Driscoll
On Nov 6, 8:09 am, [EMAIL PROTECTED] wrote: > Hi, > > I just installed wxPython fromhttp://wxpython.org/download.php.  When > I import (import wx), I get this error: > > ImportError: DLL load failed: The application has failed to start > because its side-by-side configuration is incorrect. Please s

Re: is there really no good gui builder

2008-11-10 Thread Mike Driscoll
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 best way to use WX. I am browsing for the 10th time > during the last year and I can still not bealive that there is not one > project to make gui-buildin

Re: Python fish simulation?

2008-11-10 Thread Mike Driscoll
On Nov 10, 8:39 am, Joe Strout <[EMAIL PROTECTED]> wrote: > Is there any Python-based fish simulation project?  I've tried   > searching google and pypi, but no luck.  No burning need, just seems   > like it'd be fun. > > Thanks, > - Joe Or you could check out the turtle simulation which should gi

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
On Nov 10, 10:23 am, Scott <[EMAIL PROTECTED]> wrote: > I have a requirement to control a firefox web browser from an external > python program.  The python program running under linux from a command > shell needs to first find all open firefox web browser windows read > the URL currently displayed

Re: pygoocanvas binaries for windows?

2008-11-12 Thread Mike Driscoll
On Nov 12, 11:16 am, sandro <[EMAIL PROTECTED]> wrote: > Hi, > >   I really need binaries for goocanva s for windows. >   There are plenty of places in innternet of people that tried to >   compile with no success. Have anybody of you managed to get them? > > thanks > sandro Are you talking about

Re: win32com and DispatchWithEvents

2008-11-13 Thread Mike Driscoll
On Nov 13, 10:27 am, RyanN <[EMAIL PROTECTED]> wrote: > Greetings, > > I'm trying to get DispatchWithEvents() to work with HyperAccess > (terminal program) without much success. I've done a bunch of > searching and found some examples using IE: > > This works but doesn't handle the "Event Driven Fu

Re: automatic reload

2008-11-14 Thread Mike Driscoll
On Nov 14, 11:04 am, Alan Baljeu <[EMAIL PROTECTED]> wrote: > I need a solution for automatically reloading files I edited.  This is in a > unit testing/fixing context, so there shouldn't be much problem with leftover > data.  I just need to be able to call a reload_changed() method of some sort

Re: wxPython BoxSizer

2008-11-19 Thread Mike Driscoll
Hi Jamie, On Nov 19, 9:16 am, Jamie McQuay <[EMAIL PROTECTED]> wrote: > Simple question, i just can't make it work. > > I need to center a StaticText component in its parent (Panel).  I want > to do this with BoxSizer(s). > > if i use: > box = wx.BoxSizer(wx.VERTICAL)   #or wx.HORIZONTAL > box.Add

Re: wxPython BoxSizer

2008-11-19 Thread Mike Driscoll
On Nov 19, 12:22 pm, Jamie McQuay <[EMAIL PROTECTED]> wrote: > > > FYI: There's a great wxPython mailing list too. Check it out > > > here:http://wxpython.org/maillist.php > > > thanks, i will take a look. > > Here is the answer i got from the mailing list (and it works) > > Try adding a spacer on

Re: calling python scripts as a sub-process

2008-11-19 Thread Mike Driscoll
On Nov 19, 1:03 pm, Catherine Moroney <[EMAIL PROTECTED]> wrote: > I have one script (Match1) that calls a Fortran executable as a > sub-process, and I want to write another script (Match4) that > spawns off several instances of Match1 in parallel and then waits > until they all finish running.  Th

Re: Hooking windowsmessages with python

2008-11-20 Thread Mike Driscoll
On Nov 20, 3:52 am, Kevin Osthoff <[EMAIL PROTECTED]> wrote: > Hi! > > I'm trying to set a message hook with python to catch WM_DROPFILES. > The guiframework is Tkinter. > Here a code snippet: > > > hwnd = eval(self.wm_frame()) > > win32gui.DragAcceptFiles(hwnd,1) > > wnd = win32ui.CreateWindowFrom

Re: Which GROUP to join ?

2009-02-23 Thread Mike Driscoll
On Feb 23, 12:29 pm, Ben wrote: > hello, I have written a parameter driven menuing and screen system for > S-Lang called SLAG.  It is very intuitive and easy to use and was > designed to rapidly build Accounting Applications with. > > I am currently working on porting it to Python. > > Which DEV g

March 2, 2009 Pyowa Meeting

2009-02-24 Thread Mike Driscoll
Hi, Just a quick note to say that our next Pyowa (Python Users Group of Iowa) meeting will be next Monday, March 2nd from 7-9 p.m. We will be in our original location at the Marshall County Sheriff's Office, 2369 Jessup Ave, Marshalltown, IA. Remember, it's technically NOT in Marshalltown at all.

Re: Extending Python Questions .....

2009-02-24 Thread Mike Driscoll
On Feb 24, 11:31 am, Nick Craig-Wood wrote: > Ben wrote: > >  No, It uses the the S-lang for video, and input control. However, SLAG > >  is more of an abstract layer on top of that. > > >  It has a Structures that contains menus and screens (menumodule / > >  screenmodule). One LOADS them up wit

Re: Guidance on writing a top-like console

2009-02-27 Thread Mike Driscoll
On Feb 27, 4:08 pm, ntwrkd wrote: > I am interested in writing an application that functions like a Unix > or Linux top in the way it displays data. > It should be command-line based but dynamically refreshing. > > I'm not sure what I should take into account or how I might go about > implementing

Re: Email Program

2009-03-02 Thread Mike Driscoll
On Feb 28, 7:56 pm, J wrote: > Is it possible to make a GUI email program in Python that stores > emails, composes, ect? Also, could I create my own programming > language in Python? What are Pythons limits, or is this just a waste > of my time to learn it. The book, "Programming Python 3rd ed."

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
On Mar 3, 7:44 am, Ske wrote: > Let me apologise in advance if I’m missing something obvious, I’m still very > new to this! > > I’m attempting to install MySQL-python in Python2.6 on Windows. On running > "easy_install MySQL-python" I get a "The system cannot find the file > specified" message. Fu

Re: siple for in expression

2009-03-03 Thread Mike Driscoll
On Mar 3, 10:05 am, "Matko" wrote: > Hello! > > Can someone help me to understand the following code: > > uv_face_mapping = [[0,0,0,0] for f in faces] > > Thank You very much! > > Matko from Croatia That looks like a list comprehension. It basically creates a list by iterating over some kind of c

Re: Indentifying types?

2009-03-03 Thread Mike Driscoll
On Mar 3, 10:57 am, Oltmans wrote: > I'm reading from a file that contains text like > > > 5 > google_company > apple_fruit > pencil_object > 4 > test_one > tst_two > > > When I read the integer 5 I want to make sure it's an integer. > Likewise, for strings, I want to make sure if someth

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
On Mar 3, 1:15 pm, Scott David Daniels wrote: > Peter Billam wrote: > > I've been trying (newbie warning still on) tkinter with python3.0, > > and I'm getting to that stage where I'm beginning to think there > > must be a better a way to do this...  But I'm unsure if the > > big names Qt, Gtk and

Re: Opening for Python Programmer at Newport Beach

2009-03-03 Thread Mike Driscoll
On Mar 3, 2:17 pm, Cool Dude wrote: > Hello , > This is Aniket from Techclique, a New Jersey based software > development and IT consulting firm providing top quality technical and > software professionals on a permanent and contractual basis to > Government and commercial customer including fortu

Re: Dr Dobbs' Python Weekly URL Archive?

2009-03-05 Thread Mike Driscoll
On Mar 5, 6:15 am, Steve Holden wrote: > Hendrik van Rooyen wrote: > >  "Steve Holden" wrote: > >> My well-known-search-engine-foo must be at an all-time low today. *Is* > >> there an index and I can't see for looking? > > > typing in python weekly at google gives me: > > > Python-URL!The bookmar

Re: wxPython fast and slow

2009-03-06 Thread Mike Driscoll
On Mar 6, 8:41 am, iu2 wrote: > Hi guys, > > Can you please help me with this: > I wrote a little game in wxPython where I move small panels (showing > bitmaps (100 x 100)) on the screen. > > This is similar to the code I wrote: > > for i in xrange(1, steps + 1): >     my_panel.SetPosition(...) >

Re: Packaging modules with Bundlebuilder

2009-03-06 Thread Mike Driscoll
On Mar 4, 12:52 am, DLitgo wrote: > Hello everyone, > > I'm curious about creating .app files for the mac using bundlebuilder > (or py2app or even py2exe). I'm just about done creating a GUI for a > little set of scripts which basically perform batch image editing. > > If I send this app to friend

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. > > >

Re: strange problem with Py2exe

2009-03-11 Thread Mike Driscoll
On Mar 11, 9:37 am, sf409...@gmail.com wrote: > Hello all, > in the past I've used Py2exe without any problem, but now I have this > strange difficulty. > In my computer I have  python 2.6,  py2exe for python 2.6 and the > distutils, but when I do: > > from distutils.core import setup > import py2e

Re: switch to interactive mode

2009-03-16 Thread Mike Driscoll
On Mar 16, 5:49 pm, nntpman68 wrote: > Hi > > I know about two ways to enter python interactive mode > > 1.) just start python > > 2.) run python -i pythonscript.py > > What I am looking for is slightly different: > > I'd like, that a python script can be started by just calling it > (clicking on

Re: Run on Startup

2009-03-18 Thread Mike Driscoll
On Mar 18, 1:09 am, "Gabriel Genellina" wrote: > En Tue, 17 Mar 2009 00:16:53 -0200, MRAB   > escribió: > > > Ian Mallett wrote: > >>  I'd like to make a program that automatically runs on startup (right   > >> after login).  How should I do that? > > > Put it in the folder: > > > C:\Documents an

Re: Openings for Python Programmer at CA

2009-03-18 Thread Mike Driscoll
On Mar 18, 1:09 pm, Paul Rudin wrote: > Aniket M writes: > > Note: Communication MUST be perfect!, Plus submit with 3 professional > > references > > Irony :) I have yet to meet anyone with perfect communication. I think this is an "unfillable" position. Mike -- http://mail.python.org/mailman/l

Re: python equivalent of java technologies

2009-03-18 Thread Mike Driscoll
On Mar 18, 1:14 pm, markolopa wrote: > Hello, > > When comparing python and java with a colleague who is fan of java, > she challenged me to find in python the equivalent to the following > technologies. Could you please help telling if we have something > equivalent in python or not and how they

Re: Run on Startup

2009-03-18 Thread Mike Driscoll
On Mar 18, 2:14 pm, Tim Wintle wrote: > On Wed, 2009-03-18 at 11:13 -0700, Mike Driscoll wrote: > > On Mar 18, 1:09 am, "Gabriel Genellina" > > > Any decent installer is able to register a program so it runs on startup   > > > (InnoSetup, by example).

Re: How to load file .py

2009-03-20 Thread Mike Driscoll
On Mar 20, 11:37 am, "Im Just GembeL" wrote: > Hello all > My name is agiz.im student from indonesia.im stay in borneo island. > Hmm. > im instal python version 3 and Im try file schemafuzz.py this file created by > darkc0de. > And my question.how to load file schemafuzz.py in vista? > after try

Re: py2exe linux equivalent

2009-03-20 Thread Mike Driscoll
On Mar 20, 2:59 pm, Brendan Miller wrote: > I have a python application that I want to package up and deploy to > various people using RHEL 4. > > I'm using python 2.6 to develop the app. The RHEL 4 machines have an > older version of python I'd rather not code against (although that's > an option

Re: Tkinter book on current versions

2009-03-22 Thread Mike Driscoll
Hi, On Fri, Mar 20, 2009 at 10:14 PM, Paul Watson wrote: > Has anyone tried the Grayson book, "Python and Tkinter Programming," > with a recent version of Python? > > The first example code (calculator) generates a single row of buttons. > Perhaps I have not applied the errata correctly.  Has any

Re: How do I learn about Python & XML?

2009-03-28 Thread Mike Driscoll
On Mar 28, 3:11 pm, walterbyrd wrote: > It looks like the most recent book on the subject came out eight years > ago. Also, as I understand it, the PyXML library has been deprecated. The books are still relavant, but you're welcome to try Google. There's lxml and pyparsing, the latter of which ha

Re: tkinter questions: behavior of StringVar, etc

2009-03-28 Thread Mike Driscoll
On Mar 28, 2:15 pm, Alan G Isaac wrote: > I'm a complete newbie to GUI. > I have a couple questions about tkinter. > > 1. Where is the list of changes >     in Python 3's tkinter? > > 2. What exactly is the role of the root object, >     traditionally created as ``root=tk.Tk()``? >     What is an

Pyowa Meeting this week

2009-03-30 Thread Mike Driscoll
area, come on out! Bring your friends, even if they think Perl is the coolest thing since sliced bread. We'll set them straight! Mike Driscoll www.pyowa.org -- http://mail.python.org/mailman/listinfo/python-list

Re: Pyowa Meeting this week

2009-03-30 Thread Mike Driscoll
On Mar 30, 10:33 am, Mike Driscoll wrote: > Hi, > > This is just a reminder that we have a Pyowa meeting this week. It > will be held at Durham Center in Ames, IA on the ISU campus from 7-9 > p.m. Directions are on the website (www.pyowa.org). Topics include the > following:

Re: Syntax disagreement between IDLE and pydev?

2009-03-30 Thread Mike Driscoll
On Mar 30, 12:40 pm, Jim Garrison wrote: > IDLE (3.1a1) accepts > >         a,*b = re.split(str,pattern) > > and does the right thing ('a' gets the first result and 'b' gets > the rest). > > pydev configured to use the exact same Python 3.1a1 runtime doesn't > like this syntax (in my source, colum

Re: win32com python AttributeError!

2009-03-31 Thread Mike Driscoll
On Mar 30, 11:17 pm, Michael wrote: > Hi Python-list - > > Has anyone figured this out from Rebecca: > > Hi, I am having trouble with win32com for python.  I get the following > error when I try to issue any command after using Dispatch. > > >>> xl=win32com.client.Dispatch("Excel.Application") > >

Re: Any library to bind python with Yahoo mail service

2009-04-02 Thread Mike Driscoll
On Apr 2, 7:45 am, guptha wrote: > Hi friends, > I came across libgmail library that can be used to bind python with > Google Gmail's service .Likewise is there any library available to > access the service of Yahoo mail  from python code . > I like to send sms from my application  via Yahoo mail

Re: Q: "Best" book for teaching

2009-04-07 Thread Mike Driscoll
On Apr 6, 9:37 am, grkunt...@gmail.com wrote: > I am considering teaching an "introduction to programming" course for > continuing education adults at a local  community college. These would > people with no programming experience, but I will require a reasonable > facility with computers. > > What

Re: loop? maybe?

2009-04-10 Thread Mike Driscoll
On Apr 10, 7:42 am, heidi taynton wrote: > Hey guys, > > Sorry for being such a noob with this stuff and the language is hard for me > to read through with the online manuals...  i can do math speak, and science > speak... not so much programming/code speak... so when you say pickle... i > thin

Re: tkFileDialog -> ImportError: No module named shell

2009-04-13 Thread Mike Driscoll
On Apr 13, 11:26 am, Alan G Isaac wrote: > Why do I get the ImportError below? > What is the right way to do this? > Thanks, > Alan Isaac > > Python 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit (Intel)] > on win32 > Type "help", "copyright", "credits" or "license" for more informa

Re: tkFileDialog -> ImportError: No module named shell

2009-04-13 Thread Mike Driscoll
gt;  >>> import tkFileDialog > >>  >>> fh = tkFileDialog.asksaveasfile() > >> Traceback (most recent call last): > >>    File "boot_com_servers.py", line 44, in > >>    File "tbzr.pyo", line 125, in > >>    File "tbzr.

Re: wxpython question

2009-04-14 Thread Mike Driscoll
On Apr 13, 9:12 pm, Clemens Anhuth wrote: > isam uraiqat wrote: > > I HATE VISTA!! > > > it just needed to be installed on the site packages library, because > > it was installed by default on program files, > > > hope this might help another poor vista user > > Hello. > > Can you explain? > > Doe

Re: IronPython newbie: not clear on imports and assemblies

2009-04-15 Thread Mike Driscoll
On Apr 15, 3:31 pm, Thomas Gagne wrote: > OK--I also haven't programmed on .NET before. > > My goal is to play with the "EssentialPDF" libraries inside IronPython. >   But I'm not clear on how to import (load?) Essential's .dll files.  Of > course, all the samples files are in C# and VB.  I guess

Re: How to create an unclosed dialog in wxPython?

2009-04-19 Thread Mike Driscoll
On Apr 19, 4:36 am, liangguan...@gmail.com wrote: > On 4月18日, 下午9时40分, 书虫 wrote: > > > In wxPython, after I create a wx.Frame, I want to create a modeless > > and unclosed dialog. Here is my step: > > > app = wx.PySimpleApp() > > f = wx.Frame(None, -1, "Test") > > d = wx.Dialog(f, -1, "Test Dialog

Re: wxPython 2.8 for Python 2.6 on Linux

2009-04-19 Thread Mike Driscoll
On Apr 19, 8:30 am, David Robinow wrote: > On Sun, Apr 19, 2009 at 1:58 AM, Kenny x wrote: > > Hello, I use Ubuntu 8.10 and the latest version of Python. > > > I started programming wxPython on my Windows computer, > > > but now I have access to my ubuntu box, and want wxPython for 2.6 > > > All

Re: color propagation in tkinter

2009-04-20 Thread Mike Driscoll
On Apr 20, 12:35 pm, Alan G Isaac wrote: > I'm a tkinter novice. > > If I want to propagate changes to a font, > I can just use a named font. > > What if I want to propagate color changes? > (E.g., a change in background color for > a number of widgets.) > > Thanks, > Alan Isaac One way would be

Re: using python logo at startup

2009-04-21 Thread Mike Driscoll
On Apr 21, 11:46 am, Dhruv wrote: > Is there a way to display/flash "python powered" logo for like 2 > seconds at startup of a helloworld application? > > Well actually I have an application that takes data from an excel file > and generates a kml file and opens it up with google earth. All this >

Re: SqlAlchemy and mssqlserver

2009-04-21 Thread Mike Driscoll
On Apr 21, 11:22 am, "Stefano" wrote: > Using sqlalchemy with pyodbc and mssqlserver > Why sa always generate identity ? > > many thanks here the sample > > tb = Table('prova',meta,Column('chiave', Integer, primary_key=True)) > tb.create() > > CREATE TABLE prova ( >  chiave INTEGER NOT NULL IDENTI

Re: question about wxpython CtrlList event binder: wx.EVT_LIST_ITEM_RIGHT_CLICK

2009-04-21 Thread Mike Driscoll
On Apr 21, 3:35 pm, Kent wrote: > Hi there, > > I wrote a desktop application with wxPython2.8. And got a problem. > Hope here someone can give some hint. Thanks in advance. I recommend joining the wxPython mailing list and posting there. The guys there are great and can probably help you out. Se

Re: What is the best framework or module in Python for a small GUI based application development?

2009-04-22 Thread Mike Driscoll
On Apr 22, 8:11 am, srinivasan srinivas wrote: > Hi, > Could you suggest me some modules in Python which can be used to develop GUI > based applications? and tell me which could be the best(in terms of > efficiency) one for a small GUI based application development? > > Thanks, > Srini > See th

Re: What is the best framework or module in Python for a small GUI based application development?

2009-04-22 Thread Mike Driscoll
On Apr 22, 10:51 am, Tim Chase wrote: > > My requirement is to write an application which is GUI based > > has to run on browsers. Could you tell me which one would be > > suitable for this? > > These are generally 2 different things:  either you're writing a > local GUI rich-client (in which case

Re: WINXP vs. LINUX in threading.Thread

2009-04-23 Thread Mike Driscoll
On Apr 22, 2:57 pm, Kent wrote: > hello all, > > i want to add a "new update notification" feature to my wxPython appl. > The codes below do the job. The logic is simple enough, I don't think > it needs to be explained. > > since sometimes, under windows, proxy setting was a script. and was > set

Re: Help with code! Gamepad?

2009-04-23 Thread Mike Driscoll
On Apr 23, 6:46 am, DC16 wrote: > I am using pygame and OpenGL. > How do I make a gamepad able to move the camera to a side of a cube on > screen. > > Here is the code for keyboard use: > > import pygame > from pygame.locals import * > import sys > from OpenGLLibrary import * > > pygame.init() > >

Re: Help with code! Gamepad?

2009-04-24 Thread Mike Driscoll
On Apr 24, 10:11 am, DC16 wrote: > On Apr 23, 4:03 pm, Mike Driscoll wrote: > > > > > On Apr 23, 6:46 am, DC16 wrote: > > > > I am using pygame and OpenGL. > > > How do I make a gamepad able to move the camera to a side of a cube on > > > s

Re: wxpython notebook oddness

2009-04-27 Thread Mike Driscoll
On Apr 27, 1:50 pm, "Gabriel Genellina" wrote: > En Thu, 23 Apr 2009 16:44:25 -0300, Lawson English   > escribió: > > > Can anyone tell me why these two behave differfently? > > >http://pastebin.com/m57bee079vs  http://pastebin.com/m3c044b29 > > The code is so different that I don't see why they

Re: What do you think of ShowMeDo

2009-04-28 Thread Mike Driscoll
On Apr 28, 10:43 am, tuxagb wrote: > On 28 Apr, 17:09, Astley Le Jasper wrote: > > > Hi, > > > I've just stumbled over this (http://showmedo.com/) and being the very > > visual person I am, it seems like it could be a good way to learn > > about python. However, before I smack down $60, I wondere

Re: Third Party Modules

2009-04-28 Thread Mike Driscoll
On Apr 28, 12:15 pm, John Nagle wrote: > Brock wrote: > > Hi Everyone, > > > I know this is most likely a basic question and you will roll your > > eyes, but I am just starting out with Python (hobbyist) and I see many > > tutorials on the web referring to the use of external modules. > > > Howeve

Re: desperately looking for a howto on running my wxPython app on Vista

2009-04-29 Thread Mike Driscoll
On Apr 29, 4:17 am, Paul Sijben wrote: > Gabriel Genellina wrote: > >> I am currently stuck on the infamous R6034 error but I understand that > >> after that there may be another issue with certain wxPython functions. > > > That should be fixed in Python 2.6.2, I think. > > Are you compiling all y

Re: don't understand namespaces...

2009-04-30 Thread Mike Driscoll
On Apr 30, 9:11 am, Lawrence Hanser wrote: > Dear Pythoners, > > I think I do not yet have a good understanding of namespaces.  Here is > what I have in broad outline form: > > > import Tkinter > > Class App(Frame) >       define two frames, buttons in one and

Re: wxPython having trouble with frame objects

2009-05-01 Thread Mike Driscoll
On May 1, 12:12 am, Soumen banerjee wrote: > Hello, > Im not adding any GUI elements from the changer thread. Im just > attempting to change the value of a preexisting widget made in thread > one. The point is that i need to display text generated in thread 2 in > a GUI generated in thread 1. > As

Re: wxPython having trouble with frame objects

2009-05-01 Thread Mike Driscoll
On Apr 30, 11:52 pm, Dave Angel wrote: > Soumen banerjee wrote: > > Hello, > > you say that  frame_1 is an attribute of the main class. The main > > class here is guithread right? so any instance of guithread should > > also have an attribute called frame_1 isnt it? Excuse me if im getting > > thi

Re: IDE for python 2.6 (auto complete)

2009-05-04 Thread Mike Driscoll
On May 4, 10:13 am, Soumen banerjee wrote: > Hello, > I have just installed and run python 2.6.2 from the sources available > on the website. I notice that SPE (the editor which i used with python > 2.5) is not displaying some of the functions new in 2.6 as > autocomplete options. Is there any IDE

Re: desperately looking for a howto on running my wxPython app on Vista

2009-05-05 Thread Mike Driscoll
On May 5, 11:43 am, Paul Sijben wrote: > Mike Driscoll wrote: > > On Apr 29, 4:17 am, Paul Sijben wrote: > >> Is there any way to check which is the offending pyd/dll?  (normally > >> Vista does not give out much data on what went wrong) > > >> Paul >

Re: OOP & Abstract Classes

2009-05-11 Thread Mike Driscoll
On May 11, 9:53 am, "Adam Gaskins" wrote: > Hi all, > > -- Non critical info-- > I am a fairly seasoned PHP developer (don't shoot, I'm changing teams!:) who > is admittedly behind the curve with OOP. Like most who learned PHP, I > started doing web app backend stuff, but I have moved to full blow

Re: Writing text to a Word Document

2009-05-11 Thread Mike Driscoll
On May 11, 11:27 am, gazath...@gmail.com wrote: > Hi everyone, > > I am trying to write several attributes from a database table and > using the code below I can write the values however it is only > overwriting on the first line. > > I am new to the win32com bit and I would like to know what is th

Re: Using Pygame with Python

2009-05-11 Thread Mike Driscoll
On May 11, 2:54 pm, cripplem...@gmail.com wrote: > Hi. I would just like to know which of the versions of python and > pygame would be best to download for use together. I am a windows xp > user. Look at the pygame website to see what the newest version of Python it supports and go with that unles

Re: how to consume .NET webservice

2009-05-11 Thread Mike Driscoll
On May 11, 3:09 pm, "bav" wrote: > question from a python newbie; > >   how can i consume in python language, a .NET web service, passing >   a string array as parameter in some easy steps? > > best regards You're being pretty vague here. Try using Google first...I got plenty of hits with "python

Re: how to consume .NET webservice

2009-05-12 Thread Mike Driscoll
On May 12, 12:54 pm, namekuseijin wrote: > On May 12, 4:12 am, "Diez B. Roggisch" wrote: > > > > > namekuseijin schrieb: > >  > Diez B. Roggisch wrote: > >  >> namekuseijin schrieb: > >  >>> bav escreveu: > >   question from a python newbie; > >   > >     how can i consume in python l

Re: How to abort module evaluation?

2009-05-12 Thread Mike Driscoll
On May 12, 1:33 pm, mrstevegross wrote: > I have a python script that is pretty simple: when executed, it > imports a bunch of stuff and then runs some logic. When *imported*, it > defines some variables and exits. Here's what it looks like: > > === foo.py === > if __name__ != '__main__': >   x =

Re: python

2009-05-15 Thread Mike Driscoll
On May 15, 8:58 am, anica_1...@hotmail.com wrote: > hello, I´m a student of linguistic an I need do this exercises. Can > anybody help me,please? > Thanks > > ◑ Read in some text from a corpus, tokenize it, and print the list of > all wh-word types that occur. (wh-words in English are used in > que

Re: Your Favorite Python Book

2009-05-15 Thread Mike Driscoll
On May 11, 4:45 pm, Chris Rebert wrote: > On Mon, May 11, 2009 at 1:44 PM, Sam Tregar wrote: > > Greetings.  I'm working on learning Python and I'm looking for good books to > > read.  I'm almost done with Dive into Python and I liked it a lot. I found > > Programming Python a little dry the last

Re: Parsing Strings in Enclosed in Curly Braces

2009-05-15 Thread Mike Driscoll
On May 15, 11:12 am, xama...@yahoo.com wrote: > How do you parse a string enclosed in Curly Braces? > > For instance: > > x = "{ABC EFG IJK LMN OPQ}" > > I want to do x.split('{} ') and it does not work. Why does it not work > and what are EXCEPTIONS to using the split method? > > That I want to sp

Re: ConfigParser and newlines

2009-05-15 Thread Mike Driscoll
On May 15, 1:09 pm, Minesh Patel wrote: > I am using ConfigParser to parse a config file and I want to maintain > the newlines, how is it possible. Example given below. BTW, is there > an alternative to configParser, should I use 'exec' instead. Is there > any support for yaml built-in or possibly

Re: Advanced Python books?

2009-05-19 Thread Mike Driscoll
On May 18, 3:04 pm, kj wrote: > I have read a couple of "learn Python"-type books, and now I'm > looking for some more advanced books on Python, something analogous > to "Effective Java" or "High-Order Perl".  I've only been able to > find "Advanced Python 3 Programming Techniques", which, as far

Re: which database is suitable for small applications

2009-05-26 Thread Mike Driscoll
On May 26, 8:16 am, J Kenneth King wrote: > Jean-Michel Pichavant writes: > > Kalyan Chakravarthy wrote: > >> Hi All, > >>           can any one suggest me which database I can use for my > >> small application(to store user names ,passwords, very few other > >> data.. ) > >> I am using Python, G

Re: AOPython Question

2009-05-28 Thread Mike Driscoll
On May 28, 1:43 pm, Roastie wrote: > I installed the AOPython module: > >    % easy_install aopython > > That left an aopython-1.0.3-py2.6.egg at > C:\mystuff\python\python_2.6.2\Lib\site-packages. > > I entered the interpreter: > > >>> import aopython > > All is well. > > But I was uncomfortable,

Re: AOPython Question

2009-05-28 Thread Mike Driscoll
On May 28, 3:10 pm, Mike Driscoll wrote: > On May 28, 1:43 pm, Roastie wrote: > > > > > I installed the AOPython module: > > >    % easy_install aopython > > > That left an aopython-1.0.3-py2.6.egg at > > C:\mystuff\python\python_2.6.2\Lib\site

Re: Running compiled windows service python script

2008-05-13 Thread Mike Driscoll
On May 13, 5:15 am, Aspersieman <[EMAIL PROTECTED]> wrote: > Hi All > > I have a windows service (attached file). I basically just calls another > script every 60 seconds. I can install, start and stop this service as > expected with: >     ParseMailboxService.py install | start | stop > > The prob

Re: Literate programs in Python

2008-05-13 Thread Mike Driscoll
On May 13, 10:28 am, Paul Miller <[EMAIL PROTECTED]> wrote: > Does anyone know of any (preferably largish) examples of literate > programs written using Python?  Alternatively, does anyone know of any > literate programming tools which support Python well?  (I am aware of > Leo and I've been to lit

Re: usage of python

2008-05-13 Thread Mike Driscoll
On May 13, 12:10 pm, Rajarshi <[EMAIL PROTECTED]> wrote: > Hi, I teach an introductory programming course in Python. As part of > the introduction I'd like to highlight the usage of Python in > industry. The idea is to show that there are big players using Python > for a variety of tasks. Given tha

Re: Usenet

2008-05-13 Thread Mike Driscoll
On May 13, 1:02 pm, hdante <[EMAIL PROTECTED]> wrote: > Hello, > >  How can I access Usenet without using Google Groups ? (my ISP doesn't > have a NNTP server). Do you recommend doing so ? > >  What's your prefered news reader ? You can use Gmane or Nabble or you could subscribe to c.l.py as a mai

Re: Literate programs in Python

2008-05-13 Thread Mike Driscoll
On May 13, 1:47 pm, Carl Banks <[EMAIL PROTECTED]> wrote: > On May 13, 1:44 pm, Mike Driscoll <[EMAIL PROTECTED]> wrote: > > > On May 13, 10:28 am, Paul Miller <[EMAIL PROTECTED]> wrote: > > > > Does anyone know of any (preferably largish) examples of li

Problem creating a shorcut

2008-05-15 Thread Mike Driscoll
Hi, I've had this niggling issue from time to time. I want to create a shortcut on the user's desktop to a website that specifically loads Firefox even if Firefox is not the default browser. I usually use COM as it allows very specific settings of the shortcut, such as the Working Directory and t

Re: Problem creating a shorcut

2008-05-15 Thread Mike Driscoll
On May 15, 2:03 pm, Larry Bates <[EMAIL PROTECTED]> wrote: > Mike Driscoll wrote: > > Hi, > > > I've had this niggling issue from time to time. I want to create a > > shortcut on the user's desktop to a website that specifically loads > > Firefox even

Re: Problem creating a shorcut

2008-05-16 Thread Mike Driscoll
On May 16, 5:44 am, Wolfgang Draxinger <[EMAIL PROTECTED]> wrote: > Mike Driscoll wrote: > > Hi, > > > I've had this niggling issue from time to time. I want to > > create a shortcut on the user's desktop to a website that > > specifically lo

Re: Problem creating a shorcut

2008-05-16 Thread Mike Driscoll
On May 16, 1:51 am, Chris <[EMAIL PROTECTED]> wrote: > On May 15, 5:13 pm, Mike Driscoll <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > I've had this niggling issue from time to time. I want to create a > > shortcut on the user's desktop t

Re: Problem creating a shorcut

2008-05-16 Thread Mike Driscoll
On May 15, 8:24 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > En Thu, 15 May 2008 12:13:56 -0300, Mike Driscoll <[EMAIL PROTECTED]>   > escribió: > > > I've had this niggling issue from time to time. I want to create a > > shortcut on the use

Re: Problem creating a shorcut

2008-05-16 Thread Mike Driscoll
On May 16, 8:09 am, Larry Bates <[EMAIL PROTECTED]> wrote: > Mike Driscoll wrote: > > On May 15, 2:03 pm, Larry Bates <[EMAIL PROTECTED]> wrote: > >> Mike Driscoll wrote: > >>> Hi, > >>> I've had this niggling issue from time to time. I

Re: encoding problem

2008-05-16 Thread Mike Driscoll
On May 16, 3:31 pm, Luis Zarrabeitia <[EMAIL PROTECTED]> wrote: > Hi, guys. > I'm trying to read an xml file and output some of the nodes. For that, I'm > doing a > print node.toprettyxml() > > However, I get this exception: > > === >     out.write(tag.toxml()) > UnicodeEncodeError: 'ascii' codec c

Re: Distributing applications that use 3rd party modules

2008-05-17 Thread Mike Driscoll
On May 17, 4:42 am, eliben <[EMAIL PROTECTED]> wrote: > Hello, > > I'm getting into Python now after years of Perl, and as part of my > research I must understand how to do some common tasks I need. > > I have a bunch of Windows PCs at work to which I want to distribute an > application I've develo

Re: Distributing applications that use 3rd party modules

2008-05-18 Thread Mike Driscoll
On May 17, 10:13 am, eliben <[EMAIL PROTECTED]> wrote: > On May 17, 3:23 pm, Mike Driscoll <[EMAIL PROTECTED]> wrote: > > > > > On May 17, 4:42 am, eliben <[EMAIL PROTECTED]> wrote: > > > > Hello, > > > > I'm getting into Python

Re: How do *you* use Python in non-GUI work?

2008-05-19 Thread Mike Driscoll
On May 18, 5:20 pm, John Salerno <[EMAIL PROTECTED]> wrote: > Hey all. Just thought I'd ask a general question for my own interest. Every > time I think of something I might do in Python, it usually involves creating > a GUI interface, so I was wondering what kind of work you all do with Python

Re: distutils directory problem

2008-05-19 Thread Mike Driscoll
On May 18, 3:31 pm, Martin Manns <[EMAIL PROTECTED]> wrote: > Hi, > > I have the following problem with the distutils package: > (I have now spent hours reading and searching the manuals and tutorials, > and I am still stuck.) > > I have a working directory > ~/pyspread > in which my libraries are

<    1   2   3   4   5   6   >