Re: Namespace question

2007-10-31 Thread Chris M
On Oct 31, 10:06 am, Frank Aune <[EMAIL PROTECTED]> wrote: > Hello, > > Is it possible writing custom modules named the same as modules in the > standard library, which in turn use the same module from the standard > library? > > Say I want my application to have a random.py module, which in turn m

Re: Some "pythonic" suggestions for Python

2007-11-09 Thread Chris M
Multi-return value lambda? Just so you know, there is no concept of returning more than one value from a function. def a(): return 1, 2 returns one value - a tuple of (1, 2). lambda: (1, 2) does the same thing. -- http://mail.python.org/mailman/listinfo/python-list

Re: Interfaces.

2007-11-15 Thread Chris M
On Nov 15, 8:55 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi, > > Does anyone know what the state of progress with interfaces for python > (last I can see ishttp://www.python.org/dev/peps/pep-0245/) > > I would argue that interfaces/(similar feature) are necessary in any > modern languag

Re: Interfaces.

2007-11-16 Thread Chris M
On Nov 16, 12:26 am, James Stroud <[EMAIL PROTECTED]> wrote: > Chris M wrote: > > On Nov 15, 8:55 pm, "[EMAIL PROTECTED]" > > <[EMAIL PROTECTED]> wrote: > >> Hi, > > >> Does anyone know what the state of progress with interfaces for python

Re: auto-increment operator - why no syntax error?

2007-12-08 Thread Chris M
On Dec 8, 7:58 pm, Karthik Gurusamy <[EMAIL PROTECTED]> wrote: > I see python doesn't have ++ or -- operators unlike say, C. > I read some reasonings talking about immutable scalars and using ++/-- > doesn't make much sense in python (not sure if ++i is that far-fetched > compared to the allowed i

Re: Is a "real" C-Python possible?

2007-12-09 Thread Chris M
On Dec 9, 10:04 pm, Paul McGuire <[EMAIL PROTECTED]> wrote: > On Dec 9, 6:07 pm, "Jack" <[EMAIL PROTECTED]> wrote: > > > Plus, Psyco is not the > > main stream and has stopped development. > > > > What makes you think it has stopped development? I just swung by the > SF project page, and its most

Re: Why this apparent assymetry in set operations?

2008-01-15 Thread Chris M
On Jan 15, 11:51 am, "Neil Cerutti" <[EMAIL PROTECTED]> wrote: > > So this is a bug in set_update or in set_ior. They can't both be > right. > It's not a bug. "Note, the non-operator versions of union(), intersection(), difference(), and symmetric_difference(), issubset(), and issuperset() method

Python & Sybase

2011-04-13 Thread Chris M. Bartos
Hi, Are there any database drivers that allows Python to connect to remote Sybase Databases. I tried python-sybase, but somehow couldn't get it to connect remotely, only locally...? Thanks for your help, -- Christopher M. Bartos bartos...@osu.edu 330-324-0018 Systems Developer Arabidopsis B

Cartoonify Myself

2011-05-17 Thread Chris M. Bartos
Hi, Is there a Python module that can "cartoonify" a picture of myself? There's got to be an algorithm out there somewhere, right? If there is a way to cartoon a single picture, could you cartoonify a video, too? Thanks for your help. Chris -- Christopher M. Bartos bartos...@osu.edu 330-32

Re: wordplay

2023-05-30 Thread Chris M. Thomasson
On 5/26/2023 12:13 AM, David Dalton wrote: cODINg :-) Play with the Chaos PP lib... ;^) -- https://mail.python.org/mailman/listinfo/python-list

Re: neonumeric - C++ arbitrary precision arithmetic library

2021-03-06 Thread Chris M. Thomasson
On 3/6/2021 11:35 AM, Mr Flibble wrote: On 06/03/2021 19:11, Bonita Montero wrote: There is no projection. _You_ have megalomania, not me. And there's also no Dunning Kruger effect. You can't assess your capabilites, not me. no u Someone who says that he is capable of writing a compiler tha

Re: neonumeric - C++ arbitrary precision arithmetic library

2021-03-06 Thread Chris M. Thomasson
On 3/5/2021 8:51 AM, Mr Flibble wrote: neonumeric - C++ arbitrary precision arithmetic library with arbitrary precision integers, floats and rationals: https://github.com/i42output/neonumeric It hasn't been formally released yet as it still requires more extensive testing.  It will be used as