Re: Emacs + python

2007-08-02 Thread Greg Donald
On 8/1/07, hg <[EMAIL PROTECTED]> wrote: > Are there any cscope & ECB equivalent for Python ? ECB is not language specific. It works the same for browsing Python code as any other language. -- Greg Donald http://destiney.com/ -- http://mail.python.org/mailman/listinfo/python-list

Re: I am giving up perl because of assholes on clpm -- switching to Python

2007-08-11 Thread Greg Donald
ask questions in such a way that no one can possibly have a reason to be an asshole. http://catb.org/~esr/faqs/smart-questions.html -- Greg Donald http://destiney.com/ -- http://mail.python.org/mailman/listinfo/python-list

PyCon 2008 - Call for Tutorial Ideas

2007-08-15 Thread Greg Lindstrom
Python, objects, anything and everything Python is on the table at this point. We have to narrow the field down to 10 or 15 and then find qualified presenters, so now is the time to start gathering ideas. What tutorials would you like to see offered? Please response to: [EMAIL PROTECTED] Thanks,

CIE Colorspace Conversions

2007-08-20 Thread Greg Taylor
I'd love to eventually be able to quickly convert between color spaces and perform comparisons like Delta E without having to worry about doing said conversions manually. I'm not too sure this excites anyone else, though! Greg Taylor Clemson University '08 Graphic Communication

Re: Python project solicitation

2007-08-21 Thread Greg Copeland
Keep in mind I only looked at it real quick. Those appear to be the cross platform deal killers. Short of something I missed (could have), it should work find on most any other platform once you take out the Windows-isms. Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: IDE for Python

2007-08-21 Thread Greg Copeland
t has several other tools integrated into it, including a pretty nice debugger. It's fairly small and loads mucho faster than Eclipse ever will. Best of all SPE is written completely in Python. http://pythonide.blogspot.com/ http://sourceforge.net/projects/spe Personally I use XEm

Re: IDE for Python

2007-08-21 Thread Greg Copeland
t has several other tools integrated into it, including a pretty nice debugger. It's fairly small and loads mucho faster than Eclipse ever will. Best of all SPE is written completely in Python. http://pythonide.blogspot.com/ http://sourceforge.net/projects/spe Personally I use XEma

Re: Shed Skin Python-to-C++ compiler 0.0.23

2007-08-21 Thread Greg Copeland
ing python projects I'm aware of. Please keep of the good work. I'm so excited about the day I can begin using shedskin for the types of projects I use python on. Greg Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: Shed Skin Python-to-C++ compiler 0.0.23

2007-08-21 Thread Greg Copeland
uot;One of my most productive days was throwing away 1000 lines of code" > - Ken Thompson One more thing. Please include a link to the current project page when you make these postings. Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: Problem with Thread.join()

2007-08-21 Thread Greg Copeland
s from a remote thread, > which is apparently illegal due to some state persistance issues. > As a rule of thumb, only one thread *ever* controls the GUI. Greg -- http://mail.python.org/mailman/listinfo/python-list

Fast socket write

2007-08-21 Thread Greg Copeland
ory? What is the name of this module?? Help, Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: Fast socket write

2007-08-22 Thread Greg Copeland
On Aug 21, 9:40 pm, Bikal KC <[EMAIL PROTECTED]> wrote: > Greg Copeland wrote: > > I'm having a brain cramp right now. I can't see to recall the name of > > Is your cramp gone now ? :P I wish. If anyone can remember the name of this module I'd

Re: some problems with mod_python

2007-08-27 Thread Greg Donald
dHandler python-program .py PythonHandler test PythonDebug On In particular my AddHandler directive is different from yours. -- Greg Donald http://destiney.com/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Python molecular viewer

2007-08-29 Thread Greg Couch
ging dancing molecular rendering package for you though. Greg Couch UCSF Computer Graphics Lab -- http://mail.python.org/mailman/listinfo/python-list

Complex Numbers

2007-08-31 Thread Greg Lindstrom
> -- Forwarded message -- > From: "Lamonte Harris" <[EMAIL PROTECTED]> > To: python-list@python.org > Date: Thu, 30 Aug 2007 20:11:14 -0500 > Subject: So what exactly is a complex number? > Like in math where you put letters that represent numbers for place > holders to try to find

Re: Fast socket write

2007-09-01 Thread Greg Copeland
On Aug 22, 8:30 am, paul <[EMAIL PROTECTED]> wrote: > Greg Copeland schrieb:> On Aug 21, 9:40 pm, Bikal KC <[EMAIL PROTECTED]> > wrote: > >> Greg Copeland wrote: > >>> I'm having a brain cramp right now. I can't see to recall the name of >

Re: Shed Skin Python-to-C++ compiler 0.0.23

2007-09-01 Thread Greg Copeland
ime: > > http://mark.dufour.googlepages.com > > Thanks! > Mark Dufour. Mark, I wish I had the time to help with your project. I believe PyPy, Shedskin, and pyvm (which might be dead now), are the most interesting python projects currently going on. In fact, I would place them ahead of python 3000 even. Greg -- http://mail.python.org/mailman/listinfo/python-list

Pygame + PyInstaller?

2007-09-01 Thread Greg Copeland
en it doesn't, it is a real pain to figure out what the heck it doesn't like. So if anyone has a less painful alternative, which runs on Linux, please let me know. Greg -- http://mail.python.org/mailman/listinfo/python-list

PyCon 2008 - Call for Tutorial Topics

2007-09-01 Thread Greg Lindstrom
e to present a class). Let me know what class would entice you to attend the tutorials. Greg Lindstrom Tutorial Coordinator, PyCon 2008 -- http://mail.python.org/mailman/listinfo/python-list

Re: Why is this loop heavy code so slow in Python? Possible Project Euler spoilers

2007-09-02 Thread Greg Copeland
On Sep 2, 7:20 am, Arnaud Delobelle <[EMAIL PROTECTED]> wrote: > On Sep 2, 12:51 pm, [EMAIL PROTECTED] wrote: > > > > > I'm pretty new to python, but am very happy with it. As well as using > > it at work I've been using it to solve various puzzles on the Project > > Euler site -http://projecteuler

Python and Cron

2007-09-07 Thread Greg Lindstrom
ratching my head. Thanks, --greg -- http://mail.python.org/mailman/listinfo/python-list

Re: Python and Cron

2007-09-07 Thread Greg Lindstrom
Monday-Friday 15 2 * * 1-5 cd /m01/edith/src && /usr/bin/python /m01/edith/src/driver.py --paid-date yesterday --jobname professional >> /m01/edith/stdout/ecomppo.stdout 2&>1 I've emailed parts of the script in another reply. Thanks for your time, --greg -- http://mail.python.org/mailman/listinfo/python-list

Re: Python and Cron

2007-09-07 Thread Greg Lindstrom
me routine from the command like (after su'ing to the edith user) it runs and moves the file to the appropriate directory. I am going to see if we can get the email routing set up (we run over 100 cron jobs daily so I'm not sure I want it on too long) to see if it will tell me anything.

Re: Why does SocketServer default allow_reuse_address = false?

2007-03-07 Thread Greg Copeland
, which is to ensure SO_REUSEADDR is disabled unless you absoluetely understand what you're buying by enabling it. Greg -- http://mail.python.org/mailman/listinfo/python-list

SQLAlchemy and Oracle Functions?

2007-03-08 Thread Greg Copeland
I have a need to call an Oracle function, which is not the same thing as a stored procedure. Can SQLAlchemy do this directly? Indirectly? If so, an example would be appreciated. If not, how do I obtain the raw cx_Oracle cursor so I can use that directly? Thanks, Greg -- http

SQLAlchemy and Oracle Functions?

2007-03-08 Thread Greg Copeland
ectly on that? Thanks, Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: SQLAlchemy and Oracle Functions?

2007-03-08 Thread Greg Copeland
> Giles Very nice. That exactly answered by question. It works! Also, I didn't know about the sqlalchemy group so I appreciate the heads up. Thanks, Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: SQLAlchemy and Oracle Functions?

2007-03-08 Thread Greg Copeland
On 8 Mar, 15:35, "Giles Brown" <[EMAIL PROTECTED]> wrote: > On 8 Mar, 22:19, "Greg Copeland" <[EMAIL PROTECTED]> wrote: > > > I'm using SQLAlchemy and have a need to call an Oracle function; which > > is not the same as a stored proced

Re: Are Lists thread safe?

2007-03-09 Thread Greg Copeland
te you. Adding and removing is thread safe but don't treat the list as locked between operations unless you specifically do your own locking. You still need to be on the lookout for race conditions. Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: Python shell on mac os x

2007-03-15 Thread Greg Donald
On 15 Mar 2007 14:56:13 -0700, Bert Heymans <[EMAIL PROTECTED]> wrote: > >>> ^[OA^[OC^[OD Is your python built with readline support? Also, you might check out iPython. -- Greg Donald http://destiney.com/ -- http://mail.python.org/mailman/listinfo/python-list

Freezing Python Apps on Linux?

2007-03-20 Thread Greg Copeland
I seem to recall several different applications which can create standalone binaries for python on Linux. I know freeze.py and cx_Freeze.py exist. Are these still the preferred methods of creating a stand alone binary out of a python application on Linux? Greg -- http://mail.python.org

freeze.py and dom.minidom

2007-03-20 Thread Greg Copeland
M_xml__dom__NodeFilter.cM_xml__sax.c M_xml__dom__NodeFilter.oM_xml__sax___exceptions.c As you can see, minidom is being frozen and M_xml__dom__minidom.o is compiled. Likewise, I can confirm it linked into the application. What do I need to do to get this to work with a frozen application? Greg -- http

Re: socket.getfqdn deadlock

2007-03-21 Thread Greg Copeland
> Any ideas why this is happening? Are you sure it is not timing out, waiting for a DNS reply? Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: Removing Python 2.4.4 on OSX

2007-03-24 Thread Greg Donald
ike /usr/local and put /usr/local/bin ahead of your other paths. -- Greg Donald http://destiney.com/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Removing Python 2.4.4 on OSX

2007-03-24 Thread Greg Donald
t where the system version was installed. http://en.wikipedia.org/wiki/Path_%28computing%29 -- Greg Donald http://destiney.com/ -- http://mail.python.org/mailman/listinfo/python-list

smtplib startls() + quit()

2007-03-29 Thread Greg Donald
xception when using tls server.quit() except: pass Is there some other way to tear down the connection besides calling quit() ? Thanks, -- Greg Donald http://destiney.com/ -- http://mail.python.org/mailman/listinfo/python-list

DBAPI Loss DB Connection

2007-04-02 Thread Greg Copeland
od to request a revision to the DBAPI specification to specifically address loss of DB connection and error handling in this regard? Greg -- http://mail.python.org/mailman/listinfo/python-list

Trouble w/ 'create table' sql on mx.ODBC

2007-04-05 Thread Greg Corradini
Hello, Lately I've been using the mx.ODBC module to query Access (mdb) tables. For the life of me, I can't get the 'create table' sql command to work. I use this command in Oracle and I've seen other mx.ODBC users weave into their scripts for Access. But I still can't get this simple test run belo

Re: Trouble w/ 'create table' sql on mx.ODBC

2007-04-05 Thread Greg Corradini
e and Insert. Thanks to all Greg Corradini Steve Holden wrote: > > Greg Corradini wrote: >> Hello, >> Lately I've been using the mx.ODBC module to query Access (mdb) tables. >> For >> the life of me, I can't get the 'create table' sql command

ipython env

2007-04-05 Thread Greg Donald
--- exceptions.NameError Traceback (most recent call last) /Users/destiney/ NameError: name 'env' is not defined Thanks, -- Greg Donald http://destiney.com/ -- http://mail.python.org/mailman/listinfo/python-list

Re: ipython env

2007-04-05 Thread Greg Donald
On 4/5/07, Gabriel Genellina <[EMAIL PROTECTED]> wrote: > > NameError: name 'env' is not defined > > Try os.environ Thanks. -- Greg Donald http://destiney.com/ -- http://mail.python.org/mailman/listinfo/python-list

Simple mx.ODBC prob seeks simple answer

2007-04-06 Thread Greg Corradini
Hello all, I'm having trouble inserting an SQL selection into a new MS Access table. I get a parameter error on my insert statement when I try this (see below for code and error msg). I'm not sure if 'insert' or 'update' is the route I should be taking. CODE: #Import Pythond Standard Library Modu

Re: Simple mx.ODBC prob seeks simple answer

2007-04-06 Thread Greg Corradini
Thanks Steve, Once again your advice solved the problem Greg Steve Holden wrote: > > Greg Corradini wrote: >> Hello all, >> I'm having trouble inserting an SQL selection into a new MS Access table. >> I >> get a parameter error on my insert statement when I

Re: Why NOT only one class per file?

2007-04-06 Thread Greg Donald
On 4/6/07, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote: > For one liners, wouldn't > > ECHO the text line >the.file > > be more appropriate? # dd if=/dev/tty of=/dev/hda1 -- Greg Donald http://destiney.com/ -- http://mail.python.org/mailman/listinfo/python-list

Creating Unique Dictionary Variables from List

2007-04-11 Thread Greg Corradini
count = 0 for i in returnedlist: if count < len(returnedlist): # then create a dictionary (beginning with variable dic) for each i with a unique name such that # my unique name would be dic + count Any ideas about this? Greg -- View this message in context: http://www.na

Creating Unique Dictionary Variables from List

2007-04-11 Thread Greg Corradini
count = 0 for i in returnedlist: if count < len(returnedlist): # then create a dictionary (beginning with variable dic) and add a unique ending such that # my final dictionary name would be dic + count for each i Any ideas about this? Greg -- View this message in contex

Creating Unique Dictionary Variables from List

2007-04-11 Thread Greg Corradini
count = 0 for i in returnedlist: if count < len(returnedlist): # then create a dictionary (beginning with variable dic) and add a unique ending such that # my final dictionary name would be dic + count for each i Any ideas about this? Greg -- View this message in contex

Re: Creating Unique Dictionary Variables from List

2007-04-11 Thread Greg Corradini
Bruno, Your help is much appreciated. I will give this a try tomorrow morning and get back on how it works. Bruno Desthuilliers wrote: > > Greg Corradini a écrit : >> Hello All, >> I'm attempting to create multiple dictionaries at once, each with unique >>

mx.ODBC minor problem

2007-04-12 Thread Greg Corradini
Hello all, In a script i just wrote, my code calls a function createTables(), which checks for an existing table and then creates it, and then immediately calls selectSQL(), which selects from a different table and inserts on the table I just created (see below). However, I continue to get an In

Re: Python editor/IDE on Linux?

2007-04-13 Thread Greg Donald
On 13 Apr 2007 12:54:08 -0700, azrael <[EMAIL PROTECTED]> wrote: > try wing ide. i tried it and i love it. it's available for windows as > well for linux Good thing those are the only two operating system out there.. err.. I meant, good thing there's Emacs. -- Greg Dona

Re: Python editor/IDE on Linux?

2007-04-13 Thread Greg Donald
On 4/13/07, Jarek Zgoda <[EMAIL PROTECTED]> wrote: > Thanks God No problem. > , there's no "PIDA for Emacs". Pet Industry Distributors Association ? -- Greg Donald http://destiney.com/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Python editor/IDE on Linux?

2007-04-13 Thread Greg Donald
On 4/13/07, Bruno Desthuilliers <[EMAIL PROTECTED]> wrote: > Except for real programmers... That's correct. We use: # dd if=/dev/tty of=/dev/hda1 and such. -- Greg Donald http://destiney.com/ -- http://mail.python.org/mailman/listinfo/python-list

setup.py bdist_rpm help

2007-04-17 Thread Greg Copeland
Okay, I have an application which is frozen via pyinstaller. That is all working great. I now want to create an RPM using distutils' bdist_rpm facilities. I seem to be running into trouble. No matter what, I only seem to get three files within my RPM (setup.py, README.txt, and PKG_INFO). My ap

Re: setup.py bdist_rpm help

2007-04-17 Thread Greg Copeland
Ahh. I figured it out. I resolved the issue by using a MANIFEST.in file. Greg On Apr 17, 1:19 pm, Greg Copeland <[EMAIL PROTECTED]> wrote: > Okay, I have an application which is frozen via pyinstaller. That is > all working great. I now want to create an RPM using distutils&

Help Understanding mx.ODBC Error

2007-04-18 Thread Greg Corradini
cute('An SQL Statement'), then call my insert statement in the Python Shell and it works fine. I just can't figure out how to reconcile this problem. Has anybody run into this before? Thanks Greg Corradini -- View this message in context: http://www.nabble.com/Help-Understanding

Re: Help Understanding mx.ODBC Error

2007-04-18 Thread Greg Corradini
Thanks for you help kyosohma, Unfortunately, the data I'm using isn't chaning either. I've reused data that these scripts have successfully used before, but that won't work with them now. kyosohma wrote: > > On Apr 18, 1:36 pm, Greg Corradini <[EMAIL PROTECTED]&g

Re: Why 'class spam(object)' instead of class spam(Object)' ?7

2007-09-17 Thread Greg Lindstrom
> > Does the user care whether an object is implemented in C? > > Colin W. > > You're damn right I care! This is critical to just about everything I write because...well..I meanwell. I guess it isn't really all that important. Never mind. --greg -- http://mail

Re: Newbie question

2007-09-18 Thread Greg Lindstrom
looking at the world. You may want to look at the tutors list, too ([EMAIL PROTECTED]). You'll like it there (I do). --greg -- http://mail.python.org/mailman/listinfo/python-list

ANN: 555-BOOM! version 0.6

2007-09-25 Thread Greg Ewing
I have released a post-competition version of my PyWeek 5 game competition entry, 555-BOOM!. http://www.cosc.canterbury.ac.nz/greg.ewing/python/PyWeek5/index.html This version has been tidied up in various ways, and a few more levels added. I have made a number of improvements to the level edit

ANN: Albow 1.1 and Humerus 1.0

2007-09-25 Thread Greg Ewing
I have released an updated version of my Albow gui library for PyGame, incorporating improvements made to it for my PyWeek 5 entry, and also Humerus, a skeleton game framework built on Albow. http://www.cosc.canterbury.ac.nz/greg.ewing/python/Albow/ What is it? Albow is a rather basic, no-fri

ANN: Pyrex 0.9.6

2007-10-07 Thread Greg Ewing
Pyrex 0.9.6 is now available: http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/ There is a *lot* of new stuff in this version, too much to fit into this announcement. Read all about it here: http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/changes-0.9.6.html What is Pyrex

ANN: Pyrex 0.9.6.1

2007-10-08 Thread Greg Ewing
Pyrex 0.9.6.1 is now available: http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/ This version fixes a few minor problems that turned up in the initial 0.9.6 release. What is Pyrex? -- Pyrex is a language for writing Python extension modules. It lets you freely mix operations

ANN: Pyrex 0.9.6.2

2007-10-10 Thread Greg Ewing
Pyrex 0.9.6.2 is now available: http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/ Another couple of minor fixes. What is Pyrex? -- Pyrex is a language for writing Python extension modules. It lets you freely mix operations on Python and C data, with all Python reference

ANN: Pyrex 0.9.6.3

2007-10-17 Thread Greg Ewing
Pyrex 0.9.6.3 is now available: http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/ Main features of this release: * The C API now uses just one name in the module namespace, instead of a name per C function. * The 'cdef' keyword and following extern/public/api

Re: ANN: Pyrex 0.9.6.3

2007-10-19 Thread Greg Ewing
[EMAIL PROTECTED] wrote: > Also, I noticed that if I try to download the testing framework, it > gives me a 404. That one is fixed now, if you want to try again. -- Greg -- http://mail.python.org/mailman/listinfo/python-list

PyCon 2008 - Call for Tutorials

2007-10-31 Thread Greg Lindstrom
ail us at [EMAIL PROTECTED] and let us know what you would like to present as a tutorial. Thanks, --greg -- http://mail.python.org/mailman/listinfo/python-list

PyCon 2008 - Tutorial HowTo

2007-10-31 Thread Greg Lindstrom
Thinking about presenting a tutorial at PyCon 2008? Here's a link with everything you would ever want to know. http://us.pycon.org/2008/tutorials/proposals/ PyCon simply would not exist without volunteers like YOU. Get involved today! --greg -- http://mail.python.org/mailman/listinfo/p

Re: Python good for data mining?

2007-11-05 Thread Greg Lindstrom
es are fast enough. We even generate XML and EDI-X12 directly from the database via stored procedures. I used to pull as much as I could back from the database and them manipulate it with C using abstract data types and record layouts with lots of pointers. Now I use Python to access the base an

PyCon 2008 - Call for Tutorials

2007-11-09 Thread Greg Lindstrom
Development - Anything Else (just about) Anything is up for consideration. Pop on over to http://us.pycon.org/2008/tutorials/proposals/ for more information or submit your idea to [EMAIL PROTECTED] Thanks! Greg Lindstrom Tutorial Coordinator, PyCon 2008 (Chicago) -- http://mail.python.org/mailman/listinfo/python-list

New Python User Group (Arkansas, USA)

2007-11-09 Thread Greg Lindstrom
live in or near Arkansas, we invite you to join our mailing list at http://mail.python.org/mailman/listinfo/pyar2 and look for meetings to start early next year. --greg -- http://mail.python.org/mailman/listinfo/python-list

Re: webbrowser.open still gives problem with file://

2007-11-14 Thread Greg Couch
t say which platform you're on. I found that on older Mac OS X systems that one needs to give file://localhost/path instead of file:///path but the localhost version didn't always work on other platforms. The other thing you need to do is to use Python 2.5's version of webbrows

Re: "Python" is not a good name, should rename to "Athon"

2007-11-30 Thread Greg Lindstrom
> > > In Athon, the first letter "A" could pronounce as [ e ] . > > For English speakers that pronunciation is just plain wrong. > Going back to my shell scripting days, I nominate "nothyP" as the new name. --greg -- http://mail.python.org/mailman/listinfo/python-list

ANN: Pyrex 0.9.6.4

2007-12-01 Thread Greg Ewing
Pyrex 0.9.6.4 is now available: http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/ Mostly just bug fixes in this release; see CHANGES.txt on the web site for details. What is Pyrex? -- Pyrex is a language for writing Python extension modules. It lets you freely mix operat

Determining Dependencies

2007-12-06 Thread Greg Lindstrom
x27;m not using it I don't want to bring it in. Worst case is we go though each file manually. I was just curious if there is a better way. Thanks, --greg -- http://mail.python.org/mailman/listinfo/python-list

Re: [OT] Fractions on musical notation

2007-12-17 Thread Greg Lindstrom
> > As a time signature 1/4 has no sense, You've never played and Grainger, have you? :-) --greg -- http://mail.python.org/mailman/listinfo/python-list

Re: (was Re: Xah's Edu Corner: Criticism vs Constructive Criticism)

2006-04-26 Thread Greg Menke
Mark Thomas writes: > Xah Lee wrote: > > Dear John Bokma, > > This is a public notice that what you are trying to do is getting close > > to harrassment from the law's perspective. > > Thanks. > >Xah > >[EMAIL PROTECTED] > > ∑ http://xahlee.org/ > > John Bokma wrote: > >> Eli Gottlieb <

Scaled Vector Graphics

2006-05-08 Thread Greg Lindstrom
on is to snag one of the routines I've found that claim to convert scg to pdf and then merge them as pdf files. Any help or suggestions you may supply will be greatly appreciated,Greg LindstromNovaSys HealthLittle Rock, Arkansas (USA) -- http://mail.python.org/mailman/listinfo/python-list

Tutorials at PyCon 2008 (US)

2008-01-07 Thread Greg Lindstrom
Hello Everyone- I'd like to announce the tutorials sessions for PyCon 2008 (US). As you may know, this year PyCon is being held in Chicago, Illinois March 14-16 with the Thursday before (the 13th) being "Tutorial Thursday". We are expecting nearly 600 Python enthusiasts to meet up for the confer

PyGTK, Glade, and ComboBoxEntry.append_text()

2008-01-21 Thread Greg Johnston
e to modify ComboBoxEntry choice options on the fly--at least with append_text(), etc--because they were not created with gtk.combo_box_entry_new_text(). Basically, I'm wondering if there's any way around this. Thank you, Greg Johnston -- http://mail.python.org/mailman/listinfo/python-list

Re: PyGTK, Glade, and ComboBoxEntry.append_text()

2008-01-23 Thread Greg Johnston
On Jan 21, 5:44 pm, Greg Johnston <[EMAIL PROTECTED]> wrote: > Hey all, > > I'm a relative newbie to Python (switched over from Scheme fairly > recently) but I've been usingPyGTKand Glade to create an interface, > which is a combo I'm very impressed with. > &

Re: regular expression negate a word (not character)

2008-01-28 Thread Greg Bacon
The code below at least passes your tests. Hope it helps, Greg #! /usr/bin/perl use warnings; use strict; use constant { MATCH=> 1, NO_MATCH => 0, }; my @tests = ( [ "winter tire",=> MATCH ], [ "tire",

Mx.ODBC insert error

2008-01-29 Thread Greg Corradini
00010'") Traceback (most recent call last): File "", line 1, in ? curse.execute("Insert into FHWA_StandSamp_2008(LRS_ID_NEW) values ('040210') where LRS_ID = '0403700010'") ProgrammingError: ('37000', -3516, '[Microsoft][ODBC Mi

Re: regular expression negate a word (not character)

2008-01-29 Thread Greg Bacon
other program that is looking for matches. I dunno. Maybe it was the familiar compulsion with Perl to attempt to cram everything into a single pattern. Greg -- What light is to the eyes -- what air is to the lungs -- what love is to the heart, liberty is to the soul of man. -- Robert Gr

Re: Mx.ODBC insert error

2008-01-29 Thread Greg Corradini
Thanks John. I now see it John Machin wrote: > > On Jan 30, 3:27 am, Greg Corradini <[EMAIL PROTECTED]> wrote: >> Hello, >> I've never gotten this traceback error before using mx.ODBC. > > "traceback error"?? I see no problem with the traceback.

PyCon 2008 Tutorial Sessions

2008-02-03 Thread Greg Lindstrom
Registration for PyCon 2008 is now open. Held in Chicago March 14-16 with "Tutorial Thursday" on March 13 and sprints afterwards, it is expected that nearly 800 Python enthusiasts will attend at least part of the conference. It is totally run by volunteers and is affordable for just about anyone.

Re: Does python support working with password protected zip files?

2008-03-06 Thread Greg Armer
# Unzip password protected zipfile to _temp os.chdir('_temp') os.popen("unzip -P%s ../%s" % (self.password, self.zipfile), "r") return True While this is not ideal, i could not find any other alternatives. Hope that helps. -- Greg Armer Entropy has us outnumbered. -- http://mail.python.org/mailman/listinfo/python-list

Re: Pycon disappointment

2008-03-20 Thread Greg Lindstrom
ause he was writing code while up in front of the room. "Here's how to do this" and then he would tweak various aspects and show the results. I can appreciate the need for slides, but I also like seeing "code in action". --greg -- http://mail.python.org/mailman/listinfo/python-list

Pyggy Awards Judging Underway

2009-02-01 Thread Greg Ewing
es are here: http://pyggy.pyweek.org/1007/entries/ -- Greg -- http://mail.python.org/mailman/listinfo/python-list

Python binaries with VC++ 8.0?

2009-02-08 Thread Greg Ewing
Is there anywhere I can download a set of Python binaries, of any version, that have been built with Visual C++ 8.0? I'm trying to hook Python up to Sketchup 7 on Windows, and I think I'm having problems because Sketchup is linked with msvcr80.dll. -- Greg -- http://mail.python.o

ANN: SuPy 1.0 for Windows

2009-02-09 Thread Greg Ewing
SuPy is a plugin for the Sketchup 3D modelling application that lets you script it in Python. This is a first version and is highly experimental. Let me know if it works for you and whether you have any problems. -- Greg Ewing greg.ew...@canterbury.ac.nz -- http://mail.python.org/mailman/listinfo/python-list

ANN: SuPy for Python 2.5 on Windows

2009-02-11 Thread Greg Ewing
highly experimental. Let me know if it works for you and whether you have any problems. -- Greg Ewing greg.ew...@canterbury.ac.nz -- http://mail.python.org/mailman/listinfo/python-list

ANN: Supy 1.1

2009-02-13 Thread Greg Ewing
;body'. What is SuPy? - SuPy is a plugin for the Sketchup 3D modelling application that lets you script it in Python. -- Greg Ewing greg.ew...@canterbury.ac.nz -- http://mail.python.org/mailman/listinfo/python-list

ANN: SuPy 1.2

2009-02-14 Thread Greg Ewing
-passing mechanism. What is SuPy? - SuPy is a plugin for the Sketchup 3D modelling application that lets you script it in Python. -- Greg Ewing greg.ew...@canterbury.ac.nz -- http://mail.python.org/mailman/listinfo/python-list

ANN: SuPy 1.3

2009-02-15 Thread Greg Ewing
that lets you script it in Python. -- Greg Ewing greg.ew...@canterbury.ac.nz -- http://mail.python.org/mailman/listinfo/python-list

ANN: SuPy 1.4

2009-02-15 Thread Greg Ewing
sequences to arrays. - X_AXIS, Y_AXIS, Z_AXIS constants. - Unit conversion constants (feet, yard, etc.) e.g. 5 * feet What is SuPy? - SuPy is a plugin for the Sketchup 3D modelling application that lets you script it in Python. -- Greg Ewing greg.ew...@canterbury.ac.

time.strptime() and time.strftime() reciprocity

2009-02-16 Thread Greg Krohn
04:52 PM' So, yeah, that seems weird to me. Does anyone get similar results, know why this is happening, and/or how to fix it? Thanks. -- ("%...@gmail com" % "Greg Krohn".lower()).replace(" ", ".") -- http://mail.python.org/mailman/listinfo/python-list

ANN: Assembly Line 0.8.2

2009-02-17 Thread Greg Ewing
uring, the world leader in pixellated products. We give you product designs from our R&D department, and you design and build factories to manufacture them as efficiently possible. Make a good profit and you'll earn big bonuses and a huge salary! -- Greg -- http://mail.python.org/ma

ulimit stack size and python threads

2009-01-08 Thread Greg Lindahl
RHEL5, etc etc. Why is Python overloading the meaning of the ulimit -s like this? There are plenty of real non-python programs with huge stack usage, and I'd like my system default stack limit to be less than unlimited but much larger than Python will allow. -- greg -- http://mail.python.o

Re: ulimit stack size and python threads

2009-01-08 Thread Greg Lindahl
> I'm only guessing, but could it be a 32-bit limit somewhere? Have you > tried, say, 1GB, which would be within a 32-bit limit? Indeed, ulimit -s 100 (a bit smaller than 1 GB) does work, but it doesn't solve my problem, since I want to set the limit higher than 1 GB.

Re: ulimit stack size and python threads

2009-01-08 Thread Greg Lindahl
, I'd be worried that python is doing something bad with the ulimit -s value under the covers. -- greg -- http://mail.python.org/mailman/listinfo/python-list

<    5   6   7   8   9   10   11   12   >