Re: [Python-Dev] Small lament...

2023-04-01 Thread Eric Fahlgren
Oh, man, it has been a while. The last one I remember is PEP 404 (if you can find it :) ), dated 2011 and it wasn't an April Fool's... On Sat, Apr 1, 2023 at 11:23 AM Skip Montanaro wrote: > Just wanted to throw this out there... I lament the loss of waking up on > April 1st to see a creative A

Re: [Scons-dev] SCons 3.1.2 Released

2019-12-21 Thread Eric Fahlgren
On Mon, Dec 16, 2019 at 7:02 PM Bill Deegan wrote: > - EXPERIMENTAL NEW FEATURE: Enable caching MSVC configuration > If SCONS_CACHE_MSVC_CONFIG shell environment variable is set, > SCons will cache the results of past calls to vcvarsall.bat to > a file; integrates with exist

Fwd: Problem installing pygame

2019-12-14 Thread Eric Gonzalez
Get Outlook for Android<https://aka.ms/ghei36> From: Eric Gonzalez Sent: Thursday, December 12, 2019 9:35:40 PM To: python-list@python.org Subject: Problem installing pygame Hello, with the above mentioned i am having some serious problems wi

Re: [python-committers] Welcome the 3.8 and 3.9 Release Manager - Łukasz Langa!

2018-01-27 Thread Eric Snow
On Sat, Jan 27, 2018 at 2:02 PM, Barry Warsaw wrote: > please welcome your next release manager… > > Łukasz Langa! Congrats, Łukasz! (or condolences? ) -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

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

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: 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: 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: 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: 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: [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: 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: Request for help

2016-07-18 Thread Eric kago
Hi Pythoners I need help in understanding hoe to put up the code to the following command - Create a constructor that takes in an integer and assigns this to a `balance` property Regards, Eric Kago +254(0)714249373 Nairobi Kenya -- https://mail.python.org/mailman/listinfo/python

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

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

windows 7 install trouble

2016-05-04 Thread Eric and Bella via Python-list
ll related, tried all combinations of firewall. here are the links to the error logs. any help would be appreciated. -eric https://docs.google.com/document/d/1V_1BrmKdCMOwXH9Lt4Zl2xlXp8wkM-sjcrteSRzkucM/pub Python 3.5.1 (32-bit)_20160503210453_000_core_JustForMe.log | |

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

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

installing python 2.7.11 + win32 on win 10

2016-01-02 Thread eric johansson
the install of the basic 2.7 seems to go ok but when installing the win32 extensions, I get: close failed in file object destructor: sys.excepthook is missing lost sys.stderr I've tried installing as administrator but no joy. what should I try next? -- https://mail.python.org/mailman/listinfo/

Re: Why Python is not both an interpreter and a compiler?

2015-09-01 Thread eric
On Tue, Sep 1, 2015 at 12:20 PM, Marko Rauhamaa wrote: Steven D'Aprano : I believe that Marko is wrong. It is not so easy to compile Python to machine language for real machines. That's why the compiler targets a virtual machine instead. Somehow Guile manages it even though Scheme is

Re: problem with selecting remote procedure calls

2015-07-24 Thread eric johansson
- Original Message - From: "Irmen de Jong" Eric, if you're concerned about performance, Pyro4 (the source distribution) comes with several examples that do simple performance related tests. You could run these and see what figures you get on your setup to see i

problem with selecting remote procedure calls

2015-07-22 Thread eric johansson
it needs to be relatively light because execution time does have an influence on recognition accuracy and speed. thanks in advance --- eric -- https://mail.python.org/mailman/listinfo/python-list

Reference Counting Irregularity

2015-06-25 Thread Eric Edmond
ence count increases by 2. This could very well be by design of the DataFrame object doing some internal caching of the string, but does not appear in the documentation, so I thought I would bring up the issue. Thanks, Eric Edmond University of Michigan | Class of 2016 -- https://mail.python.o

Built-in Python3 web server functionality - wsgiref & http.server

2015-06-07 Thread Eric
I am trying to better understand the built-in python3 web server functionality and have just started reading the documentation. There seem to be two options provided by Python 3. 1. wsgiref https://docs.python.org/3/library/wsgiref.html 2. http.server https://docs.python.org/3/library/http.ser

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

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: '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: 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: 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: 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&#

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

Ftplib.FTP_TLS Ports

2014-12-09 Thread Eric
27;) session.storbinary('STOR Bkup.tar.gz', file) file.close() session.quit() Thanks! Eric -- https://mail.python.org/mailman/listinfo/python-list

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

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

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

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

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

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

Re: running python 2 vs 3

2014-03-20 Thread Eric Jacoboni
Le 20/03/2014 16:21, Marko Rauhamaa a écrit : > All tutorials will tell you to start it with > >#!/usr/bin/env python > > which will start python2 on all (?) existing linux distros, but is > expected to start python3 within the next decade. With Arch-Linux, python is python3... -- https:

Re: Tuples and immutability

2014-03-02 Thread Eric Jacoboni
Le 02/03/2014 15:05, Mark Lawrence a écrit : > The behaviour is consistent except when you try to modify a tuple. > Not in my opinion... li = [10, 30] li = li + "spam" --> TypeError: can only concatenate list (not "str") li += "spam" --> Ok So, not, that's not what i call consistent.

Re: Tuples and immutability

2014-03-02 Thread Eric Jacoboni
Le 02/03/2014 13:32, Ian Kelly a écrit : > On Sat, Mar 1, 2014 at 7:04 PM, Eric Jacoboni wrote: >> In fact, i think i'm gonna forget += on lists :) > > Well, do what you want, but I think you're taking the wrong lesson > from this. Don't forget about using += o

Re: Tuples and immutability

2014-03-01 Thread Eric Jacoboni
Le 01/03/2014 22:21, Mark H. Harris a écrit : > The point I'm trying to make with this post is that s[2]+=[46] and > s[2]=s[2]+[46] are handled inconsistently. For my own, the fact that, in Python, a_liste += e_elt gives a different result than a_list = a_list + e_elt is a big source of trou

Re: Tuples and immutability

2014-02-28 Thread Eric Jacoboni
Le 01/03/2014 01:22, Mark H. Harris a écrit : > I'll address the second first by asking a question... should an immutable > type (object) be able to hold (contain) mutable objects ... should tuples be > allowed to hold lists? > > lists within a tuple should be converted to tuples.If you w

Re: Tuples and immutability

2014-02-27 Thread Eric Jacoboni
Le 27/02/2014 17:13, Zachary Ware a écrit : > > You're not the first person to have this question :) > > http://docs.python.org/3/faq/programming.html#why-does-a-tuple-i-item-raise-an-exception-when-the-addition-works > Oh yes, i was aware of this explanation (thanks to Chris for his answer, too

Tuples and immutability

2014-02-27 Thread Eric Jacoboni
Hi, I'm using Python 3.3 and i have a problem for which i've still not found any reasonable explanation... >>> a_tuple = ("spam", [10, 30], "eggs") >>> a_tuple[1] += [20] Traceback (most recent call last): File "", line 1, in TypeError: 'tuple' object does not support item assignment Ok... I

Python3, __slots__ and serialization

2014-02-08 Thread Eric Jacoboni
Hi, Say i want create a class with a __slots__ tuple in order to prevent creation of new attributes from outside the class. Say i want to serialize instances of this class... With pickle, all is ok : i can dump an object to a file, then reload it. With PyYAML, i can dump an object to a file, but

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, cstru...@gmail.com 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

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="""

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

Matplotlib. co-ordinates for scatter plot are off

2013-11-26 Thread eric . garlic
Hi, I have been following a very good online tutorial for matplotlib: http://www.loria.fr/~rougier/teaching/matplotlib/#introduction However, when I try to annotate the point where the cosine/sine graphs cross the scatter graph misses the point where it crosses the axes; green and pink colou

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

Re: Passing C pionters to Python for use with cffi

2013-10-18 Thread Eric Frederich
r to Python so that cffi can cast and use it. On Fri, Oct 11, 2013 at 2:09 AM, dieter wrote: > Eric Frederich writes: > > > I'm extending an application that supports customization using the C > > language. > > I am able to write standalone python applications that

Passing C pionters to Python for use with cffi

2013-10-10 Thread Eric Frederich
uot;(k)", &some_structure); PyObject_CallObject(pFunc, pArgs) ... and from the Python side... def my_function(struct_ptr): struct = ffi.cast("mystruct_t *", struct_ptr) Like I said, this works fine. I am able to manipulate the structure from within Python. I just want to know the corr

Re: embedding interactive python interpreter

2013-09-11 Thread Eric Frederich
he boolean. The client, which happens to be Java/Eclipse based, then has something that resembles a Python console in the GUI and uses that single service to interact with the remote Python console. Lots of stuff going on but it works very well. On Wed, Sep 11, 2013 at 1:42 PM, Scott wrote: > Eri

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

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

python sockets question

2013-05-15 Thread Eric Miller
Can python sockets be used to capture IP traffic when the traffic is originating from a non-python source? Using a Lantronix UDS-1100 serial to IP converter. The goal is to write a small proof of concept piece in Python to capture serial data output by this device over IP. I've done a couple t

Re: distributing a binary package

2013-05-07 Thread Eric Frederich
I see where I can specify a module that distutils will try to compile. I already have the .so files compiled. I'm sure its simple, I just can't find it or don't know what to look for. On Mon, May 6, 2013 at 9:13 PM, Miki Tebeka wrote: > >> Basically, I'd like to know how to create a proper setup

distributing a binary package

2013-05-06 Thread Eric Frederich
the work. It produces a directory that simply needs to be copied to site-packages but how do I craft a setup.py script to do the actually installation? Thanks, ~Eric -- http://mail.python.org/mailman/listinfo/python-list

Re: [Python-Help] learning python

2013-05-05 Thread Eric Brunson
On 05/05/2013 10:08 AM, leonardo selmi wrote: hi guys i need to find a good book to learn python with exercises and solutions, any suggestions? thanks! Leonardo, There are several good online tutorials available, many listed here: http://wiki.python.org/moin/BeginnersGuide There is al

Python platform/framework for new RESTful web app

2013-04-25 Thread Eric Frederich
there is a Django REST framework. Is this a good framework? Are there good Google and Facebook authentication extensions? Thanks, ~Eric -- http://mail.python.org/mailman/listinfo/python-list

Re: Sudoku

2013-03-31 Thread Eric Parry
Sorry. Won't happen again. signing off this topic. Eric. -- http://mail.python.org/mailman/listinfo/python-list

Re: Sudoku

2013-03-31 Thread Eric Parry
On Monday, April 1, 2013 8:33:47 AM UTC+10:30, Eric Parry wrote: > On Sunday, March 31, 2013 9:45:36 AM UTC+10:30, Dave Angel wrote: > > > On 03/30/2013 06:06 PM, Eric Parry wrote: > > > > > > > On Saturday, March 30, 2013 8:41:08 AM UTC+10:30, Dave Angel wrote

Re: Sudoku

2013-03-31 Thread Eric Parry
On Sunday, March 31, 2013 9:45:36 AM UTC+10:30, Dave Angel wrote: > On 03/30/2013 06:06 PM, Eric Parry wrote: > > > On Saturday, March 30, 2013 8:41:08 AM UTC+10:30, Dave Angel wrote: > > >> On 03/29/2013 05:47 PM, Eric Parry wrote: > > >> > > >&

Re: Sudoku

2013-03-30 Thread Eric Parry
On Saturday, March 30, 2013 8:41:08 AM UTC+10:30, Dave Angel wrote: > On 03/29/2013 05:47 PM, Eric Parry wrote: > > > > > >> > > >> > > > That explains why the program keeps running after a solution is found. > > > > A recursive

Re: Sudoku

2013-03-29 Thread Eric Parry
On Friday, March 29, 2013 9:15:36 AM UTC+10:30, Chris Angelico wrote: > On Fri, Mar 29, 2013 at 9:11 AM, Eric Parry wrote: > > > Thank you for that explanation. > > > No, I do not understand recursion. It is missing from my Python manual. I > > would be pleased to

Re: Sudoku

2013-03-28 Thread Eric Parry
On Friday, March 29, 2013 9:58:27 AM UTC+10:30, Dave Angel wrote: > On 03/28/2013 06:11 PM, Eric Parry wrote: > > > On Thursday, March 28, 2013 3:06:02 PM UTC+10:30, Dave Angel wrote: > > > > > > > > >> > > >> > > >

Re: Sudoku

2013-03-28 Thread Eric Parry
On Thursday, March 28, 2013 3:06:02 PM UTC+10:30, Dave Angel wrote: > On 03/27/2013 11:00 PM, Eric Parry wrote: > > > On Wednesday, March 27, 2013 6:28:01 PM UTC+10:30, Ulrich Eckhardt wrote: > > >> > > > http://wiki.python.org/moin/GoogleGroupsPython &

Re: Sudoku

2013-03-27 Thread Eric Parry
On Wednesday, March 27, 2013 6:28:01 PM UTC+10:30, Ulrich Eckhardt wrote: > Am 27.03.2013 06:44, schrieb Eric Parry: > > > I downloaded the following program from somewhere using a link from > > > Wikipedia and inserted the “most difficult Sudoku puzzle ever” string > &g

Re: Sudoku

2013-03-27 Thread Eric Parry
Thank you all for your help and suggestions. Eric -- http://mail.python.org/mailman/listinfo/python-list

Sudoku

2013-03-26 Thread Eric Parry
at random. Can anyone explain how it works in simple terms? Eric. def same_row(i,j): return (i/9 == j/9) def same_col(i,j): return (i-j) % 9 == 0 def same_block(i,j): return (i/27 == j/27 and i%9/3 == j%9/3) def r(a): i = a.find('0') if i == -1: print a exit(a) exclud

Re: simple GUI environment

2013-03-05 Thread Eric Johansson
On 3/5/2013 6:18 PM, Gregory Ewing wrote: Eric Johansson wrote: the only thing that would make it better is if either of these kits used standard Rich text edit controls under Windows so I can speech enable these applications. PyGUI's TextEditor is based on the rich edit control in Wi

Re: collaborative editing environments

2013-03-05 Thread Eric Johansson
On 3/5/2013 1:38 PM, Dave Angel wrote: On 03/05/2013 12:56 PM, Eric Johansson wrote: I finally have an intern helping me with my various accessibility projects. We need to do pair programming so he can write the code in my head that I can't express by broken hand or speech recognition

collaborative editing environments

2013-03-05 Thread Eric Johansson
I finally have an intern helping me with my various accessibility projects. We need to do pair programming so he can write the code in my head that I can't express by broken hand or speech recognition (yet). The best technique with come up with so far is to use putty sessions with the same lay

Re: simple GUI environment

2013-03-05 Thread Eric Johansson
On 3/5/2013 10:06 AM, Tim Golden wrote: On 05/03/2013 14:55, Kevin Walzer wrote: On 3/5/13 9:20 AM, Eric Johansson wrote: The main reason I discount both of those is that they are effectively dead as I can see. Last updates in the 2010/2011 range. Why not give EasyGUI a try? or PyGUI

simple GUI environment

2013-03-05 Thread Eric Johansson
I need a simple GUI toolkits like easygui pythoncard. The main reason I discount both of those is that they are effectively dead as I can see. Last updates in the 2010/2011 range. Has there been some toolkit to replace them? And no, the existing wxpython/gtk/qt/... toolkits really aren't accept

Re: problem with web browser module

2012-12-16 Thread Eric Johansson
On Saturday, December 15, 2012 9:14:25 PM, Terry Reedy wrote: I believe this worked with Firefox the last time I tested. I just read the docs. Never tried IE. I believe details partly depend on browser. thank you Terry. I will try with Firefox but the main reason I'm using IE is simply becau

problem with web browser module

2012-12-15 Thread Eric Johansson
arate tabs within the same browser instance.:-) A clue or two would be welcome. Thanks --- eric -- http://mail.python.org/mailman/listinfo/python-list

empty object from C

2012-12-07 Thread Eric Frederich
class Msg(object): pass ... and then instantiate an instance, and call the function. msg = Msg() foo(msg) I know how to create an empty dictionary and I get get by with that, but I'd like to create an object. Thanks, ~Eric -- http://mail.python.org/mailman/listinfo/python-list

Re: error importing smtplib

2012-11-19 Thread Eric Frederich
I can do this in stand alone programs because my code does the import and calls the login function so I can control the order of things. Unfortunately stand alone programs are not the only ways in which I am using these Python bindings. You can customize and extend this 3rd party application at va

Re: error importing smtplib

2012-11-16 Thread Eric Frederich
n I try to import smtplib it tries getting things from there and that is where the errors are coming from. The question now is how do I fix this? On Thu, Nov 15, 2012 at 4:37 PM, Terry Reedy wrote: > On 11/15/2012 1:48 PM, Eric Frederich wrote: > >> Thanks for the idea. >>

Re: error importing smtplib

2012-11-15 Thread Eric Frederich
only get these errors/warnings on one environment out of 10 or so development and qa machines. Any help trying to figure out what is different before and after the login would be appreciated. Is there some place in /proc I could look to see what happened? Thanks, ~Eric On Thu, Nov 15, 2012 at

Re: error importing smtplib

2012-11-15 Thread Eric Frederich
Thanks for the idea. sys.path was the same before and after the login What else should I be checking? On Thu, Nov 15, 2012 at 11:57 AM, Terry Reedy wrote: > On 11/15/2012 9:38 AM, Eric Frederich wrote: > >> Hello, >> >> I created some bindings to a 3rd party library. &

error importing smtplib

2012-11-15 Thread Eric Frederich
Hello, I created some bindings to a 3rd party library. I have found that when I run Python and import smtplib it works fine. If I first log into the 3rd party application using my bindings however I get a bunch of errors. What do you think this 3rd party login could be doing that would affect the

Re: remote read eval print loop

2012-08-21 Thread Eric Frederich
= MyInteractiveConsole() On Fri, Aug 17, 2012 at 10:06 AM, Chris Angelico wrote: > On Fri, Aug 17, 2012 at 11:28 PM, Eric Frederich > wrote: > > Within the debugging console, after importing all of the bindings, there > > would be no reason to import anything whatso

  1   2   3   4   5   6   7   8   9   10   >