Python 101 2nd Edition book

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

ANN: Creating GUI Applications with wxPython

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

Where are the moderators?

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

Re: Wanted Python programmer to join team

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

Re: Resources/pointers for writing maintable, testable Python

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

Re: Python 3.5.1

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

Re: Resources/pointers for writing maintable, testable Python

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

Strange urlopen error

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

Re: ANN: Python 201 - Intermediate Python book

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

Re: ANN: Python 201 - Intermediate Python book

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

ANN: Python 201 - Intermediate Python book

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

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

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

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

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

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

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

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

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

What is considered an "advanced" topic in Python?

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

Re: 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: 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

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

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

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.

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

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

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

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

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

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

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

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

  1   2   3   4   5   6   >