Re: why PyObject_VAR_HEAD?

2009-07-06 Thread Eric Wong
r and "allocated" count explicity? Is > there any difference? > > Thanks. > > Eric first, _PyObject_HEAD_EXTRA is only useful for debug and defined as: #ifdef Py_TRACE_REFS #define _PyObject_HEAD_EXTRA \ struct _object *_ob_next; \ struct _obj

Re: How Python Implements "long integer"?

2009-07-07 Thread Eric Wong
Pedram wrote: > Hello Mr. Dickinson. Glad to see you again :) > > On Jul 6, 5:46 pm, Mark Dickinson wrote: >> On Jul 6, 1:24 pm, Pedram wrote: >> >> > OK, fine, I read longobject.c at last! :) >> > I found that longobject is a structure like this: >> >> > struct _longobject { >> > struct _objec

Query screen resolution?

2009-08-28 Thread AK Eric
Thought this would be easy, maybe I'm missing something :) Trying to query the x,y resolution of my screen. I've seen this available through http://python.net/crew/mhammond/win32/ : from win32api import GetSystemMetrics print "width =", GetSystemMetrics (0) print "height =",GetSystemMetrics (1)

Re: PyRTF object model

2010-09-30 Thread Eric Brunel
so the only way to figure out what can be done is by reading the PyRTF source codeŠ HTH -Eric - -- http://mail.python.org/mailman/listinfo/python-list

Re: Unix-head needs to Windows-ize his Python script

2010-10-21 Thread Eric Brunel
ter, so they probably are even more accessible to people who never wrote a GUI before. The documentation is here: http://docs.python.org/library/ttk.html#module-ttk HTH - Eric - -- http://mail.python.org/mailman/listinfo/python-list

Compiling new Pythons on old Windows compilers

2017-03-12 Thread Eric Frederich
directory with different VS directories in the source tree, now it isn't there any more. Thanks, ~Eric -- https://mail.python.org/mailman/listinfo/python-list

Windows / ctypes issue with custom build

2017-03-27 Thread Eric Frederich
> click.echo(u'Hello World') Traceback (most recent call last): File "", line 1, in File "C:\Users\eric\my_env\lib\site-packages\click\utils.py", line 259, in echo file.write(message) File "C:\Users\eric\my_env\lib\site-package

Re: Important features for editors

2013-07-06 Thread Eric S. Johansson
On Fri, 05 Jul 2013 23:13:24 -0400, Rustom Mody wrote:Yes...The fact that rms has crippling RSI should indicate that emacs' ergonomics is not right. As someone crippled by Emacs ( actual cause not known), I should also point out that RMS, instead of doing the responsible thing and using speech re

Re: Editor Ergonomics [was: Important features for editors]

2013-07-11 Thread Eric S. Johansson
On Fri, 12 Jul 2013 00:24:26 -0400, Steven D'Aprano wrote: Frankly, nothing comes even close to a real mouse for feedback and ease of use. Maybe a stylus. But that's it. before tremors, I would agree with you. Stylus is amazingly good tool for user interaction in a GUI. After tremors, not

Re: Understanding other people's code

2013-07-12 Thread Eric S. Johansson
On Fri, 12 Jul 2013 10:22:59 -0400, L O'Shea wrote: Literally any idea will help, pen and paper, printing off all the code and doing some sort of highlighting session - anything! I keep reading bits of code and thinking "well where the hell has that been defined and what does it mean" to

Re: Editor Ergonomics [was: Important features for editors]

2013-07-12 Thread Eric S. Johansson
On Fri, 12 Jul 2013 18:34:30 -0400, Dennis Lee Bieber wrote: Sounds like you might have liked an accessory I had on my Amiga. Basically a proportional joystick feeding an interface box which converted the position value into a sequence of mouse movements -- sounds very cool. Alt

Re: What does it take to implement a chat system in Python (Not asking for code just advice before I start my little project)

2013-07-17 Thread Eric S. Johansson
On Thu, 18 Jul 2013 00:36:17 -0400, Aseem Bansal wrote: I wanted to do a little project for learning Python. I thought a chat system will be good as it isn't something that I have ever done. I wanted to know what will I need? I think that would require me these 1 learn network/socket progr

Re: Simple Python script as SMTP server for outgoing e-mails?

2013-07-22 Thread Eric S. Johansson
On Mon, 22 Jul 2013 08:11:25 -0400, Gilles wrote: On Sun, 21 Jul 2013 18:28:27 -0600, Michael Torrie wrote: The Sendmail MTA has been ported to many platforms including windows. But... Thanks for the tip. Since I couldn't find a good, basic, native Windows app, I was indeed about to look at

Re: [Savoynet] G&S Opera Co: Pirates of Penzance

2013-07-29 Thread Eric S. Johansson
On Sun, 28 Jul 2013 19:49:07 -0400, Ethan Furman wrote: On 07/28/2013 10:57 AM, Chris Angelico wrote: . . . Okay, how did you get confused that this was a Python List question? ;) got_a_little_list["victim must be found"] = http://www.youtube.com/watch?v=1NLV24qTnlg -- http

simplified Python parsing question

2012-07-29 Thread Eric S. Johansson
ting development team and their naming conventions. Looking forward to responses. --- eric first draft write up of technique https://docs.google.com/document/d/1In11apApKozw_UOPAhVz0ePqns72_6652Dra34xWp4E/edit -- http://mail.python.org/mailman/listinfo/python-list

Re: simplified Python parsing question

2012-07-29 Thread Eric S. Johansson
On 7/29/2012 11:33 PM, Steven D'Aprano wrote: On Sun, 29 Jul 2012 19:21:49 -0400, Eric S. Johansson wrote: When you are sitting on or in a name, you look to the left or look to the right what would you see that would tell you that you have gone past the end of that name. For example Hav

Re: simplified Python parsing question

2012-07-30 Thread Eric S. Johansson
On 7/30/2012 5:25 AM, Laszlo Nagy wrote: Did you try to use pygments? http://pygments.org/docs/api/ thanks, I'll take a look. I would first tokenize the code, then divide it by statement keywords. Finally, you just need to find expression/assignment statements in the remaining sections.

Re: simplified Python parsing question

2012-07-30 Thread Eric S. Johansson
On 7/30/2012 10:59 AM, Laszlo Nagy wrote: yeah the problem is also little more complicated than simple parsing of Python code. For example, one example (from the white paper) *meat space blowback = Friends and family [well-meaning attempt] *could that be parsed by the tools you mention?

Re: simplified Python parsing question

2012-07-30 Thread Eric S. Johansson
On 7/30/2012 9:54 PM, Steven D'Aprano wrote: On Mon, 30 Jul 2012 11:40:50 -0400, Eric S. Johansson wrote: If you have been reading the papers, you would understand what I'm doing. That is the second time, at least, that you have made a comment like that. Actually, it's pro

toggle name, With explanations

2012-07-30 Thread Eric S. Johansson
reciate your patience. Sometimes the overhead of communicating using speech recognition with tools don't work well with speech recognition such as Thunderbird makes the whole process of writing almost more difficult than it's worth. Working on tools like this is incremental progress

Re: OT: accessibility (was "Re: simplified Python parsing question")

2012-07-31 Thread Eric S. Johansson
On 7/30/2012 10:54 PM, Tim Chase wrote: On 07/30/12 21:11, Eric S. Johansson wrote: the ability for multiple people to work on the same document at the same time is really important. Can't do that with Word or Libre office. revision tracking in traditional word processors are unpleasa

Re: Is duck-typing misnamed?

2016-08-28 Thread Eric S. Johansson
On 8/27/2016 7:28 PM, ROGER GRAYDON CHRISTMAN wrote: > Your response is appreciated. I just thought I'd comment a little more on > the > script: > > Woman: I'm not a witch! I'm not a witch! > > V: ehh... but you are dressed like one. > > W: They dressed me up like this! > > All: naah no we

Re: [Python-ideas] Inconsistencies

2016-09-12 Thread Eric S. Johansson
On 9/11/2016 10:26 PM, Chris Angelico wrote: > No, God isn't part of the universe, any more than an author is part of > his novel. > as any fiction writer will tell you, the author is found in one or more of their characters. -- https://mail.python.org/mailman/listinfo/python-list

Re: advanced SimpleHTTPServer?

2016-11-02 Thread Eric S. Johansson
On 11/2/2016 12:15 PM, Chris Warrick wrote: > SimpleHTTPServer is meant to be used for development and testing. It > should not be used for anything remotely serious for security and > speed reasons. Given that many people are trying to use SimpleHTTPServer for "production" should teach us that

Re: advanced SimpleHTTPServer?

2016-11-02 Thread Eric S. Johansson
On 11/2/2016 2:40 PM, Chris Warrick wrote: > Because, as the old saying goes, any sufficiently complicated Bottle > or Flask app contains an ad hoc, informally-specified, bug-ridden, > slow implementation of half of Django. (In the form of various plugins > to do databases, accounts, admin panels

Re: Promoting your own library

2016-11-12 Thread Eric S. Johansson
ant to publish a couple of things that I found useful. My creations tend to be single file modules or commands and what I hope to understand from your guidance is how to bundle that single file module or standalone program for publication. --- eric -- https://mail.python.org/mailman/listinfo/python-list

Re: ANN: JavaScrypthon 0.5, now with embedded evaluation of transpiled code

2016-11-28 Thread Eric S. Johansson
On 11/28/2016 2:02 PM, Amirouche Boubekki wrote: > Also, FWIW users are looking for a Javascript replacement that is real > Python, not another coffeescript. does this count? http://brython.info/ -- https://mail.python.org/mailman/listinfo/python-list

Re: Python for WEB-page !?

2017-01-08 Thread Eric S. Johansson
On 1/5/2017 7:48 PM, Michael Torrie wrote: > While Python can do that, using a web framework to process HTTP requests > and generate HTML to display in the browser, I don't believe Python is > the appropriate language for the task at hand. Most web sites that do > interactive formula calculations

Re: Learning Python (or Haskell) makes you a worse programmer

2016-03-29 Thread Eric S. Johansson
On 3/29/2016 6:05 AM, Sven R. Kunze wrote: Python = English As someone who writes English text and code using speech recognition, I can assure you that Python is not English. :-) -- https://mail.python.org/mailman/listinfo/python-list

Re: Learning Python (or Haskell) makes you a worse programmer

2016-03-30 Thread Eric S. Johansson
On 3/30/2016 6:21 AM, BartC wrote: On 30/03/2016 11:07, Sven R. Kunze wrote: On 30.03.2016 01:29, Eric S. Johansson wrote: On 3/29/2016 6:05 AM, Sven R. Kunze wrote: Python = English As someone who writes English text and code using speech recognition, I can assure you that Python is

Re: Learning Python (or Haskell) makes you a worse programmer

2016-03-30 Thread Eric S. Johansson
On 3/30/2016 9:09 AM, Chris Angelico wrote: On Thu, Mar 31, 2016 at 12:06 AM, Eric S. Johansson wrote: I need a co-conspirator with better hands than mine to get through the next stage which is some form of an AST smart editor that operates on larger chunks such as idioms or snippets in a

Best practices for single file modules Inspired by: Best Practices for Internal Package Structure

2016-04-05 Thread Eric S. Johansson
I was inspired by the thread on packaging practices discussion with bidict to ask a related question which is what are the best practices with packaging/releasing a single file Python module ? Back story: I'm always creating little bits of useful code that I want to reuse (for example, recursi

Re: Python on Windows with linux environment

2016-06-02 Thread Eric S. Johansson
On 6/2/2016 12:38 PM, Wildman via Python-list wrote: > On Thu, 02 Jun 2016 04:22:45 -0700, Muhammad Ali wrote: > >> Hi, >> >> I use windows regularly, however, I use linux for only my research work at >> supercomputer. In my research field (materials science) most of the scripts >> are being writ

Re: Python on Windows with linux environment

2016-06-02 Thread Eric S. Johansson
On 6/2/2016 2:03 PM, Joel Goldstick wrote: > Although the OP is using Windows 7, according to recent articles, > Ubuntu is teaming with MS for Windows 10 to include a bash shell, > presumably with the package management of Ubuntu (debian), with pip > goodness and virtualenv and virtualenvwrapper.

Re: Python on Windows with linux environment

2016-06-03 Thread Eric S. Johansson
On 6/3/2016 12:02 AM, Muhammad Ali wrote: > On Friday, June 3, 2016 at 6:27:50 AM UTC+8, Eric S. Johansson wrote: >> On 6/2/2016 2:03 PM, Joel Goldstick wrote: >>> Although the OP is using Windows 7, according to recent articles, >>> Ubuntu is teaming with MS for Windows

a ConfigParser wtf moment

2005-01-13 Thread Eric S. Johansson
p # - if you're having a hard time seeing it, before the substitution, xyzzy is set to the value in the configuration file, afterwards, it is set to the value of the substitution in the code. It seems to me that substitutions should not affect any configuration file symbols of the same name. anyway to fix this problem without python diving? ---eric -- http://mail.python.org/mailman/listinfo/python-list

Re: a ConfigParser wtf moment

2005-01-13 Thread Eric S. Johansson
oad but it gets the job done. I've spent away too much time on this problem for this particular project. I think we all know the feeling. ---eric -- http://mail.python.org/mailman/listinfo/python-list

Re: how to find site-packages path

2005-01-18 Thread Eric S. Johansson
ctory hierarchy and not touch any of the site-packages directories or files? it looked like that was impossible from the documentation which is why I wrote my own installer. ---eric -- http://mail.python.org/mailman/listinfo/python-list

simultaneous multiple requests to very simple database

2005-01-18 Thread Eric S. Johansson
ny and all suggestions (except maybe SQL :-) ---eric -- http://mail.python.org/mailman/listinfo/python-list

Re: simultaneous multiple requests to very simple database

2005-01-18 Thread Eric S. Johansson
Robert Brewer wrote: Eric S. Johansson wrote: I have an application where I need a very simple database, effectively a very large dictionary. The very large dictionary must be accessed from multiple processes simultaneously. I need to be able to lock records within the very large dictionary

anydbm biasing

2005-01-18 Thread Eric S. Johansson
defaultmod = _mod usage: bias_anydbm() open_DBM = anydbm.open(DBM_path, 'c') if you have gdbm enabled, it will use that otherwise it will default to the search list in anydbm. obviously, this can be used to bias anydbm to meet your own preferences ---eric -- http://mail.python.org/mailman/listinfo/python-list

Re: simultaneous multiple requests to very simple database

2005-01-18 Thread Eric S. Johansson
Thomas Bartkus wrote: "Eric S. Johansson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] at this point, I know they will be some kind souls suggesting various SQL solutions. While I appreciate the idea, unfortunately I do not have time to puzzle out yet another compo

Re: simultaneous multiple requests to very simple database

2005-01-18 Thread Eric S. Johansson
Ricardo Bugalho wrote: On Tue, 18 Jan 2005 17:33:26 -0500, Eric S. Johansson wrote: When I look at databases, I see a bunch of very good solutions that are either overly complex or heavyweight on one hand and very nice and simple but unable to deal with concurrency on the other. two sets of

Re: simultaneous multiple requests to very simple database

2005-01-18 Thread Eric S. Johansson
o it if I can find a good XMLRPC multithreading framework. ---eric -- http://mail.python.org/mailman/listinfo/python-list

Re: Berkely DB – many writers, many readers

2005-07-10 Thread Eric S. Johansson
ried it in a high load situation. ---eric -- http://mail.python.org/mailman/listinfo/python-list

Reliable destruction

2005-08-04 Thread Pierre-Eric . Melchy
Hello, I have a class measurement representing a physical measurement. Different objects in this class represent laboratory equipment, which might raise an exception (e.g. overtemperature). In any case the equipment has to be switched off after the experiment, since if a power supply stays in the

Re: Reliable destruction

2005-08-04 Thread Pierre-Eric . Melchy
Hello Benjamin, What would happen if an exception was thrown in the middle of setup()? tearDown could not handle this case without having a list of the objects already constructed (Or I would have to rely on the automatic call to __del__, if it is reliable). There is still some problem: Imagine

Re: Reliable destruction

2005-08-05 Thread Pierre-Eric . Melchy
Hello, your idea sounds good and handles the exception on teardown as well. (I did not think about the if XXX!=None check in teardown()) I will now provide each of the instruments with an explicit shutdown() method which frees the interface card as well. These methods will be called in a finally

Re: asynchat and threading

2004-11-29 Thread Eric S. Johansson
and the package currently installed. <<- idea needs work yea? nay? ---eric -- http://mail.python.org/mailman/listinfo/python-list

Re: asynchat and threading

2004-11-30 Thread Eric S. Johansson
apt-get configuration files, it might just work. hmmm. the trick would be making modules that were multiplatform/distribution aware. ---eric -- http://mail.python.org/mailman/listinfo/python-list

writing to mailboxes

2004-12-07 Thread Eric S. Johansson
have vanished. Any suggestions? ---eric -- http://mail.python.org/mailman/listinfo/python-list

extracting string.Template substitution placeholders

2014-01-12 Thread Eric S. Johansson
ansion i.e. an identifier contains a template. Thanks --- eric -- https://mail.python.org/mailman/listinfo/python-list

Re: extracting string.Template substitution placeholders

2014-01-14 Thread Eric S. Johansson
On 1/13/2014 2:24 AM, Steven D'Aprano wrote: On Sun, 12 Jan 2014 10:08:31 -0500, Eric S. Johansson wrote: Now just walk the template for $ signs. Watch out for $$ which escapes the dollar sign. Here's a baby parser: found a different way import string cmplxstr="""

Re: What is the most pythonic way to build up large strings?

2014-02-08 Thread Eric S. Johansson
On 2/8/2014 3:35 AM, Rustom Mody wrote: On Saturday, February 8, 2014 1:11:53 PM UTC+5:30, [email protected] wrote: I am writing a couple of class methods to build up several lines of html. Some of the lines are conditional and most need variables inserted in them. Searching the web has gi

need some guidance on Python syntax smart editor for use with speech recognition

2015-01-04 Thread Eric S. Johansson
hard problem. So thoughts, ideas would be welcome. Don't worry about giving me old ideas that have been looked at and rejected because you may have a take on it that I haven't seen considered and it's worth trying. Thank you for reading this far. I know it's a long m

Re: need some guidance on Python syntax smart editor for use with speech recognition

2015-01-05 Thread Eric S. Johansson
On 1/5/2015 3:12 AM, Chris Angelico wrote: On Mon, Jan 5, 2015 at 6:43 PM, Eric S. Johansson wrote: The obvious answer is saving that meta-information in conjunction with the code but when working in a team environment, that information is going to drive you handies up the wall because it&#

Re: need some guidance on Python syntax smart editor for use with speech recognition

2015-01-05 Thread Eric S. Johansson
m first being a framework where I can add speech driven UI elements to an editor so I can start experimenting with a bunch of these pieces. Another way you can help is be my hands. sometimes I just run out of hand time and it takes a while for me build up enough energy so I can spend

Re: Accessible tools

2015-02-20 Thread Eric S. Johansson
Yes yes, it's a broadbrush that you can probably slap me with. :-) Oh and before I forget does anyone know how to contact Eric who was developing that accessible speech driven IDE? Thanks Well, you could try looking in a mirror and speaking my name three times at midnight But you would get b

Re: 'Lite' Databases (Re: sqlite3 and dates)

2015-02-21 Thread Eric S. Johansson
creator seem to subscribe to the build-and-toss-into-the-wild school of development. http://buzhug.sourceforge.net/ http://www.pydblite.net/en/index.html both are useful, both could use multi-writer support, and both need some love from the python world. --- eric -- https://mail.python.org

Re: meta language to define forms

2014-03-28 Thread Eric S. Johansson
a fuss About the notation, let me say that this was aimed at disabled developers who cannot type anymore or who want to listen because they cannot see. What I have created is far more productive and speakable than any of the other systems out there. --- eric -- https://mail.python.org/mailman/listinfo/python-list

converting old project to Python 3 was: Re: Why Python 3?

2014-04-19 Thread Eric S. Johansson
natlink.pdf How hard is it to convert from C++ extensions for 2.x to 3.x? are there any tools to help with the process? Thanks for any insights. --- eric -- https://mail.python.org/mailman/listinfo/python-list

parsley parsing question

2014-06-01 Thread Eric S. Johansson
how do you parse multi line text with parsley? here is a work in progress and I'm trying to figure out why I need to split the text and process per line vrs all at one go. thanks for any help. --- eric Here's the whole body of code --- import parsley # #

Re: OT: This Swift thing

2014-06-03 Thread Eric S. Johansson
braces are royal pain to dictate or navigate around when programming with speech recognition. --- eric -- https://mail.python.org/mailman/listinfo/python-list

Re: OT: This Swift thing

2014-06-03 Thread Eric S. Johansson
On 6/3/2014 7:29 PM, Chris Angelico wrote: On Wed, Jun 4, 2014 at 9:22 AM, Eric S. Johansson wrote: On the other hand, curly braces are royal pain to dictate or navigate around when programming with speech recognition. I've never done that, in any language, but if I had to guess, I&

Re: Newbie: static typing?

2013-08-06 Thread Eric S. Johansson
On Tue, 06 Aug 2013 09:27:10 -0400, Burak Arslan wrote: First, let's get over the fact that, with dynamic typing, code fails at runtime. Irrespective of language, you just shouldn't ship untested code, so I say that's not an argument against dynamic typing. It's not so much shipping unteste

Re: Debugging decorator

2013-10-27 Thread Eric S. Johansson
On 10/25/2013 7:55 PM, Yaşar Arabacı wrote: Hi people, I wrote this decorator: https://gist.github.com/yasar11732/7163528 wow, this looks really powerful. I would like to add the ability to associate a tag or set of tags with the decorator so that the debug output only happens when there is

need help with an accessibility prototype

2015-05-22 Thread Eric S. Johansson
, is in yrs of programming, I've never written a GUI interface so I have no idea where to start. help, tutor, pointers to samples would be most welcome. --- eric -- https://mail.python.org/mailman/listinfo/python-list

Re: need help with an accessibility prototype

2015-05-22 Thread Eric S. Johansson
On 05/22/2015 03:50 PM, Laura Creighton wrote: In a message of Fri, 22 May 2015 12:29:20 -0400, "Eric S. Johansson" writes: 2 needs. first is determining if NaturallySpeaking injects keycodes or ascii char into the windows input queue. second is building a test widget to capture a

parsley parsing question, how to make a variable grammar

2014-06-13 Thread Eric S. Johansson
'm just going to do a %s expansion when I create the grammar. I appreciate any insight before I go too far off track. --- eric TF_grammar = r""" kwToken = (letter|digit|'_')+ uses_statement = 'uses' ws kwToken:kwT ':' :roL -> do_uses ("&

Re: parsley parsing question, how to make a variable grammar

2014-06-16 Thread Eric S. Johansson
On 6/14/2014 8:10 PM, Michael Torrie wrote: On 06/13/2014 03:05 PM, Eric S. Johansson wrote: I appreciate any insight before I go too far off track. --- eric Perhaps this is off-topic, and doesn't answer your question, but is Parsley a natural language parsing tool? If not, and if

Re: Captcha identify

2014-08-13 Thread Eric S. Johansson
On 8/12/2014 9:46 PM, Chris Angelico wrote: On Wed, Aug 13, 2014 at 11:36 AM, Wesley wrote: If my questions make you guys not so happy, I am sorry and please just ignore. I just wanna a general suggestion here in the beginning. Why I need to write such program is just having such requirements,

Re: Captcha identify

2014-08-13 Thread Eric S. Johansson
On 8/13/2014 3:27 PM, Chris Angelico wrote: I agree with you, and I don't use CAPTCHAs on any of my services, anywhere, and never have. (Partly because they *are* broken by people writing scripts, and/or by just grinding them with human solvers; but also because of the problems they cause for le

Re: Captcha identify

2014-08-14 Thread Eric S. Johansson
On 8/14/2014 2:37 PM, Peter Pearson wrote: On Wed, 13 Aug 2014 14:16:02 -0600, Ian Kelly wrote: . . . and as computers get more powerful the intersection of {problems machines can't solve} and {problems humans can reliably solve} grows ever smaller. "Which of the following eight sentences are

Re: Captcha identify

2014-08-15 Thread Eric S. Johansson
On 8/14/2014 7:19 PM, Denis McMahon wrote: On Wed, 13 Aug 2014 07:39:20 -0400, Eric S. Johansson wrote: you are clear but also missing a really good reason to break captchas. handicapped accessibility. Captchas are a huge barrier to access and in many cases push disabled users away from

need python+windows edit control help

2011-10-21 Thread Eric S. Johansson
I would really appreciate some assistance. --- eric -- http://mail.python.org/mailman/listinfo/python-list

Re: need python+windows edit control help

2011-10-21 Thread Eric S. Johansson
On 10/21/2011 10:03 PM, Mark Hammond wrote: On 22/10/2011 10:30 AM, Eric S. Johansson wrote: I'm back with yet another attempt at adding accessibility features using Python and NaturallySpeaking. I've simplified the concepts again and I really need some help from someone who knows

Re: Xah's Edu Corner: Responsible Software Licensing

2005-12-17 Thread Eric J. Roode
robic0 wrote in news:[EMAIL PROTECTED]: > On 16 Dec 2005 16:52:43 -0800, "Xah Lee" <[EMAIL PROTECTED]> wrote: > >>Responsible Software Licensing >&

bsddb3 locking questions

2005-12-31 Thread Eric S. Johansson
have access different databases, each one should have its own environment. anything else I'm missing? thanks for any guidance, ---eric -- http://mail.python.org/mailman/listinfo/python-list

Re: bsddb3 locking questions

2005-12-31 Thread Eric S. Johansson
Eric S. Johansson wrote: > are there any simple examples of how to do record locking with bsddb3? got this far with sample code from the activeware site filename = 'fruit' # Get an instance of BerkeleyDB db_env = db.DBEnv() db.set_lk_detect(db.DB_LOCK_YOUNGEST) db_env.open

Re: bsddb3 locking questions

2006-01-01 Thread Eric S. Johansson
man, I'm in really bad form replying to myself twice but I'me solved the problem at least in a simple form. Eric S. Johansson wrote: > Eric S. Johansson wrote: >> are there any simple examples of how to do record locking with bsddb3? #!/usr/bin/python f

Re: How to lock files (the easiest/best way)?

2006-07-16 Thread Eric S. Johansson
crude but effective. I used it in building a file based queue system. You know, I really should learn how to build eggs because I have a whole bunch of little pieces of software that would probably be useful to others. ---eric -- http://mail.python.org/mailman/listinfo/python-list

Re: What do you want in a new web framework?

2006-08-21 Thread Eric S. Johansson
new mic arrives and my hands stop hurting so much. my cost: this message means 30-40 min timeout for the nerves to cool off. --- eric -- http://mail.python.org/mailman/listinfo/python-list

distutils:permissions problems

2006-10-09 Thread Eric S. Johansson
ll of the directories and files are owned by root with a 700 permissions. When I run setup.py install, they are installed as root with 700 permissions. How can I alter the behavior of distutils so that my modules could be installed with a more useful user and permissions? many thanks --

Re: distutils:permissions problems

2006-10-09 Thread Eric S. Johansson
Martin v. Löwis wrote: > Eric S. Johansson schrieb: >> The problem is that, because of a quirk (or misfeature) of VM Ware >> shared filesystem, all of the directories and files are owned by root >> with a 700 permissions. When I run setup.py install, they are installe

Re: Getting a lot of SPAM from this list

2006-10-24 Thread Eric S. Johansson
me for the past three or four years. I'm almost done with the next release (I pray) with a better installation process as well as improvements throughout the system. I'll post the announcement here when things are working. ---eric -- http://mail.python.org/mailman/listinfo/python-list

distutiles extension question

2006-11-06 Thread Eric S. Johansson
s for your time. ---eric -- http://mail.python.org/mailman/listinfo/python-list

Re: [*SPAM*] Python open proxy honeypot

2006-06-13 Thread Eric S. Johansson
's worth, folks should consider using alternatives like pound (very good secure proxy) and Cherokee (my favorite). But seriously, any web server except IIS is better than Apache. Find one that works for your application and use it. ---eric -- http://mail.python.org/mailman/listinfo/python-list

question on dict subclassing and overriding __setitems__

2006-06-13 Thread Eric S. Johansson
I apologize if this is an FAQ but googling has not turned up anything, at least to my keywords. I need to parse a configuration file from an existing application and I'm treating it as a dictionary. I created my class with a parent class of dict. Everything works okay except I discover I need

Re: question on dict subclassing and overriding __setitems__

2006-06-13 Thread Eric S. Johansson
Diez B. Roggisch wrote: >dict.__setitem__(self, index.upper()) = value oh duh. > Or better even > >super(subclass, self).__setitem__(key.upper(), value) hmm. http://fuhm.net/super-harmful/ I think I need to do some more reading. ---eric -- http://mai

Re: [*SPAM*] Python open proxy honeypot

2006-06-14 Thread Eric S. Johansson
Alex Reinhart wrote: > Eric S. Johansson wrote: >> Alex Reinhart wrote: >>> Yeah, I just realized that. What would I do to act as an open proxy as >>> well? >> emulate the Apache proxy capability, especially the reverse proxy. >> >> more seriously, wha

need all python dialog equivalent

2006-06-20 Thread Eric S. Johansson
be a wrong path. I've looked at the Python dialog web site but it clearly states that it is a wrapper around dialogue/Xdialog. suggestions would be most welcome. ---eric -- http://mail.python.org/mailman/listinfo/python-list

Re: need all python dialog equivalent

2006-06-21 Thread Eric S. Johansson
[EMAIL PROTECTED] wrote: > dialog binary is 110 KB. Won't it fit ? missing library. I have ncurses and newt and dialog seems to require something called ncursesw. I've been trying to find the Python newt module as well and that seems to be as invisible as the creature it's named after. --

Re: need all python dialog equivalent

2006-06-21 Thread Eric S. Johansson
Miki wrote: > Hello Eric, > >> Is there anything like an all Python dialog equivalent floating around? > http://www.pythonware.com/library/tkinter/introduction/ I'm sorry. I should have been more explicit. I need a textbased interface such as the ones you would get with

Re: need all python dialog equivalent

2006-06-21 Thread Eric S. Johansson
Fredrik Lundh wrote: > Eric S. Johansson wrote: > http://excess.org/urwid/ ? I just found that about an hour ago. the demos work on the target system so I'm comfortable enough to go down that path. thank you all. ---eric -- http://mail.python.org/mailman/listinfo/python-list

Re: need all python dialog equivalent

2006-06-22 Thread Eric S. Johansson
Thomas Dickey wrote: > Eric S. Johansson <[EMAIL PROTECTED]> wrote: >> [EMAIL PROTECTED] wrote: >>> dialog binary is 110 KB. Won't it fit ? > >> missing library. I have ncurses and newt and dialog seems to require >> something called ncurses

Re: list comprehension

2006-06-30 Thread Eric S. Johansson
ecause you've clarified something that has been a mystery to me for awhile. now if I could find someone to explain distutils and eggs so that I understand that as well... ;-) Heck, I would even settle for a wizard tool generating the first approximation for me. ---eric -- http://mail.python.org/mailman/listinfo/python-list

building helper executables with distutils

2006-09-04 Thread Eric S. Johansson
I have a module which needs to invoke a suid helper program in order to do what it needs to do. This suid helper program needs to be built and installed at the same time as the module. Is there any way to do this with distutils? I've been looking through the documentation but haven't really f

Re: Python blogging software

2006-09-16 Thread Eric S. Johansson
your mailbox with messages telling you that you have a message instead of delivering the message itself. it would be interesting to see if one could build this capability into/out of mailman. I really hate reinventing the wheel unless the wheel is square and I need a round one. :-) ---eric -

sgid and python programs

2006-09-20 Thread Eric S. Johansson
I searched but Google still tells me as much now as it did then about Python and changing the effective group ID (i.e. not very much). Thanks for any council or advice on the matter. ---eric -- http://mail.python.org/mailman/listinfo/python-list

Re: R.S.I. solutions?

2006-09-27 Thread Eric S. Johansson
r a recumbent bicycle (under seat steering is a godsend if you like to ride in your arms hurt). Hike with somebody else who can carry a backpack for you. there are other suggestions about how our side affects you and your partner that are best left off a programming language form but have been discussed in various injured person mailing lists like sorehand. ---eric -- http://mail.python.org/mailman/listinfo/python-list

<    4   5   6   7   8   9   10   11   >