Re: displaying my randomly selected numbers in a colorful interface.

2008-08-19 Thread Mike Driscoll
On Aug 19, 1:02 am, Goksie Aruna <[EMAIL PROTECTED]> wrote: > dear all, > > i have arrays of number of size lets  say 4000 i.e.  201000..2013999 > > now i want to do the following. > > first print all the numbers to a colorful console. be it wx,  tk, or web > based. > > then pick a winning number f

Re: Could anyone point me to a good site for pearl compiler download

2008-08-21 Thread Mike Driscoll
On Aug 21, 1:51 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > En Thu, 21 Aug 2008 15:01:16 -0300, rich murphy   > <[EMAIL PROTECTED]> escribió: > > > Could anyone point me to a good site for pearl compiler download. > > Would be better to ask for it in a Perl group, don't you think? > > -- >

Iowa Python User's Group

2008-08-21 Thread Mike Driscoll
) org. Once I have an idea of the people that are interested and the knowledge they have, we can choose the focus of the group and such. Thank you for your time. Sincerely, Mike Driscoll -- http://mail.python.org/mailman/listinfo/python-list

Re: gridSizer inside a panel element

2008-08-22 Thread Mike Driscoll
On Aug 22, 8:09 am, Gandalf <[EMAIL PROTECTED]> wrote: > why when I try to insert gridSizer to a panel which already inside > another panel the gridSizer doesn't work? > > this is the code: > > I'm not sure how to do multiple panels like that. And I'm not really sure what you're trying to achiev

Re: gridSizer inside a panel element

2008-08-22 Thread Mike Driscoll
On Aug 22, 8:51 am, Iain King <[EMAIL PROTECTED]> wrote: > On Aug 22, 2:09 pm, Gandalf <[EMAIL PROTECTED]> wrote: > > > > > why when I try to insert gridSizer to a panel which already inside > > another panel the gridSizer doesn't work? > > > this is the code: > > > panel3= wx.Panel(self, -1, (0, 6

Re: Books about Python.

2008-08-26 Thread Mike Driscoll
On Aug 24, 10:32 pm, [EMAIL PROTECTED] wrote: > I'm up to write a 20-30 research paper for my computer science course, > and I was considering choosing to do mine on Python.  I was curious if > anybody knows of any good books about python they could recommend that > have more of a technical view ra

Re: PyDoc in Windows Vista

2008-08-29 Thread Mike Driscoll
On Aug 28, 5:45 pm, Tyler Shopshire <[EMAIL PROTECTED]> wrote: > I can't seem to access the pydoc sever from my web browser. I start the > server from the command prompt and everything seems to be working fine, > then I got tohttp://localhost:/and it doesn't work. I also tried > starting the gr

Re: Sending e-mail

2008-08-29 Thread Mike Driscoll
On Aug 29, 11:44 am, [EMAIL PROTECTED] wrote: > On Aug 28, 3:23 pm, gordyt <[EMAIL PROTECTED]> wrote: > > > > > Peter here is an example.  I just tried it and it works fine. > > > from smtplib import SMTP > > HOST = "smtp.gmail.com" > > PORT = 587 > > ACCOUNT = ""  # put your gmail email account na

Re: How to delete a last character from a string

2008-08-29 Thread Mike Driscoll
On Aug 29, 1:28 pm, [EMAIL PROTECTED] wrote: > Sorry : Earlier mail had a typo in Subject line which might look > in-appropriate to my friends > > Hi, > > I've a list some of whose elements with character \. > I want to delete this last character from the elements that have this > character set at

Re: path slashes cleaning

2008-09-04 Thread Mike Driscoll
On Sep 4, 8:25 am, "Mathieu Prevot" <[EMAIL PROTECTED]> wrote: > Hi, > > for scripts that take arguments, I would like to remove the trailing > slash if it's present. > > Is there something else than: > > a='/usr/local/lib/' > if a[-1] == '/': >   a = list(a) >   a.pop() >   ''.join(a) > > Thanks,

Re: Access to Windows "Add/Remove Programs"?

2008-09-04 Thread Mike Driscoll
On Sep 3, 9:41 pm, Sean DiZazzo <[EMAIL PROTECTED]> wrote: > On Sep 3, 7:13 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > > > > > En Wed, 03 Sep 2008 21:51:59 -0300, Sean DiZazzo <[EMAIL PROTECTED]>   > > escribi : > > > > I'm trying to find a way to get a list of all the installed programs

Re: Can anyone suggest a good crypto package?

2008-09-04 Thread Mike Driscoll
On Sep 4, 1:39 pm, Fett <[EMAIL PROTECTED]> wrote: > I need a crypto package that works on windows with python 2.5. Can > anyone suggest one for me? > > I have been searching for a couple days for a good cryptography > package to use for public/private key encryption, at this point I > would settle

Re: Can anyone suggest a good crypto package?

2008-09-04 Thread Mike Driscoll
On Sep 4, 2:50 pm, Fett <[EMAIL PROTECTED]> wrote: > On Sep 4, 2:23 pm, Mike Driscoll <[EMAIL PROTECTED]> wrote: > > > > > On Sep 4, 1:39 pm, Fett <[EMAIL PROTECTED]> wrote: > > > > I need a crypto package that works on windows with python 2.5. Can

Iowa Python Users Group - First Meeting

2008-09-09 Thread Mike Driscoll
their experience with it) is welcome to come. Let your Iowan Python friends know. Questions or ideas? Send them to me. Thanks! --- Mike Driscoll email: mike (at) pythonlibrary (dot) org Blog: http://blog.pythonlibrary.org Python Extension Building Network: http://www.pyt

Re: Wx Python - Code Structure & Event Handling

2008-09-09 Thread Mike Driscoll
On Sep 9, 3:05 pm, [EMAIL PROTECTED] wrote: > Hi, > > I have just started writing a GUI using wxpython after finding a > limitation using Tkinter. I have read most tutorials on wxpython and > slowly becoming accustomed considering I started with the latter GUI > tool first! > I must quote first tha

Re: wxpython ms-dos black window popping up in background

2008-09-10 Thread Mike Driscoll
On Sep 10, 6:48 am, James A. Donald <[EMAIL PROTECTED]> wrote: > On Tue, 9 Sep 2008 14:35:13 -0700 (PDT), icarus <[EMAIL PROTECTED]> > wrote: > > > Oh ok. Thanks. In windows xp I just renamed the file extension to .pyw > > That did it. > > > one more question... > > > how do I create a pythonw stan

Re: wxpython ms-dos black window popping up in background

2008-09-10 Thread Mike Driscoll
ne to work on a very slightly different windows > > > machine was also a nightmare. > > > > I have not attempted to create installable wxPython windows, but > > > generally, "run anywhere" will bite you.  Still looking for a good > > > solutio

Re: wxpython ms-dos black window popping up in background

2008-09-10 Thread Mike Driscoll
On Sep 10, 4:34 pm, Mike Driscoll <[EMAIL PROTECTED]> wrote: > On Sep 10, 3:53 pm, James A. Donald <[EMAIL PROTECTED]> wrote: > > > > > James A. Donald > > > > > Horrible installs are a chronic problem of GUI programs driven by > > > > int

Re: Python a good choice for experimenting with Win32 API?

2008-09-12 Thread Mike Driscoll
On Sep 12, 10:36 am, "Siegfried Heintze" <[EMAIL PROTECTED]> wrote: > I need to understand some User32.dll functions and I'm making an elaborate > GUI so I can easily experiment with different parameters. This is taking a > long time. I'm new to python and I'm thinking it would sure be nice to have

Re: GUI programming with python

2008-09-12 Thread Mike Driscoll
On Sep 12, 1:33 pm, [EMAIL PROTECTED] (Al Dykes) wrote: > In article <[EMAIL PROTECTED]>, > Alan Franzoni  <[EMAIL PROTECTED]> wrote: > > >zamil was kind enough to say: > > >[cut] > > >If your needs are very basic, you can stick with the tk module that comes > >with python. It's not really feature-

Re: on-the-fly translation with gettext

2008-09-16 Thread Mike Driscoll
On Sep 16, 4:57 am, Benjamin Sigonneau <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm a complete beginner in python and in GUI designing, yet I'm writing > a GUI using python and Tkinter.  I need it to be available both in french > and english, so I read the Fine Manual and gave a try to gettext. > >

Re: Problems running on hp dual core processor

2008-09-22 Thread Mike Driscoll
On Sep 22, 1:43 pm, jim-on-linux <[EMAIL PROTECTED]> wrote: > Python help, > > I have a number of clients running a program built with > python 2.5.  One has just purchased an HP with a duel > core processor,  2.2G with .099g ram. > > On the new hp, when they try to print they get an > import error

Re: Problems running on hp dual core processor

2008-09-22 Thread Mike Driscoll
On Sep 22, 1:43 pm, jim-on-linux <[EMAIL PROTECTED]> wrote: > Python help, > > I have a number of clients running a program built with > python 2.5.  One has just purchased an HP with a duel > core processor,  2.2G with .099g ram. > > On the new hp, when they try to print they get an > import error

Re: python freeze help

2008-09-23 Thread Mike Driscoll
On Sep 23, 5:01 am, Gabriel Rossetti <[EMAIL PROTECTED]> wrote: > Hello everyone, > > I'm trying to use python's freeze utility but I'm running into problems. > I called it like this : > > python /usr/share/doc/python2.5/examples/Tools/freeze/freeze.py > ~/Documents/Code/Python/src/jester/service.p

Re: How to copy a GUI2exe project - to serve as basis for new project ?

2008-09-24 Thread Mike Driscoll
On Sep 24, 2:54 am, "Barak, Ron" <[EMAIL PROTECTED]> wrote: > Hi, > > In GUI2exe, I'd like to create a project that is different from an existing > project only in a few details (e.g., the location of the 'dist' directory). > Is there a way to copy a current project - so it would serve as a basis

Re: Making small executive file for distribution

2008-09-24 Thread Mike Driscoll
On Sep 24, 8:17 am, Marin Brkic <[EMAIL PROTECTED]> wrote: > Not commercial distribution, but an academic kind of sorts - giving > the exe file to coleagues, so they can use it in their work. Giving > .py file is not an option, since due to centralized computer > maintenance, they don't (and cannot

urllib error on urlopen

2008-09-24 Thread Mike Driscoll
Hi, I have been using the following code for over a year in one of my programs: f = urllib2.urlopen('https://www.companywebsite.com/somestring') It worked great until the middle of the afternoon yesterday. Now I get the following traceback: Traceback (most recent call last): File "", line 1,

Re: urllib error on urlopen

2008-09-25 Thread Mike Driscoll
On Sep 24, 7:08 pm, Michael Palmer <[EMAIL PROTECTED]> wrote: > On Sep 24, 11:46 am, Mike Driscoll <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > I have been using the following code for over a year in one of my > > programs: > > > f = urll

Re: urllib error on urlopen

2008-09-25 Thread Mike Driscoll
On Sep 24, 9:36 pm, Steven D'Aprano <[EMAIL PROTECTED] cybersource.com.au> wrote: > On Wed, 24 Sep 2008 08:46:56 -0700, Mike Driscoll wrote: > > Hi, > > > I have been using the following code for over a year in one of my > > programs: > > > f = url

Re: How can I customize builtin module search path to prefix/lib to prefix/lib64?

2008-09-25 Thread Mike Driscoll
On Sep 25, 10:41 am, js <[EMAIL PROTECTED]> wrote: > Hi list, > > Is it possible to change module search path (PYTHONPATH) built-in to > Python interpreter? > I thought I can change it with configure --libdir but it didn't work for me. > I also tried patching around python source tree replacing lib

Re: how to search multiple textfiles ?

2008-09-26 Thread Mike Driscoll
On Sep 26, 8:35 am, Stef Mientki <[EMAIL PROTECTED]> wrote: > hello, > > I want to search multiple textfiles (python source files) for a specific > word. > I can find all files, open them and do a search, > but I guess that will be rather slow. > > I couldn't find any relevant information through

Re: cups.Connection.printFile

2008-09-26 Thread Mike Driscoll
On Sep 19, 9:01 am, Antoon Pardon <[EMAIL PROTECTED]> wrote: > On 2008-09-16, Graham Jenkins <[EMAIL PROTECTED]> wrote: > > > > > I'm trying to print a file from within a Python program. > > > The quick-and-dirty solution is to use something like: > > > fd = os.popen("lp -d MyPrinter", "wb") > > fd

Re: python-2.6

2008-10-02 Thread Mike Driscoll
On Oct 2, 8:33 am, [EMAIL PROTECTED] wrote: > Hi all. > > I've installed on may MacOS X 10.4.11 (PPC) Python-2.5.2, numpy and scipy. > Now I'm interested to insall Python-2.6. My question is: What will happen to > may scientific modules if now I jump fro 2.5.2 to 2.6? I've to reinstall > numpy and

Re: Professional quality scripts/code

2008-10-02 Thread Mike Driscoll
On Oct 2, 3:38 pm, robean <[EMAIL PROTECTED]> wrote: > I have been learning Python for the last 3 months or so and I have a > working (but somewhat patchy) sense of the the language. I've been > using a couple of the more popular Python books as well as online > resources. > > A question for experi

Re: processing email with Python on Windows?

2008-10-03 Thread Mike Driscoll
On Oct 3, 9:01 am, Beliavsky <[EMAIL PROTECTED]> wrote: > I work for a financial company where we run Windows XP and read email > using Microsoft Outlook 2003. I get daily files that come as email > attachments from various counterparties. I save them as h:\firm_name > \mmdd.csv . Would Python

Re: processing email with Python on Windows?

2008-10-03 Thread Mike Driscoll
On Oct 3, 4:10 pm, Rob Williscroft <[EMAIL PROTECTED]> wrote: > Beliavsky wrote in news:d579f554-be4b-4066-acec-49a7bafb1046 > @t41g2000hsc.googlegroups.com in comp.lang.python: > > > I work for a financial company where we run Windows XP and read email > > using Microsoft Outlook 2003. I get daily

Re: confusing thread behavior

2009-12-03 Thread Mike Driscoll
lp or not, but see the following article on the wxPython wiki: http://wiki.wxpython.org/LongRunningTasks There's a section called "More Tips" where Queues are discussed. Robin Dunn (creator of wxPython) seems to recommend using wx.CallAfter there rather than PostEvent. --- Mike

Re: Help in wxpython

2009-12-03 Thread Mike Driscoll
I would really recommend you > to use pygtk instead of wx. > For one thing, the developers at pygtk are very active (they have their > mailing list as well ) and it comes by default with python on almost all > linux distros.  You can also easily install it on wind

Re: Help in wxpython

2009-12-03 Thread Mike Driscoll
ls on them on my blog, which I then stick in the official wxPython wiki if I think the article is good enough. --- Mike Driscoll Blog: http://blog.pythonlibrary.org -- http://mail.python.org/mailman/listinfo/python-list

Re: Connecting to the users preferred email client

2009-12-04 Thread Mike Driscoll
> like Thubderbird, Evolution etc.? > > Tuomas Vesterinen Check this thread out: http://www.megasolutions.net/python/invoke-users-standard-mail-client-64348.aspx Basically, the idea is to pass the mailto url to webbrowser. --- Mike Driscoll Blog: http://blog.pythonlibrary

Re: subprocess kill

2009-12-04 Thread Mike Driscoll
uestions/1064335/in-python-2-5-how-do-i-kill-a-subprocess --- Mike Driscoll Blog: http://blog.pythonlibrary.org -- http://mail.python.org/mailman/listinfo/python-list

Re: Problem with win32ui

2009-12-22 Thread Mike Driscoll
> > There is a missing DLL. Dependency Walker is a useful tool to solve this   > kind of > problems:http://technet.microsoft.com/en-us/library/cc738370(WS.10).aspx > Once you know which DLL is missing, add it to your setup.py > > -- > Gabriel Genellina Also make

Re: Help getting profile information programmatically

2009-12-31 Thread Mike Driscoll
the data generated. That link also links to the hotshot profiler, which looks like it's even simpler to use. You might also want to check out the logging module. --- Mike Driscoll Blog: http://blog.pythonlibrary.org PyCon 2010 Atlanta Feb 19-21 http://us.pycon.org/ -- http://mail.python.org/mailman/listinfo/python-list

Re: whoops: create a splash window in python

2009-12-31 Thread Mike Driscoll
xPython the most, so if you have specific questions about that, let me know. Good luck! --- Mike Driscoll Blog: http://blog.pythonlibrary.org PyCon 2010 Atlanta Feb 19-21 http://us.pycon.org/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Simple distributed example for learning purposes?

2010-01-14 Thread Mike Driscoll
sheer inspiration, will be gratefully received. > > Thanks > > TJG > > [*] roughly, ages 14-18 I think distributed transcoding of hi-def videos would be cool, but I haven't found much with Google. Still, you might find this useful for your project: http://pypi.python.org/

Re: python gui ide under linux..like visual studio ;) ?

2010-01-18 Thread Mike Driscoll
I've heard of another one that was commercial, but I can't recall the name at the moment. --- Mike Driscoll Blog: http://blog.pythonlibrary.org PyCon 2010 Atlanta Feb 19-21 http://us.pycon.org/ -- http://mail.python.org/mailman/listinfo/python-list

Re: looking for Python live code reloading IDEs

2010-01-22 Thread Mike Driscoll
visual generation). > > Currently I do this directly in my editor (for game development), but > I'm curious if there are other options. Maybe you could get an idea from TurboGears or Django. They seem to reload their environments when a file is saved. --- Mike Driscoll Blog:

Re: simple pub/sub

2010-01-22 Thread Mike Driscoll
a > line of text from a data stream.  (And there may be multiple > consumers.) >   3) The comm program will need to be able to poll the serial port and > input data streams to see which ones are ready. > > Any thoughts? Did you look at the pubsub module at all? See http://pu

Re: WxPython upgrade trouble on Ubuntu 8.04

2010-01-25 Thread Mike Driscoll
124: error: ISO C++ forbids > declaration of ‘GLXFBConfig’ with no type > /usr/include/wx-2.8/wx/gtk/glcanvas.h:124: error: expected ‘;’ before > ‘*’ token > error: command 'gcc' failed with exit status 1 > > Worse -- NOW if I start Python 2.5, I get the same error mess

Pyowa Meeting Next Monday

2010-01-27 Thread Mike Driscoll
us modules used to put it all together. We'll probably have plenty of free time to chat and you can show off anything neat that you've been doing too. I hope to see you there! ----- Mike Driscoll Website: www.pyowa.org Twitter: www.twitter.com/pyowa -- http://mail.python.

AES decrypting in Python

2009-10-07 Thread Mike Driscoll
Hi, I am working on a project where I need to decrypt some data that has been encrypted with AES. It looks like M2Crypto is the module of choice for these sorts of things, but I cannot figure out how to do this stuff from the docs. I have the following PHP code that needs to be translated into Pyt

Re: AES decrypting in Python

2009-10-07 Thread Mike Driscoll
On Oct 7, 10:04 am, "M.-A. Lemburg" wrote: > Mike Driscoll wrote: > > Hi, > > > I am working on a project where I need to decrypt some data that has > > been encrypted with AES. It looks like M2Crypto is the module of > > choice for these sorts of t

Re: Freezing python files into executables

2009-11-03 Thread Mike Driscoll
th a whole slew of freezing modules: http://code.google.com/p/gui2exe/ I've been using it to make executables on Windows through it's py2exe implementation. --- Mike Driscoll Blog: http://blog.pythonlibrary.org -- http://mail.python.org/mailman/listinfo/python-list

Re: WxPython versus Tkinter.

2011-01-24 Thread Mike Driscoll
how that wx is better. I like the concept of creating a challenge to see which toolkit can do what, but this is not the way to go about it. Bryan, on the other hand, has been a Tkinter luminary who has helped me in the past when I was learning Tkinter and I won't be too surprised if he help

Re: WxPython versus Tkinter.

2011-01-24 Thread Mike Driscoll
On Jan 24, 9:02 am, rantingrick wrote: > On Jan 24, 8:49 am, Mike Driscoll wrote: > > > On Jan 24, 7:24 am, Bryan wrote: > > > In my experience, segfaults with wxPython aren't daily, but they are > > > pretty much weekly. There are weeks that can go by wit

Re: packaging multiple python scripts as Windows exe file

2010-04-13 Thread Mike Driscoll
the answer is. But I think you're talking about a certain MS DLL that Python distributes. If so, I've read multiple threads on this topic that claim that since Python distributes it, there is an implied permission that you can as well. Since I'm not a lawyer, I can't say for su

Re: simple GUI for my application?

2009-06-16 Thread Mike Driscoll
On Jun 16, 9:20 am, Filipe Teixeira wrote: > Hi, I'm really struggling to find the best GUI to make a simple > application. > > I'm doing a program to load all the ini files in the current folder, > or the folder that the user chooses and list the specifics entries in > it. > > So, the program wou

Re: simple GUI for my application?

2009-06-16 Thread Mike Driscoll
On Jun 16, 1:24 pm, Tim Harig wrote: > On 2009-06-16, Mike Driscoll wrote: > > > On Jun 16, 9:20 am, Filipe Teixeira wrote: > >> Hi, I'm really struggling to find the best GUI to make a simple > >> application. > [SNIP] > >> Basically I will use

Re: Tutorial on working with Excel files in Python (without COM and cross platform!) at EuroPython 2009

2009-06-18 Thread Mike Driscoll
On Jun 18, 10:38 am, Chris Withers wrote: > Hi All, > > Too many people in the Python community *still* think the only way to > work with Excel files in Python is using COM on Windows. > > To try and correct this, I'm giving a tutorial at this year's EuroPython > conference in Birmingham, UK on Mo

Re: Once again, comparison wxpython with PyQt

2009-06-18 Thread Mike Driscoll
On Jun 18, 8:35 am, Hans Müller wrote: > Here we have to select between wxPython and PyQt for a medium size project. > In this project several hundred dialogs are to be created. This work will be > done by a > program generator which has to re-written. > > The question now is which framework shou

Pyowa is this Monday!

2009-07-04 Thread Mike Driscoll
mming language. Be prepared to share! We may have another presentation in our Standard Library series as well or just something random. Let me know if you think you'll be there. Pop & water will be provided. We hope to see you there! -- Mike Driscoll http://www.

Re: Bug in IEHtmlWindow?

2009-07-30 Thread Mike Driscoll
On Jul 30, 2:54 am, Massi wrote: > Hi everyone, I'm trying to use IEHtmlWindow in my application (python > 2.5, wxpython 2.8 on win xp). Everything is ok, but I encountered a > problem which also affects the demo. If I make a research on google a > strange message appears, saying (I'll try to tran

Re: IDE for Python

2009-08-31 Thread Mike Driscoll
PE (Stani's Python Editor). If you want a nigh-complete list, check the Python wiki: http://wiki.python.org/moin/PythonEditors --- Mike Driscoll Blog: http://blog.pythonlibrary.org -- http://mail.python.org/mailman/listinfo/python-list

Re: win32ui DLL Load Failed

2009-08-31 Thread Mike Driscoll
On Aug 31, 2:43 pm, MikeC wrote: > I have a python executable that's failing to load on a user's machine > running Windows XP. My developer machine is also running Windows XP. I > have determined that it is failing when it attempts to load win32ui. > > I have Python 2.6 on my developer machine and

Re: How do I post to the wxPython mailing list?

2009-09-08 Thread Mike Driscoll
e. And Robin Dunn sent out multiple notices about the switch and why he was doing it about a month before the switch. --- Mike Driscoll Blog: http://blog.pythonlibrary.org -- http://mail.python.org/mailman/listinfo/python-list

Re: subprocess woes

2009-09-15 Thread Mike Driscoll
has no > attribute 'fileno'". > > How can I capture stderr in the scenario depicted above? > > TIA! > > kynn According to the docs for subprocess module (which you don't appear to be using even though that's what you used for your subje

The PSF Blog Gets a Transfusion!

2010-09-06 Thread Mike Driscoll
The Python Software Foundation’s Blog staff has been recently expanded by a new set of top-notch bloggers to bring you the latest in PSF news, ranging from the scintillating projects that the PSF has its fingers in to the mundane, but necessary board minutes. Don’t despair if you hate reading blog

<    1   2   3   4   5   6