Re: [python] Re: GitHub's ³pull request² is proprietary lock-in

2016-01-03 Thread W. Trevor King
ccomplish the same thing. But I agree that it's nice to keep the discussion around pull requests somewhere portable. Cheers, Trevor [1]: http://git-scm.com/docs/git-request-pull -- This email may be signed or encrypted with GnuPG (http://www.gnupg.org). For more information, see htt

Re: parametized unittest

2014-01-11 Thread W. Trevor King
e a good > approach for this? please advise. If Python 3.4 is an option, you can stick to the standard library and use subtests [1]. Cheers, Trevor [1]: http://docs.python.org/3.4/library/unittest.html#distinguishing-test-iterations-using-subtests -- This email may be signed or encrypted w

Re: [python] email 8bit encoding

2013-07-29 Thread W. Trevor King
charset, but it's pretty ugly. Let me know if you figure out something cleaner :). Cheers, Trevor [1]: http://thread.gmane.org/gmane.comp.python.general/725425 [2]: https://github.com/wking/rss2email/blob/master/rss2email/email.py#L226 -- This email may be signed or encrypted with GnuPG (http:

CC etiquette for mailing lists (was: Don't feed the troll...)

2013-06-15 Thread W. Trevor King
t seems more obvious (to me), is that it's polite to adjust the subject line if your response if far enough off-topic that the original subject no longer applies ;). Cheers, Trevor [1]: http://git.kernel.org/cgit/git/git.git/tree/MaintNotes?h=todo#n10 [2]: http://news.gmane.org/gmane.comp.python.gene

Mailman forwarding (was: Don't feed the troll...)

2013-06-15 Thread W. Trevor King
will be presented with both. Mailman can (optionally) assume that addresses listed in To, CC, … fields received an out-of-band copies, and not mail them an additional copy [1]. Cheers, Trevor [1]: http://www.gnu.org/software/mailman/mailman-member/node21.html -- This email may be signed or encry

Flatten an email Message with a non-ASCII body using 8bit CTE

2013-01-24 Thread W. Trevor King
t_output_charset()) because the headers are encoded into 7 bits, so re-encoding them with UTF-8 is a no-op. However, if the body charset is UTF-16-LE or any other encoding that remaps 7bit characters, this hack breaks down. Thoughts? Trevor [1]: http://bugs.python.org/issue16324 [2]: http://bugs

Re: AI Example Help

2012-10-11 Thread Trevor Nelson
> > An interesting concept. AI monitoring systems have never really > > appealed to me; I personally prefer something with simpler and clearer > > rules (eg "if server load exceeds 3.0, raise an alert"), coupled with > > information retrieval commands that read like commands, not natural > >

AI Example Help

2012-10-11 Thread Trevor Nelson
Hello all, For the first time in well... a very long time I am coming to a loss on where to really get started here on the project I wish to undertake to help me really get into Python programming. A quick explanation of how I learn. I learn best with example working small code bits. With the

Re: No more Python support in NetBeans 7.0

2012-07-16 Thread trevor . carlston
On Wednesday, October 26, 2011 8:06:16 PM UTC-6, w...@naveed.net wrote: > Sorry to comment on an old topic, but I wanted to clarify for others like me > who might get the wrong idea. > > It looks like this is no longer true. Netbeans 7 might be supporting python > after all. > > http://wiki.ne

Re: No more Python support in NetBeans 7.0

2012-07-16 Thread trevor . carlston
On Wednesday, October 26, 2011 8:06:16 PM UTC-6, w...@naveed.net wrote: > Sorry to comment on an old topic, but I wanted to clarify for others like me > who might get the wrong idea. > > It looks like this is no longer true. Netbeans 7 might be supporting python > after all. > > http://wiki.ne

Re: Deditor 0.2.2

2010-11-08 Thread Trevor J. Christensen
I really like that editor! Great work!! Great ideas!! On Sat, 2010-11-06 at 06:06 -0700, Kruptein wrote: > Hey, > > I released version 0.2.2 of my pythonic text-editor Deditor. > It adds the use of projects, a project is a set of files which you can > open all at once to make development much

Installing Python 3.1.2 from source, how do you resolve the sqlite3-dev dependency?

2010-06-16 Thread Trevor
Running ubuntu 9.04 "jaunty". When I run make I get the following error: Python build finished, but the necessary bits to build these modules were not found: _sqlite3 So the easy solution is to just install the missing dependency using apt-get, "sudo apt-get -f install libsqlite3-dev" b

Re: attributes, properties, and accessors -- philosophy

2009-12-09 Thread Trevor Dorsey
"magic" happens in > object.__getattribute__ and object.__setattr__. You'll find a rough > description of what happens here: > > > http://groups.google.com/group/comp.lang.python/browse_frm/thread/a136f7626b2a8b7d/70a672cf7448c68e > > > > > > -- >

Re: 2d barcode library?

2009-06-04 Thread Trevor
> > Christian > > [1]https://cybernetics.hudora.biz/projects/wiki/huBarcode Thanks guys! huBarcode will work.. -- http://mail.python.org/mailman/listinfo/python-list

2d barcode library?

2009-05-20 Thread Trevor
Is anyone aware of a good library for building 2d barcodes (any format will work for me) and outputing them as some picture format, presumably png or bmp to be used for html printing? For 1D barcodes a simple barcode font will suffice, but obviously 2D is not so simple and i have yet to find the ap

Tkinter Window On Top

2009-05-15 Thread Trevor
Can a Tkinter application create a COM object and keep its own window on top of it? excel = win32com.client.Dispatch('Excel.Application') I would like the user to be able to see and interact with the Excel application but keep the Tkinter application on top. -- http://mail.python.org/mailman/lis

Re: py2exe + win32com + DAO

2009-05-14 Thread Trevor
: > On Tue, 12 May 2009 22:06:42 -0700 (PDT), Trevor > wrote: > > > I do not believe your assertion applies to the following line of code: > > > daoEngine = win32com.client.Dispatch(r'DAO.DBEngine.36') > > It doesn't. I'm simply suggesting that it is po

Re: py2exe + win32com + DAO

2009-05-12 Thread Trevor
might confirm my assertion. > > Otherwise it is likely that it is something else. > > On Tue, 12 May 2009 17:20:15 -0700 (PDT), Trevor > wrote: > > > I have a Python code module that adds records to a MS Access > > database.  The following line of code executes suc

py2exe + win32com + DAO

2009-05-12 Thread Trevor
I have a Python code module that adds records to a MS Access database. The following line of code executes successfully when the code module is run as a Python script: daoEngine = win32com.client.Dispatch(r'DAO.DBEngine.36') It also runs successfully when the Python script is compiled and run as

Peer-to-Peer Chat Program

2008-08-03 Thread Trevor Slocum
laboration on project ideas and such if support is carried after this message. I thank anyone who has taken their time to read this. -- Trevor "tj9991" Slocum -- http://mail.python.org/mailman/listinfo/python-list

Re: Returning to 'try' block after catching an exception

2008-05-22 Thread Matthew Trevor
On May 23, 4:01 am, "inhahe" <[EMAIL PROTECTED]> wrote: > Might have a stack overflow issue, if it retries too many times? In which example? Neither of them is looping... -- http://mail.python.org/mailman/listinfo/python-list

Re: serach file for regexp, return if found?

2008-05-22 Thread Matthew Trevor
On May 23, 9:10 am, [EMAIL PROTECTED] wrote: > but search and match only returns matchobjects(what are those anyway? > i dont get what to do with them, do they contain true/false, > stringposition etc?) It's all covered in the docs: http://docs.python.org/lib/module-re.html http://docs.python.org

Re: Python is slow

2008-05-22 Thread Matthew Trevor
On May 23, 2:14 am, cm_gui <[EMAIL PROTECTED]> wrote: > I've yet to see a web application written in Python which is really > fast. Then stop looking at your own inept Python code and open your eyes. -- http://mail.python.org/mailman/listinfo/python-list

Python Contract/Job Opportunity

2008-03-11 Thread Trevor Hennion
initially - possibly leading to much more. We use Python, PostgreSQL, Html, Javascript and Linux. Suite a recent Computer Science or Programming graduate. Location - just south of Reading, Berks, UK. Must be able to travel to us. Phone Trevor Hennion on 0845 5083766. -- http://mail.python.org

Re: Meta Class

2008-02-04 Thread Trevor Johnson
You're right I totally misunderstood it. And your idea is obvious and simple enough :) On Feb 1, 2008 6:33 PM, Gabriel Genellina <[EMAIL PROTECTED]> wrote: > En Fri, 01 Feb 2008 15:46:05 -0200, Trevor Johnson > <[EMAIL PROTECTED]> escribió: > > > I think I have a

Re: xmlrpclib, testing server presence

2008-02-02 Thread Trevor Hennion
> > Thank you. Hi, Could you test for a socket timeout?: socket.setdefaulttimeout(20.0) # timeout = 20.0 secs regards Trevor http://www.infocentrality.co.uk -- http://mail.python.org/mailman/listinfo/python-list

Meta Class

2008-02-01 Thread Trevor Johnson
ions, I will need to change that to two variables, but they are independent within this code. How do I go about abstracting these variables to make a meta class? TIA, Trevor >>> def testing(): ... for word in wordPool: ... i = 0 ... i2 = 0 ... i3 = [] ... new = [] ... for

Help required with Python App

2007-05-21 Thread Trevor Hennion
- ReportLab Toolkit, but am rather busy with the other parts of the project, so if any one located in the UK - Reading/Basingstoke area has the right skills and time available now, please contact me. I have a small budget available for this work. Regards Trevor PS UK/Reading/Basingstoke area is

Using classes in python

2006-10-25 Thread trevor lock
created an instance of the class that a unique dictionary was also created, however it seems that only one dictionary is created.How can I create a new dictionary for each instance?Thanks,Trevor. All-new Yahoo! Mail - Fire up a more powerful email and get things done faster.-- http://mail

Writing formatted data (numeric) to a binary file

2005-09-01 Thread Trevor . Dhu
ernativly, if anyone has written routines for dealing with basic ERMapper grids (as opposed to the wavelet compressed data) I'd love to save myself from re-inventing the wheel. Thanks Trevor Dhu -- http://mail.python.org/mailman/listinfo/python-list