Re: PHP + TinyButStrong Python replacement

2008-05-07 Thread Mike Driscoll
On May 7, 6:12 am, pistacchio <[EMAIL PROTECTED]> wrote: > hi! i'm a php user and a python programmer. i'd love to use python for > my server side needs but i can't seem to find what i'm looking for. for > most of my php work i use mysql and tinyButStrong > (http://www.tinybutstrong.com) which is a

Re: Scanning through Windows registry...

2008-05-07 Thread Mike Driscoll
On May 7, 4:45 am, Tim Golden <[EMAIL PROTECTED]> wrote: > In a spirit of being helpful... :) > > The code below (which I imagine every Windows programmer writes > sometime in their Python life) mimics the os.walk functionality, yielding > the key, subkeys, and values under a particular starting po

Re: Am I missing something with Python not having interfaces?

2008-05-06 Thread Mike Driscoll
On May 6, 8:44 am, jmDesktop <[EMAIL PROTECTED]> wrote: > Studying OOP and noticed that Python does not have Interfaces.  Is > that correct?  Is my schooling for nought on these OOP concepts if I > use Python.  Am I losing something if I don't use the "typical" oop > constructs found in other langu

Re: Browser + local Python-based web server vs. wxPython

2008-05-05 Thread Mike Driscoll
On May 5, 9:22 am, [EMAIL PROTECTED] wrote: > I'm looking at rewriting some legacy VB applications and am pondering > which of the following techniques to use: > > 1. Browser based GUI with local web server (Browser + > wsgiref.simple_server) (I'm assuming that simple_server is class I want > to bu

Re: Where are Tkinter event.type constants defined?

2008-05-05 Thread Mike Driscoll
On May 4, 7:22 pm, Noah <[EMAIL PROTECTED]> wrote: > I'm trying to match against Event.type for KeyPress and ButtonPress. > Currently I'm using integer constants (2 and 4). Are these constants > defined anywhere? The docs talk about KeyPress and ButtonPress, but I > don't see them in any of the Tki

Re: IPv6 and Python

2008-05-02 Thread Mike Driscoll
On May 2, 2:15 pm, "Giampaolo Rodola'" <[EMAIL PROTECTED]> wrote: > I'm not sure if this is a question about python programming, system > administration or sockets in general... > I have the FTP server in my signature to which I'd want to add IPv6 > support. > My hosting company provides me a commo

Re: pil:effbot and pythonware offline

2008-05-02 Thread Mike Driscoll
On May 1, 5:15 pm, spdegabrielle <[EMAIL PROTECTED]> wrote: > Sorry, I'm new to python and was trying to get imageTK; > this led me to try find PIL, but pythonware and effbot both seem to be > offline. > > I can't find any mention of an outage on python.org, this newsgroup, > or the planet-blogs. >

Re: SSL through python. possible ?

2008-05-02 Thread Mike Driscoll
On May 2, 1:20 pm, Heikki Toivonen <[EMAIL PROTECTED]> wrote: > Mike Driscoll wrote: > > On Apr 29, 8:56 am, TkNeo <[EMAIL PROTECTED]> wrote: > >> I need to do SSL file transfer using python? Is there a library i can > >> use ? > > >http://sandb

Re: pygame.key.get_pressed[K_a], K_a is not defined!?

2008-05-02 Thread Mike Driscoll
On May 2, 12:03 pm, globalrev <[EMAIL PROTECTED]> wrote: > print pygame.K_a displays 97 btw. what does that mean? i though it > would return true or false or 0 or 1. That's probably the key code value. Or the ASCII representation for the key. You'd have to read the pygame docs to really know. Mik

Re: Python documentation

2008-05-02 Thread Mike Driscoll
On May 2, 4:34 am, [EMAIL PROTECTED] wrote: > Hello, > > I have been learning python for some time using the dive into python > book. I am interested to know if anyone can recommend a book which > covers more advanced topics like threading and potentially GUI style > coding. > > Regards, > > Ronald

Re: where do I begin with web programming in python?

2008-05-01 Thread Mike Driscoll
On May 1, 4:25 pm, jmDesktop <[EMAIL PROTECTED]> wrote: > I have been to the main python site, but am still confused.  I have > been using .net, so it may be obvious how to do this to everyone > else.  I am aware there are various frameworks (Django, Pylons, etc.), > but I would like to know how to

Re: send gpg encrypted emails (properly mime formatted)

2008-05-01 Thread Mike Driscoll
On May 1, 12:57 pm, Neal Becker <[EMAIL PROTECTED]> wrote: > Any ideas on python packages that could help with sending gpg encrypted > (properly mime formatted) emails? > > My idea is to forward all my emails to a remote imap server, but gpg encrypt > them to myself in the process. Take a look at

Re: PyGame, window is not closing, tut not helping

2008-05-01 Thread Mike Driscoll
On May 1, 10:55 am, globalrev <[EMAIL PROTECTED]> wrote: > im doing this > :http://www.learningpython.com/2006/03/12/creating-a-game-in-python-us... > > and when closing the program the window stays up and doesnt respond. i > tried adding this:http://www.pygame.org/wiki/FrequentlyAskedQuestions >

Re: I messed up my wxPython install (Eclipse Configuration Issue)

2008-04-30 Thread Mike Driscoll
On Apr 30, 1:09 pm, blaine <[EMAIL PROTECTED]> wrote: > On Apr 30, 1:14 pm, Mike Driscoll <[EMAIL PROTECTED]> wrote: > > > blaine wrote: > > > The wxPython group is a bit stale compared to this group, so I'll give > > > it a shot :) > > >

Re: I messed up my wxPython install (Eclipse Configuration Issue)

2008-04-30 Thread Mike Driscoll
blaine wrote: > The wxPython group is a bit stale compared to this group, so I'll give > it a shot :) > What does that mean? The wxPython group is almost always very quick to respond with relevant answers. As to your question, I think Peter is correct. Your wx.py and wx.pyc files are masking th

Re: py2exe Icon Resources

2008-04-29 Thread Mike Driscoll
On Apr 29, 3:24 pm, [EMAIL PROTECTED] wrote: > I have created an app using python and then converting it to an exe > using py2exe, and have the following code: > > "icon_resources": [(1, "appFavicon.ico"), (2, "dataFavicon.ico")] > > in my py2exe setup file, the appFavicon works fine and it sets th

Re: SSL through python. possible ?

2008-04-29 Thread Mike Driscoll
On Apr 29, 8:56 am, TkNeo <[EMAIL PROTECTED]> wrote: > I need to do SSL file transfer using python? Is there a library i can > use ? > > Thanks. Did you try Google? Here's a few links that look like possibilities: http://sandbox.rulemaker.net/ngps/m2/ http://pypgsql.sourceforge.net/misc/python-ss

Re: Automating IE 6.0

2008-04-28 Thread Mike Driscoll
Michael Harris wrote: I tried to use the sample code to print a webpage via ie and I get the following error: Traceback (most recent call last): File "C:\Python25\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py", line 310, in RunScript exec codeObject in __main__.__d

Re: Installed python 2.5 over 2.4 and lost installed packages

2008-04-27 Thread Mike Driscoll
On Apr 27, 8:15 am, [EMAIL PROTECTED] wrote: > Hi all, > > I recently updated os x from python 2.4 to 2.5 (from python.org) and > in doing so I lost my old python path entries. Python 2.4 was > installed using fink.  Now when I do: > > import sys > print sys.path > > my old site-packages directory

Re: Desktop notifications on Windows

2008-04-26 Thread Mike Driscoll
On Apr 26, 4:08 pm, WindPower <[EMAIL PROTECTED]> wrote: > On Apr 26, 4:52 am, David <[EMAIL PROTECTED]> wrote: > > > On Sat, Apr 26, 2008 at 4:41 AM,  <[EMAIL PROTECTED]> wrote: > > > I'm looking for a way to implement desktop notifications (much like an > > >  instant messaging program or a mail

Re: What to download when updating?

2008-04-26 Thread Mike Driscoll
On Apr 26, 4:57 pm, Gilles Ganault <[EMAIL PROTECTED]> wrote: > Hello > >         Out of curiosity, if I recompile a Python (wxPython) app with > py2exe, can I have customers just download the latest .exe, or are > there dependencies that require downloading the whole thing again? > > FWIW, here's

Re: display monochromatic images wxPython

2008-04-25 Thread Mike Driscoll
On Apr 25, 3:42 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Dear All, > I want to write a GUI program with wxPython displaying an image. But > the image I have is monochromatic. When I retrieve the data from the > image I end up with a list of integer. Starting from a list of integer > and

Re: Environment Variables

2008-04-25 Thread Mike Driscoll
On Apr 25, 8:26 am, Krishna <[EMAIL PROTECTED]> wrote: > On Apr 25, 9:17 am, Mike Driscoll <[EMAIL PROTECTED]> wrote: > > > > > On Apr 25, 8:07 am, Krishna <[EMAIL PROTECTED]> wrote: > > > > Environment variable set up is the most confusing part fo

Re: Environment Variables

2008-04-25 Thread Mike Driscoll
On Apr 25, 8:07 am, Krishna <[EMAIL PROTECTED]> wrote: > Environment variable set up is the most confusing part for me all the > time. Please help me with the following questions: > > When I install python in a new system, I will go to environment > variables (system variables) and set "path" point

Re: Where to get BeautifulSoup--www.crummy.com appears to be down.

2008-04-25 Thread Mike Driscoll
On Apr 24, 1:34 pm, Paul Rubin wrote: > Paul Boddie <[EMAIL PROTECTED]> writes: > > simple Python-only modules, all you'd really need to do to prove the > > concept is to develop the client-side Windows software (eg. apt-get > > for Windows) which downloads package lists,

Re: wxpython and IEHtmlWindow, Focus Problem.

2008-04-25 Thread Mike Driscoll
On Apr 24, 11:48 pm, Farsheed Ashouri <[EMAIL PROTECTED]> wrote: > Hi everyone. I create a little browser with wxpython and IEHtmlWindow. > But I have a little problem here. > When I press enter in the html page, The focus goes to another panel. > Why this happens? > I want to load a html page and

Re: Loading associated files

2008-04-24 Thread Mike Driscoll
On Apr 24, 10:14 am, [EMAIL PROTECTED] wrote: > I am trying to make a a simple databasing GUI interface and and have > created a module to deal with parsing the data from a file and a GUI > based program that displays this data using PyQt4, i know how to > register files in the system registry usin

Re: Installer

2008-04-24 Thread Mike Driscoll
On Apr 24, 11:39 am, Chris <[EMAIL PROTECTED]> wrote: > Hey all, > > I've created a python program that relies on pysqlite, wxpython, and > matplotlib. Is there any way of creating an installer that will > install all these modules, python 2.5 and my program? > > Thanks. Chris, If all you're doin

Re: Where to get BeautifulSoup--www.crummy.com appears to be down.

2008-04-24 Thread Mike Driscoll
On Apr 24, 10:15 am, Paul Boddie <[EMAIL PROTECTED]> wrote: > On 24 Apr, 16:33, Mike Driscoll <[EMAIL PROTECTED]> wrote: > > > > > This is a legitimate issue and one I don't know how to solve. It would > > be nice to have some kind of verification

Re: Where to get BeautifulSoup--www.crummy.com appears to be down.

2008-04-24 Thread Mike Driscoll
On Apr 23, 4:27 pm, John Nagle <[EMAIL PROTECTED]> wrote: > Tim Golden wrote: > > John Nagle wrote: > >> Mike Driscoll wrote: > >>> Ken, > > >>> On Tue, Apr 22, 2008 at 1:36 PM, Kenneth McDonald > >>> <[EMAIL PROTECTED]> wrote

Re: Tkinter scrollbar and checkbox

2008-04-24 Thread Mike Driscoll
On Apr 24, 7:11 am, goldtech <[EMAIL PROTECTED]> wrote: > Hi, > > I'm stumped on how to have a scrollbar with a long list of checkboxes. > Given code like: > > from Tkinter import * > root = Tk() > states = [] > for i in range(150): >     var = IntVar() >     chk = Checkbutton(root, text=str(i), va

Re: Python development tools

2008-04-23 Thread Mike Driscoll
On Apr 23, 12:39 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Are there any completely free developent tools for python scripts like > IDLE. I have used IDLE , but I want to try out others also. I saw > stuff like PyCrust, but I don't see that it can run the script as > well. > Thanks, > >

Re: Where to get BeautifulSoup--www.crummy.com appears to be down.

2008-04-23 Thread Mike Driscoll
On Apr 23, 11:47 am, John Nagle <[EMAIL PROTECTED]> wrote: > Mike Driscoll wrote: > > Ken, > > > On Tue, Apr 22, 2008 at 1:36 PM, Kenneth McDonald > > <[EMAIL PROTECTED]> wrote: > >> Sadly. > > >>  Thanks, > >>  Ken > >&g

Re: list manipulation

2008-04-22 Thread Mike Driscoll
John Machin wrote: Mike Driscoll wrote: Well you could always do something like this: output = ';'.join(roadList) Which will put single quotes on the ends. No, it doesn't. You are conflating foo and repr(foo). I suppose if you want to be silly, you could do this:

Re: about python

2008-04-22 Thread Mike Driscoll
[EMAIL PROTECTED] wrote: How can python execute in browser? Mukul -- http://mail.python.org/mailman/listinfo/python-list Check out IronPython, which you can use with Silverlight or Mono. Or you could look at any of the cool Python Web Frameworks, such as TurboGears, Pylons, CherryPy, or Dj

Re: list manipulation

2008-04-22 Thread Mike Driscoll
On Apr 22, 3:55 pm, DataSmash <[EMAIL PROTECTED]> wrote: > Hello, > > I have a list that looks like this: > roadList = ["Motorways","Local","Arterial"] > > I want to apply some code so that the output looks like this: > "Motorways;Local;Arterial" > > ...in other words, I want each item in the list

Re: Problem setting cookie in Internet Explorer

2008-04-21 Thread Mike Driscoll
On Apr 21, 10:13 am, sophie_newbie <[EMAIL PROTECTED]> wrote: > Hi, > > I'm using the python to set a cookie when a user logs in. Thing is it > doesn't seem to be setting properly in Internet Explorer. It works > grand in Firefox. Its basically: > > c = Cookie.SimpleCookie() > > c['username'] = una

Re: Finding the selected file in Windows Explorer

2008-04-21 Thread Mike Driscoll
On Apr 21, 9:44 am, [EMAIL PROTECTED] wrote: > Hi! > > I need to find the selected file(s) in a Windows Explorer window from > another program (I'd look at the window that last had focus). I found > something in the following page that should do the trick: > > http://blogs.msdn.com/oldnewthing/arch

Re: Error with win32com client on windows 2003 server

2008-04-18 Thread Mike Driscoll
On Apr 18, 3:12 pm, SPJ <[EMAIL PROTECTED]> wrote: > Sorry, forgot to mention Subject in my earlier post, hence reposting. > > I am writing a script which need's to convert an excel file to csv (text) > format. For that I am using the following code: > > excel = win32com.client.Di

Re: Easiest way to get started with WebApps?

2008-04-18 Thread Mike Driscoll
On Apr 18, 2:06 pm, [EMAIL PROTECTED] wrote: > which is the easiest module to use to just get started with webapps > quicklya nd starting getting things up and running, not advanced stuff > just basic. cherrypy is also good for quick and dirty webapps without a lot of bling. Mike -- http://mail.

Re: Python 2.5 adoption

2008-04-18 Thread Mike Driscoll
On Apr 18, 1:08 pm, Joseph Turian <[EMAIL PROTECTED]> wrote: > How widely adopted is python 2.5? > > We are doing some development, and have a choice to make: > a) Use all the 2.5 features we want. > b) Maintain backwards compatability with 2.4. > > So I guess the question is, does anyone have a se

Re: Finally had to plonk google gorups.

2008-04-16 Thread Mike Driscoll
On Apr 16, 11:06 am, Steve Holden <[EMAIL PROTECTED]> wrote: > Mike Driscoll wrote: > > On Apr 16, 10:09 am, Steve Holden <[EMAIL PROTECTED]> wrote: > >> Mike Driscoll wrote: > >>> On Apr 16, 9:19 am, Grant Edwards <[EMAIL PROTECTED]> wrote: > &

Re: Finally had to plonk google gorups.

2008-04-16 Thread Mike Driscoll
On Apr 16, 12:40 pm, "D'Arcy J.M. Cain" <[EMAIL PROTECTED]> wrote: > On Wed, 16 Apr 2008 08:23:50 -0700 (PDT) > > Mike Driscoll <[EMAIL PROTECTED]> wrote: > > My workplace doesn't offer NNTP, so there is no good way to browse > > c.l.py here

Re: Splitting MainWindow Class over several modules.

2008-04-16 Thread Mike Driscoll
On Apr 16, 10:47 am, Iain King <[EMAIL PROTECTED]> wrote: > Until recently almost all my python programs were held 1 file for 1 > program. This had grown unwieldy for one of my projects, so i decided > to refactor it, and ended up with something like this: > > --- > > import wx > > import options

Re: Finally had to plonk google gorups.

2008-04-16 Thread Mike Driscoll
On Apr 16, 10:09 am, Steve Holden <[EMAIL PROTECTED]> wrote: > Mike Driscoll wrote: > > On Apr 16, 9:19 am, Grant Edwards <[EMAIL PROTECTED]> wrote: > >> This morning almost half of c.l.p was spam. In order to try to > >> not tar both the benign google group

Re: Finally had to plonk google gorups.

2008-04-16 Thread Mike Driscoll
On Apr 16, 9:19 am, Grant Edwards <[EMAIL PROTECTED]> wrote: > This morning almost half of c.l.p was spam. In order to try to > not tar both the benign google group users and the malignant > ones with the same brush, I've been trying to kill usenet spam > with subject patterns. But that's not a b

Re: Learning Tkinter

2008-04-16 Thread Mike Driscoll
On Apr 16, 7:46 am, "Doran, Harold" <[EMAIL PROTECTED]> wrote: > I am currently reading An Intro to Tkinter (1999) by F. Lundh. This doc > was published in 1999 and I wonder if there is a more recent version. > I've googled a bit and this version is the one I keep finding. I like > how this documen

Re: Recurring patterns: Am I missing it, or can we get these added to the language?

2008-04-15 Thread Mike Driscoll
On Apr 15, 3:15 pm, Tim Chase <[EMAIL PROTECTED]> wrote: > > My suggestion would just be to create your own utils.py module > that holds your commonly used tools and re-uses them > > -tkc Well, I almost said that, but I was trying to find some "battery" included that he could use since the OP s

Re: Recurring patterns: Am I missing it, or can we get these added to the language?

2008-04-15 Thread Mike Driscoll
On Apr 15, 1:51 pm, Erich <[EMAIL PROTECTED]> wrote: > Hello all, > > Today I found myself once again defining two functions that I use all > the time: nsplit and iterable. These little helper functions of mine > get used all the time when I work. Im sick of having to define them > (but am very go

Re: Recurring patterns: Am I missing it, or can we get these added to the language?

2008-04-15 Thread Mike Driscoll
On Apr 15, 1:51 pm, Erich <[EMAIL PROTECTED]> wrote: > Hello all, > > Today I found myself once again defining two functions that I use all > the time: nsplit and iterable. These little helper functions of mine > get used all the time when I work. Im sick of having to define them > (but am very go

Re: hw to program on python

2008-04-15 Thread Mike Driscoll
On Apr 15, 7:47 am, ashish <[EMAIL PROTECTED]> wrote: > hi , > python experts i want some help from u people just mail me how to > write scripts for web applications (like form coding for login page, > etc). > > i m waiting for ur reply by > have a nice day! I suggest you start by going to the

Re: Python GUI programming and boa or better ?

2008-04-14 Thread Mike Driscoll
On Apr 14, 8:20 am, bvidinli <[EMAIL PROTECTED]> wrote: > I program in python for about 2-3 monthos. > I just started/tested gui programming with many tools. > i tested boa last, it is the closest tool to delphi in tui tools that i used. > > I managed to play with it a bit. > > If you have any othe

Re: win-shortcuts, file associates and command-line parameters ?

2008-04-11 Thread Mike Driscoll
On Apr 11, 4:40 pm, Stef Mientki <[EMAIL PROTECTED]> wrote: > Gabriel Genellina wrote: > > En Thu, 10 Apr 2008 16:03:28 -0300, Stef Mientki <[EMAIL PROTECTED]> > > escribió: > > >> under windows I tried to make a shortcut to a py -file, to run a program. > >> So making a shortcut like this works pe

Re: Windows - window status (Running vs Not Responding)

2008-04-11 Thread Mike Driscoll
On Apr 11, 3:22 pm, Tim Golden <[EMAIL PROTECTED]> wrote: > Mike Driscoll wrote: > >http://www.informit.com/articles/article.aspx?p=19489&seqNum=4 > > > If you're better than I am, you can probably translate this to the > > Python equivalent. Zenoss a

Re: Windows - window status (Running vs Not Responding)

2008-04-11 Thread Mike Driscoll
On Apr 11, 2:10 pm, rdahlstrom <[EMAIL PROTECTED]> wrote: > On Apr 11, 1:45 pm, rdahlstrom <[EMAIL PROTECTED]> wrote: > > > Does anyone know how to determine the window status (Running or Not > > Responding)? I've tried various methods with no success... > > > This would be on a variety of Windows

Re: Profiling programs/scripts?

2008-04-11 Thread Mike Driscoll
On Apr 11, 1:49 pm, [EMAIL PROTECTED] wrote: > how do i profile a program? i found out that there are some profilers > included in the standard library but couldnt really figure out how to > access/use them Are you talking about using PyChecker or nose or what? In other words, do you want to check

Re: Cannot start RPy - need win32api

2008-04-11 Thread Mike Driscoll
On Apr 11, 11:47 am, [EMAIL PROTECTED] wrote: > I'm running Python 2.5.2 on Windows XP and need to interface with R, > so I downloaded the R 2.6.2 statistical package and installed it, and > did the same for RPy 1.02 (i made sure I got the version for Python > 2.5 and R 2.62.). When I go to the Pyt

Re: win-shortcuts, file associates and command-line parameters ?

2008-04-10 Thread Mike Driscoll
On Apr 10, 2:03 pm, Stef Mientki <[EMAIL PROTECTED]> wrote: > hello, > > under windows I tried to make a shortcut to a py -file, to run a program. > So making a shortcut like this works perfect: > D:\PyLab_Works.py > > But the problem is that I need to give some commandline parameters to > the py

Re: How is GUI programming in Python?

2008-04-10 Thread Mike Driscoll
On Apr 10, 12:05 pm, Michel Bouwmans <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > > Paul Rubin wrote: > > Chris Stewart <[EMAIL PROTECTED]> writes: > >> I've always had an interest in Python and would like to dabble in it > >> further. I've worked on a few ver

Re: Control process execution

2008-04-09 Thread Mike Driscoll
On Apr 9, 3:11 pm, Noah <[EMAIL PROTECTED]> wrote: > On Apr 6, 5:30 am, Wesley Mesquita <[EMAIL PROTECTED]> wrote: > > > I am trying to create a test environment to a couple C applications > > (simple UDP and TCP server/clients), so I want to write this in python > > and I m looking for ways to do

Re: Displaying vtk files in a wxPython window

2008-04-09 Thread Mike Driscoll
On Apr 9, 1:38 pm, rocksportrocker <[EMAIL PROTECTED]> wrote: > Hi, > > I want to visualize some vtk-files within a wxPython Window. Google > did not help me > very much, I only found some tools for Tk, what is no solution for me. > > I'm sure I am not the first one who asks this question > > A

Re: I am worried about Python 3

2008-04-09 Thread Mike Driscoll
On Apr 9, 7:04 am, jmDesktop <[EMAIL PROTECTED]> wrote: > I am a new Python programmer. I have always desired to learn Python, > but have never had the opportunity. Recently this has changed, and I > have an opportunity to get away from the .NET framework. I found > Django (and other web framewo

Re: Running a python code periodically

2008-04-08 Thread Mike Driscoll
On Apr 8, 3:01 pm, Larry Bates <[EMAIL PROTECTED]> wrote: > paul wrote: > > Maryam Saeedi schrieb: > >> Hi, > > >> I was wondering if you know how can I run a python code once every five > >> minutes for a period of time either using python or some other program > >> like > >> a bash script. > > >

Re: new user needs help!

2008-04-08 Thread Mike Driscoll
On Apr 8, 3:38 pm, Steve Holden <[EMAIL PROTECTED]> wrote: > drjekil wrote: > > I am totally new in biopython and its my first program.so may be i am asking > > stupid question. > > New? Most questions are sensible. > > Let's suppose that the four lines you give below are stored in a text > file ca

Re: new user needs help!

2008-04-08 Thread Mike Driscoll
On Apr 8, 2:55 pm, drjekil <[EMAIL PROTECTED]> wrote: > I am totally new in biopython and its my first program.so may be i am asking > stupid question. > I am working with a text filelooks like this: > #NAME AA TOPO ACCESS DSSP STRIDE Z-COORD > 1lghB A i 79.8 H H -24.58 > 1lghB V i 79.6 H H -22.06

Re: set file permission on windows

2008-04-08 Thread Mike Driscoll
On Apr 8, 1:19 pm, "Tim Arnold" <[EMAIL PROTECTED]> wrote: > "Mike Driscoll" <[EMAIL PROTECTED]> wrote in message > > news:[EMAIL PROTECTED] > > > > > On Apr 8, 12:03 pm, "Tim Arnold" <[EMAIL PROTECTED]> wrote: > &g

Re: set file permission on windows

2008-04-08 Thread Mike Driscoll
On Apr 8, 12:03 pm, "Tim Arnold" <[EMAIL PROTECTED]> wrote: > hi, I need to set file permissions on some directory trees in windows using > Python. > > When I click on properties for a file and select the 'Security' tab, I see a > list of known 'Group or user names' with permissions for each entry

Re: List open files

2008-04-08 Thread Mike Driscoll
On Apr 8, 10:56 am, "Bruno GUERPILLON" <[EMAIL PROTECTED]> wrote: > "Mike Driscoll" <[EMAIL PROTECTED]> a écrit dans le message de news: > [EMAIL PROTECTED] > > > On Apr 8, 10:16 am, "Bruno GUERPILLON" <[EMAIL PROTECTED]> wrote:

Re: Problem with smtplib and py2exe

2008-04-08 Thread Mike Driscoll
On Apr 8, 10:17 am, Kevin <[EMAIL PROTECTED]> wrote: > Thanks, Terry, you pointed me in the right direction with the > reference to the "DEBUG". > > I dug out my "Learning Python" book, to read up on the debugger, and > one of the things I came across was a section on IDLE's debugger. It > said ess

Re: List open files

2008-04-08 Thread Mike Driscoll
On Apr 8, 10:16 am, "Bruno GUERPILLON" <[EMAIL PROTECTED]> wrote: > Hi, > > I'd like, in a WIN32 environment, list all open files. > Anyone got a clue how to do this ? > > Regards, > > Bruno. XP comes with a utility called OpenFiles.exe which supposedly gives this functionality. You can use Python

Re: Wxpython. Is it possible to change layout in a running application? Selfmade listbox

2008-04-07 Thread Mike Driscoll
On Apr 7, 6:50 am, Soren <[EMAIL PROTECTED]> wrote: > Hi, > > Id like to make my own special listbox.. I want to able (at the push > of a button) to add another item to my special listbox... each item is > a panel with a label, some buttons and maybe a text control. > > I've tried adding a new pane

Re: python scripts to standalone executable

2008-03-31 Thread Mike Driscoll
On Mar 31, 4:53 pm, Amit Gupta <[EMAIL PROTECTED]> wrote: > On Mar 31, 1:52 pm, Mike Driscoll <[EMAIL PROTECTED]> wrote: > > > > > What about creating a setup.py and using the distutils command to > > build rpms or tarballs? > > >http://docs.python.org

Re: python scripts to standalone executable

2008-03-31 Thread Mike Driscoll
On Mar 31, 12:24 pm, Amit Gupta <[EMAIL PROTECTED]> wrote: > Hi > > I am looking for a some tool that can convert python scripts to > executable on Linux. > > I found freeeze.py as the only option so far. Couple of queries on > freeze: > > 1. Have anyone used the freeze utility and any experiences

Re: Automatically fill in forms on line

2008-03-31 Thread Mike Driscoll
On Mar 31, 11:50 am, "Jackie Wang" <[EMAIL PROTECTED]> wrote: > Dear all, > > I want to automatically complete the following task: > > 1. Go tohttp://www.ffiec.gov/Geocode/default.aspx; > 2. Fill in an address in the form "Street Address:" . e.g. "1316 State > Highway 102"; > 3. Fill in a ZIPcode i

Re: wxPython listctrl

2008-03-31 Thread Mike Driscoll
On Mar 29, 4:27 pm, Gif <[EMAIL PROTECTED]> wrote: > I was wondering if there is a way to extract an icon from a file > (executable) and then add it in a listctrl. I also 'd like to know if > i can shorten the icon in order to fit in a listctrl item. > I've managed to get the icon from an icon file

Re: wxPython; adding a grid to a panel

2008-03-31 Thread Mike Driscoll
On Mar 31, 8:33 am, Gilles Ganault <[EMAIL PROTECTED]> wrote: > On Mon, 31 Mar 2008 11:01:19 +0100, "Moynes James" > > <[EMAIL PROTECTED]> wrote: > >In the script below I have added two panels to a frame. I want to > >display the grid in one panel (and later on add other widgets to the > >other pan

Re: wxPython; adding a grid to a panel

2008-03-31 Thread Mike Driscoll
Moynes, On Mar 31, 5:01 am, "Moynes James" <[EMAIL PROTECTED]> wrote: > I am a Python newbie hoping for some help with wxPython. > > I am trying to build a frame which will display a wx.grid and a number > of other widgets (text controls, static text and buttons). In all the > example scripts I ha

Re: A question on decorators

2008-03-26 Thread Mike Driscoll
On Mar 26, 2:10 pm, Tim Henderson <[EMAIL PROTECTED]> wrote: > Hello > > I am writing an application that has a mysql back end and I have this > idea to simplify my life when accessing the database. The idea is to > wrap the all the functions dealing with a particular row in a > particular in a par

Re: PyCon video editing

2008-03-24 Thread Mike Driscoll
On Mar 18, 10:09 am, amk <[EMAIL PROTECTED]> wrote: > On Mar 17, 10:00 pm, dundeemt <[EMAIL PROTECTED]> wrote: > > > Anyone know who is in charge of this? I'd like to help out if I > > could. > > I am, but haven't set anything up yet, such as a mailing list or a > host for the video. > I'll update

Re: New to group

2008-03-24 Thread Mike Driscoll
On Mar 24, 1:53 pm, pythonnubie <[EMAIL PROTECTED]> wrote: > Hi Everyone > > I am new to programming in general although I have read alot and > done alot of experimentation as well as researched afew languages > namely java python and visual basic . My conclusion is that python > is one of

Re: Is IronPython real Python?

2008-03-24 Thread Mike Driscoll
On Mar 24, 12:00 pm, jmDesktop <[EMAIL PROTECTED]> wrote: > I know that IronPython and CPython are different in that one does not > use the .net framework, but are they both really the same Python > language. From my basic understanding, it will depend on what the > programmer's goal is as to whic

Re: Is this doable

2008-03-21 Thread Mike Driscoll
On Mar 21, 6:48 am, fkallgren <[EMAIL PROTECTED]> wrote: > Hi. > > I have a little problem. I have a script that is in the scheduler > (win32). But every now and then I update this script and I dont want > to go to every computer and update it. So now I want the program to 1) > check for new versio

Re: Is this valid ?

2008-03-19 Thread Mike Driscoll
On Mar 19, 4:18 pm, Stef Mientki <[EMAIL PROTECTED]> wrote: > hello, > > by accident I typed a double value test, > and to my surprise it seems to work. > Is this valid ? > > a = 2 > b = 2 > > a == b == 2 > > thanks, > Stef Mientki It sure looks that way... See http://www.python.org/doc/2.3.5/ref

Re: csv dictreader

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

Re: csv dictreader

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

Re: modules devoted to manipulationg .reg files

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

Re: Improving datetime

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

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

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

Re: PyCon Feedback and Volunteers ( Pycon disappointment)

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

Re: wxPython graphics query (newbie)

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

Re: Pycon disappointment

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

Re: Python for BlackBerry

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

Re: Code to send RSS news by Sendmail

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

Re: Python and 3D

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

Re: Python for BlackBerry

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

Re: Dispatch("Excel.Application") failed

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

python-list@python.org

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

Re: wxPython/wxWidgets ok for production use ?

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

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

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

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

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

<    1   2   3   4   5   6   >