lkcl wrote:
> * in neither gtk nor qt does there exist an "auto-layout" widget
> that's equivalent to putting some DOM objects into a ,
> to "flow" widgets that wrap around. yes, you can put words into a
> Label and get them to flow, but not _widgets_.
I'm pretty sure in PyQt4 that you can der
At first I wanted to response in the style of 'karma is a bitch' or
'what goes around comes around' but then I considered that won't be
helping much, so I only did at first in a meta sort of way, sorry for that.
The thing is that sometimes for no good or appealing reasons, which I
personally t
Victor Subervi wrote:
DaveA suggested I not use the same name for my fn. as I do for my var;
however, there is a difference in capitalization, and I'm trying to
standardize this way. It makes it easy to recognize the difference (caps)
and easy to recognize which vars go with which fns.
Th
On Jun 13, 3:34 am, Gregory Ewing wrote:
> lkcl wrote:
> > * in neither gtk nor qt does there exist an "auto-layout" widget
> > that's equivalent to putting some DOM objects into a ,
> > to "flow" widgets that wrap around.
>
> You essentially seem to be complaining here that pqyqt and
> pygtk ar
On Jun 13, 9:01 am, Jeremy Sanders wrote:
> lkcl wrote:
> > * in neither gtk nor qt does there exist an "auto-layout" widget
> > that's equivalent to putting some DOM objects into a ,
> > to "flow" widgets that wrap around. yes, you can put words into a
> > Label and get them to flow, but not _
You want to contribute to the stdlib? No problem, it's easy! I did so
recently. You file an issue on the python.org bug tracker, describing
the problem, and attach a patch that fixes it. A nice developer with
commit rights will be with you shortly. The guy that committed my tiny
little patch the ot
Phlip, 06.06.2010 19:12:
Here's xmlrunner.py:
http://www.rittau.org/python/xmlrunner.py
you attach it to your developer tests, and it emits a file called
"TEST-unittest.TestSuite.xml", containing auspicious wackiness like
this:
Bump? Anyone reporting on their unit tests here?
bfrederi, 03.06.2010 22:44:
I am using lxml iterparse and running into a very obscure error. When
I run iterparse on a file, it will occasionally return an element that
has a element.text == None when the element clearly has text in it.
I assume you are referring to the 'start' event here, righ
Monte Milanuk wrote:
> I realized today that one thing I have never seen covered in any Python
> tutorial is how to format and print things to a physical printer. I did
> a little bit of searching and didn't come up with much... either I'm
> really not using the right search terms, or physical pr
Hi,
can anyone give me a hint how to mark a built-in module as deprecated?
So mark via warnings... I create a module with Py_InitModule4.
Thanks in advance!!
Bye, moerchendiser2k3
--
http://mail.python.org/mailman/listinfo/python-list
Thomas Jollans writes:
> Also, I'm sick of reading "a modest proposal" in hundreds of subject lines.
OK, how about a modest proposal in the body? Please do not top post. Or
at least don't quote a very, very long article. Thank you.
--
John Bokma
On 06/13/2010 03:54 PM, moerchendiser2k3 wrote:
> Hi,
>
> can anyone give me a hint how to mark a built-in module as deprecated?
> So mark via warnings... I create a module with Py_InitModule4.
How are modules ever marked as deprecated? I think all there is to it is
issuing a DeprecationWarning..
Monte Milanuk wrote:
> Hello,
>
> I'm still a relative newbie to python, so I apologize if this is covered
> in detail somewhere and I missed it.
>
> I have a program or two that I want to work on once I get more
> proficient with python and sqlite and tkinter/wxpython. One of the big
> 'featur
On 6/13/10 4:29 AM, lkcl wrote:
> it's in fact how the entire pyjamas UI widget set is created, by
> doing nothing more than direct manipulation of bits of DOM and direct
> manipulation of the style properties. really really simple.
Did you just call DOM manipulation simple with a straight face?
On 6/12/10 12:50 PM, Dennis Lee Bieber wrote:
> On Sat, 12 Jun 2010 14:42:27 -0400, Victor Subervi
> declaimed the following in
> gmane.comp.python.general:
>
>>
>> Interestingly,
>> ls -al
>> reveals *no* *.pyc files.
>>
> Which would seem to indicate that you have no user modules that are
Monte Milanuk wrote:
Hello,
I'm still a relative newbie to python, so I apologize if this is covered
in detail somewhere and I missed it.
I have a program or two that I want to work on once I get more
proficient with python and sqlite and tkinter/wxpython. One of the big
'features' of thos
On 06/13/2010 05:29 AM, lkcl wrote:
> really? drat. i could have done with knowing that at the time.
> hmmm, perhaps i will return to the pyqt4 port after all.
We're now wandering well off-topic here, but then again this thread was
never really on any particular topic.
I have to say I'm really
On Jun 13, 5:04 am, "Martin P. Hellwig"
wrote:
> So I would propose that, instead of beating up a dead horse (I try to
> write from your point of view) you fork the project, call it Rython (or
> whatever you fancy) and create the community you want by patching up the
> language to your standards.
lkcl schrieb:
[snip]
it's the exact same thing for SVG image file-format. i'm
_definitely_ not convinced that "SVG the image fileformat" is The One
True Way to design images - but i'm equally definitely convinced of
the power of SVG manipulation libraries which allow for the creation
SVG image
On Jun 13, 1:50 am, Stephen Hansen wrote:
> You don't argue a position; you don't support it with facts, logic,
> reason. You start immediately into this emotional rhetoric,
> pseudo-inspirational nonsense which just comes off as inane. It's like a
> bad cross between a politician and an self-hel
Steven D'Aprano wrote:
> No, I think your code is very simple. You can save a few lines by writing
> it like this:
>
> s = input('enter two numbers: ')
> t = s.split()
> print(int(t[0]) + int(t[1])) # no need for temporary variables a and b
Not that we're playing a round of code golf here, but t
On Jun 13, 4:09 am, rantingrick wrote:
> Where is the community?
In Birmingham from 17th to 22nd of July:
http://www.europython.eu/talks/timetable/
(Couldn't resist - one good troll deserves another)
--
http://mail.python.org/mailman/listinfo/python-list
In article <83dddac7-7a3a-4dee-9944-ee2f0ec72...@u20g2000pru.googlegroups.com>,
alex23 wrote:
>Tycho Andersen wrote:
>>
>> I think his point may have been that there could be more than one
>> meaning. My first guess would have been binary decision diagram.
>
>Ah, good point. My apologies for the
On 6/13/10 8:00 AM, Joel Goldstick wrote:
Why not go the other direction. Use python to do your processing, and
send the results to excel. There are python modules that read and write
excel files.
Well... partly because Excel is not exactly cross-platform. Granted,
the mass majority of peopl
In article , WH wrote:
>
>'x' in getattr() should be a reference to the "__main__" module, right?
>How to get it?
Just for the record, the best way to get a reference to __main__ is to
import it:
import __main__
--
Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/
In article <0912f443-e83a-4436-80db-b1cb915d5...@r27g2000yqb.googlegroups.com>,
Zeth wrote:
>On Jun 13, 4:09=A0am, rantingrick wrote:
>>
>> Where is the community?
>
>In Birmingham from 17th to 22nd of July:
>http://www.europython.eu/talks/timetable/
>
>(Couldn't resist - one good troll deserves
On 04:25 pm, wuwe...@gmail.com wrote:
Steven D'Aprano wrote:
No, I think your code is very simple. You can save a few lines by
writing
it like this:
s = input('enter two numbers: ')
t = s.split()
print(int(t[0]) + int(t[1])) # no need for temporary variables a and
b
Not that we're playing
In article ,
geremy condra wrote:
>
>Bug filed, http://bugs.python.org/issue8986.
Please don't put extraneous punctuation on URLs. That period is a valid
URL character, but it's invalid for this URL, and it's not obvious to the
reader whether the period should be part of the URL. URLs in gener
On 6/12/2010 11:42 PM, Gregory Ewing wrote:
Seriously, though, if you can't trust someone to write safe
ctypes-using code, can you trust them to write safe C code any
better?
No, and I think you are missing the concern about ctypes. There are two
issues of ctypes versus safety/security: compe
In article ,
lkcl wrote:
>
> i'm recording all of these, and any other web browser manipulation
>technology that i've ever encountered, here:
>
> http://wiki.python.org/moin/WebBrowserProgramming
Neat! Why aren't you including Selenium/Windmill?
--
Aahz (a...@pythoncraft.com) <*>
On Jun 13, 3:52 pm, Arndt Roger Schneider
wrote:
> lkcl schrieb:
>
> > [snip]
>
> > it's the exact same thing for SVG image file-format. i'm
> >_definitely_ not convinced that "SVG the image fileformat" is The One
> >True Way to design images - but i'm equally definitely convinced of
> >the power
On 6/13/2010 7:40 AM, Thomas Jollans wrote:
You want to contribute to the stdlib? No problem, it's easy! I did so
recently. You file an issue on the python.org bug tracker, describing
the problem, and attach a patch that fixes it. A nice developer with
commit rights will be with you shortly.
Th
Hi,
I'm writing some buffer-centric number-crunching routines in C for
Python code that uses array.array objects for storing/manipulating data.
I would like to:
1. allocate a buffer of a certain size
2. fill it
3. return it as an array.
I can't see any obvious way to do this with the array modul
On 6/13/10 9:14 AM, rantingrick wrote:
> On Jun 13, 1:50 am, Stephen Hansen wrote:
>
>> You don't argue a position; you don't support it with facts, logic,
>> reason. You start immediately into this emotional rhetoric,
>> pseudo-inspirational nonsense which just comes off as inane. It's like a
>>
On 6/13/2010 7:20 AM, lkcl wrote:
I'm far from convinced that HTML and CSS are the One True Way
to design GUIs these days,
if you have "HTML the fileformat" and "CSS the fileformat" in mind
when saying that, i can tell you right now that they're not.
fortunately, with the W3C DOM functions e
On 6/13/10 8:42 AM, rantingrick wrote:
> However, if the ivory towers continue to pretend that the rest
> of the Python community does not exist well then they will force my
> hand, and i will start a fork. Then we will have a sort of ironic
> situation... the very people who rail *against* me (and
On 6/13/10 10:15 AM, Thomas Jollans wrote:
> Hi,
>
> I'm writing some buffer-centric number-crunching routines in C for
> Python code that uses array.array objects for storing/manipulating data.
> I would like to:
Take this with a grain of salt: I am *not* a C programmer, and my usage
of the Pyt
Monte Milanuk wrote:
> On 6/13/10 8:00 AM, Joel Goldstick wrote:
>
> > Why not go the other direction. Use python to do your processing,
> > and
> > send the results to excel. There are python modules that read and
> > write
> > excel files.
>
> Well... partly because Excel is not exactly cross-
On 6/13/2010 12:14 PM, rantingrick wrote:
I have documented time and again the poor state of IDLE. The only
responses i ever get are...
"Nobody uses IDLE"
"Only a dumbass would use IDLE"
"I have never used IDLE but i *know* nothing is wrong with it"
Perhaps you are listening selectively
On Sun, 13 Jun 2010 08:42:57 -0700, rantingrick wrote:
> i will start a fork.
That is the most sensible thing you have said yet. Please do so, it will
be a great thing for the Python community.
--
Steven
--
http://mail.python.org/mailman/listinfo/python-list
Here's the thing. Python has one of the nicest communities of most
software projects (except maybe ubuntu), try Perl or C. Unless you
completely know what you're talking about, have spent atleast 1/2 an
hour researching your problem, those guys will refrain from helping.
On Sun, Jun 13, 2010 at 1:
On 6/13/10 10:23 AM, Diez B. Roggisch wrote:
However, the overall problem here is that printer APIs are very
different between os and they aren't abstracted in python to some common
module. They need access to GUI libraries which python doesn't expose
out of the box.
I know the usual response
Monte Milanuk writes:
> Hello,
>
> I'm still a relative newbie to python, so I apologize if this is
> covered in detail somewhere and I missed it.
>
> I have a program or two that I want to work on once I get more
> proficient with python and sqlite and tkinter/wxpython. One of the
> big 'featur
Does anyone know how to handle TIFF images in Python?
The pylab support uses PIL, and using either pylab or PIL directly,
it messes up the colour scheme. It may look as if it loads CMY believing
that it is RGB, but I am not absolutely sure.
I have no problem handling Microsoft BMP colour images
On 12/06/2010 14:44, lkcl wrote:
On Jun 6, 10:49 pm, Kevin Walzer wrote:
- Pythonic
- The default GUI (so it replaces Tkinter)
- It has the support of the majority of the Python community
- Simple and obvious to use for simple things
- Comprehensive, for complicated things
- Cross-platform
- Lo
On Sun, Jun 13, 2010 at 1:57 PM, Steven D'Aprano
wrote:
> On Sun, 13 Jun 2010 08:42:57 -0700, rantingrick wrote:
>
>> i will start a fork.
>
> That is the most sensible thing you have said yet. Please do so, it will
> be a great thing for the Python community.
Eagerly awaiting the transfer of thi
Monte Milanuk wrote:
Hello,
I'm still a relative newbie to python, so I apologize if this is covered
in detail somewhere and I missed it.
I have a program or two that I want to work on once I get more
proficient with python and sqlite and tkinter/wxpython. One of the big
'features' of thos
On 6/13/10 11:12 AM, Anssi Saari wrote:
I actually looked into label printers recently. It seems that at least
the cheaper models from Brother and Dymo accept a bitmap in specific
dimensions and they print it pixel exactly. Very simple, in other
words. But different printers need different forma
Thomas Jollans, 13.06.2010 19:15:
I'm writing some buffer-centric number-crunching routines in C for
Python code that uses array.array objects for storing/manipulating data.
I would like to:
1. allocate a buffer of a certain size
2. fill it
3. return it as an array.
Take a look at a) NumPy and
On 6/13/10 11:41 AM, Stefan Behnel wrote:
> Take a look at a) NumPy and b) Cython. You can also use Cython with the
> array module, but NumPy is a much more common way to deal with "number
> crunching routines", especially multi-dimentional arrays.
Does Cython support Py3k yet? The OP seemed to be
On 13/06/2010 18:24, Stephen Hansen wrote:
On 6/13/10 8:42 AM, rantingrick wrote:
[big snip]
Stephen, you've tried as have others with this troll, but you're wasting
your time. As I said a day or two back by paraphrasing Tommy Docherty,
Ranting Rick is to Python what King Herod was to baby
Stephen Hansen, 13.06.2010 21:05:
On 6/13/10 11:41 AM, Stefan Behnel wrote:
Take a look at a) NumPy and b) Cython. You can also use Cython with the
array module, but NumPy is a much more common way to deal with "number
crunching routines", especially multi-dimentional arrays.
Does Cython suppo
On 6/13/10 11:30 AM, Joel Goldstick wrote:
Use django or another web framework, and make your application a web
app. With this approach you can display output to a web page, and
create a print stylesheet that can be finely tuned to print.
This ups your work to get involved with a web framework,
On Jun 13, 1:13 pm, Monte Milanuk wrote:
> On 6/13/10 10:23 AM, Diez B. Roggisch wrote:
>
> > However, the overall problem here is that printer APIs are very
> > different between os and they aren't abstracted in python to some common
> > module. They need access to GUI libraries which python does
On 6/13/10 12:08 PM, Mark Lawrence wrote:
> On 13/06/2010 18:24, Stephen Hansen wrote:
>> On 6/13/10 8:42 AM, rantingrick wrote:
>
> [big snip]
>
> Stephen, you've tried as have others with this troll, but you're wasting
> your time.
Realistically, I know. However, http://xkcd.com/386/ currently
On Sun, Jun 13, 2010 at 12:25 PM, Monte Milanuk wrote:
> On 6/13/10 11:30 AM, Joel Goldstick wrote:
>>
>> Use django or another web framework, and make your application a web
>> app. With this approach you can display output to a web page, and
>> create a print stylesheet that can be finely tuned
On Jun 13, 12:56 am, geremy condra wrote:
> On Sat, Jun 12, 2010 at 4:40 PM, Robert Kern wrote:
> > On 2010-06-12 17:49 , geremy condra wrote:
>
> >> In Python3.2, calling math.erfc with a value in [-27.2, -30) raises
> >> an OverflowError: math range error. This is inconsistent with the
> >> erf
* Steven D'Aprano, on 13.06.2010 19:57:
On Sun, 13 Jun 2010 08:42:57 -0700, rantingrick wrote:
i will start a fork.
That is the most sensible thing you have said yet. Please do so, it will
be a great thing for the Python community.
Not nice to quote out of context, there was an "if" and a "
On 2010-06-13 14:17 , Stefan Behnel wrote:
Stephen Hansen, 13.06.2010 21:05:
On 6/13/10 11:41 AM, Stefan Behnel wrote:
Take a look at a) NumPy and b) Cython. You can also use Cython with the
array module, but NumPy is a much more common way to deal with "number
crunching routines", especially m
I am looking for Python OpenSSL library, for Python version 2.5.4 (on
Windows)
Which does not require to install Cygwin package. Need just to decrypt file,
then uninstall library.
--
http://mail.python.org/mailman/listinfo/python-list
On Jun 13, 6:15 pm, Thomas Jollans wrote:
> Hi,
>
> I'm writing some buffer-centric number-crunching routines in C for
> Python code that uses array.array objects for storing/manipulating data.
> I would like to:
>
> 1. allocate a buffer of a certain size
> 2. fill it
> 3. return it as an array.
>
I know Python is growing in popularity and some of Palms devices
already let you run Python apps in a VM environment. I'm wondering if
anyone knows (or can make an educated guess) if there are any plans
for Python to come to the Android environment? I'm not talking
backend stuff here but full fro
On Jun 13, 5:46 pm, exar...@twistedmatrix.com wrote:
> On 04:25 pm, wuwe...@gmail.com wrote:
>
>
>
>
>
> >Steven D'Aprano wrote:
> >>No, I think your code is very simple. You can save a few lines by
> >>writing
> >>it like this:
>
> >>s = input('enter two numbers: ')
> >>t = s.split()
> >>print(in
On Sun, Jun 13, 2010 at 4:29 PM, astral
wrote:
> I am looking for Python OpenSSL library, for Python version 2.5.4 (on
> Windows)
> Which does not require to install Cygwin package. Need just to decrypt file,
> then uninstall library.
You might want to take a look at m2crypto[0]. While I have not
On Jun 12, 9:02 pm, "Antti \"Andy\" Ylikoski"
wrote:
> 12.6.2010 22:54, Pascal J. Bourguignon kirjoitti:
>
> > bolega writes:
>
> >>> [PAIP]
>
> >> Is there anything in this old norvig book that makes it worth
> >> pursuing as a text ?
>
> > Yes.
>
> I agree with his criticism that the book is "o
> Why was the reaction so negative? Well i will admit some fault in the
> fact that i trashed Ruby pretty bad. I felt everything i said was true
> IMO then as is now (mostly). People should have a right to opinions.
> However since i was such an "unknown" and you could say a "newbie",
> was this re
On Sun, Jun 13, 2010 at 1:39 PM, Anthony Papillion wrote:
> I know Python is growing in popularity and some of Palms devices
> already let you run Python apps in a VM environment. I'm wondering if
> anyone knows (or can make an educated guess) if there are any plans
> for Python to come to the An
On Sun, Jun 13, 2010 at 1:29 PM, astral
wrote:
> I am looking for Python OpenSSL library, for Python version 2.5.4 (on
> Windows)
> Which does not require to install Cygwin package. Need just to decrypt file,
> then uninstall library.
Evpy[1] is designed to be a very easy-to-use interface to Open
On 13 June 2010 21:39, Anthony Papillion wrote:
> I know Python is growing in popularity and some of Palms devices
> already let you run Python apps in a VM environment. I'm wondering if
> anyone knows (or can make an educated guess) if there are any plans
> for Python to come to the Android envi
"Michael Crute" wrote in message
news:mailman.1395.1276462801.32709.python-l...@python.org...
> On Sun, Jun 13, 2010 at 4:29 PM, astral
> wrote:
> > I am looking for Python OpenSSL library, for Python version 2.5.4 (on
> > Windows)
> > Which does not require to install Cygwin package. Need just
On Sun, Jun 13, 2010 at 5:59 PM, astral
wrote:
>> You might want to take a look at m2crypto[0]. While I have not
>> personally run it on Windows (runs great on OS X and Linux) they do
>> provide pre-compiled Windows binaries.
>
> which one is for windows, for Python version 2.5.4 ? And how to unin
On 6/13/10 2:59 PM, astral wrote:
>
> which one is for windows, for Python version 2.5.4 ? And how to uninstall
> when required?
>
You can try http://www.egenix.com/products/python/pyOpenSSL/ -- its
fairly low-level OpenSSL, but its pretty comprehensive.
And you uninstall it in Add & Remove Pro
Stephen Hansen wrote:
On 6/12/10 12:50 PM, Dennis Lee Bieber wrote:
On Sat, 12 Jun 2010 14:42:27 -0400, Victor Subervi
declaimed the following in
gmane.comp.python.general:
Interestingly,
ls -al
reveals *no* *.pyc files.
Which would seem to indicate that you have no user modules
On Sun, Jun 13, 2010 at 1:20 PM, Robert Kern wrote:
> On 2010-06-13 14:17 , Stefan Behnel wrote:
>>
>> Stephen Hansen, 13.06.2010 21:05:
>>>
>>> On 6/13/10 11:41 AM, Stefan Behnel wrote:
Take a look at a) NumPy and b) Cython. You can also use Cython with the
array module, but NumPy
On 6/13/10 3:19 PM, Ethan Furman wrote:
> I thought python (well, cpython, at least) didn't use .pyc files for the
> main script?
You're right, it doesn't. I forgot about that interaction with CGI*.
--
Stephen Hansen
... Also: Ixokai
... Mail: me+list/python (AT) ixokai (DOT) io
...
Thank you gentleman for your input. I'm starting to look at Python/GTK
for desktop development and was hoping there might also be something
for Android. Oh well, like Simon said (pardon the pun), it is open
source so... :-)
Anthony
--
http://mail.python.org/mailman/listinfo/python-list
I am trying to compare LISP/Scheme/Python for their expressiveness.
For this, I propose a vanilla C interpreter. I have seen a book which
writes C interpreter in C.
The criteria would be the small size and high readability of the code.
Are there already answers anywhere ?
How would a gury appro
I just installed 2.6 and 3.1 from current maintenance source on Mac
OSx. When I am running as an interactive terminal session the up arrow
does not scroll thought the history of the py commands I have entered
I just get ^[[A. When I install from a compiled source it works fine.
Whats the fix for th
On Sun, Jun 13, 2010 at 4:07 PM, bolega wrote:
> I am trying to compare LISP/Scheme/Python for their expressiveness.
Try the programming languages shootout.
> For this, I propose a vanilla C interpreter. I have seen a book which
> writes C interpreter in C.
Good luck.
> The criteria would be t
On Sun, Jun 13, 2010 at 5:28 PM, Gerry Reno wrote:
> sounds like your keymapping got messed with.
>
> you could just:
> set -o vi
> python
> ESC, Ctrl-j
> and now ESC-k and ESC-j will take you back and forth in history (std vi
> editing)
This is done within python? Let make sure I am clear. This
These command just allow you to use 'vi editing mode' within python. If you've ever navigated a file with vi to go up and down the document you'll immediately know how it works.-GerryJun 13, 2010 07:39:35 PM, vinc...@vincentdavis.net wrote:On Sun, Jun 13, 2010 at 5:28 PM, Gerry Reno wrote:> soun
On 2010-06-13 16:07:54 -0700, bolega said:
I am trying to compare LISP/Scheme/Python for their expressiveness.
For this, I propose a vanilla C interpreter. I have seen a book which
writes C interpreter in C.
The criteria would be the small size and high readability of the code.
Are there alr
Someone Something writes:
> Here's the thing. Python has one of the nicest communities of most
> software projects (except maybe ubuntu), try Perl or C. Unless you
> completely know what you're talking about, have spent atleast 1/2 an
> hour researching your problem, those guys will refrain from
On Jun 13, 4:39 pm, Vincent Davis wrote:
> On Sun, Jun 13, 2010 at 5:28 PM, Gerry Reno wrote:
> > sounds like your keymapping got messed with.
>
> > you could just:
> > set -o vi
> > python
> > ESC, Ctrl-j
> > and now ESC-k and ESC-j will take you back and forth in history (std vi
> > editing)
>
On 14-6-2010 1:19, Vincent Davis wrote:
I just installed 2.6 and 3.1 from current maintenance source on Mac
OSx. When I am running as an interactive terminal session the up arrow
does not scroll thought the history of the py commands I have entered
I just get ^[[A. When I install from a compiled
sounds like your keymapping got messed with.you could just:set -o vipythonESC, Ctrl-jand now ESC-k and ESC-j will take you back and forth in history (std vi editing)-GerryJun 13, 2010 07:22:40 PM, vinc...@vincentdavis.net wrote:I just installed 2.6 and 3.1 from current maintenance source on MacOSx
PyErr_WarnEx(PyExc_DeprecationWarning, "foo deprecated. use fuzz",
1);
But where can I write this? With Py_InitModule4 I can just
pass a list of functions but no real execution part which
is executed when a module is imported.
--
http://mail.python.org/mailman/listinfo/python-list
On Jun 13, 7:07 pm, bolega wrote:
> I am trying to compare LISP/Scheme/Python for their expressiveness.
>
> For this, I propose a vanilla C interpreter. I have seen a book which
> writes C interpreter in C.
>
> The criteria would be the small size and high readability of the code.
>
> Are there al
On 13 Jun 2010 09:49:03 -0700
a...@pythoncraft.com (Aahz) wrote:
> >Bug filed, http://bugs.python.org/issue8986.
>
> Please don't put extraneous punctuation on URLs. That period is a valid
> URL character, but it's invalid for this URL, and it's not obvious to the
> reader whether the period shou
In article ,
D'Arcy J.M. Cain wrote:
>On 13 Jun 2010 09:49:03 -0700
>a...@pythoncraft.com (Aahz) wrote:
>>
>> Please don't put extraneous punctuation on URLs. That period is a valid
>> URL character, but it's invalid for this URL, and it's not obvious to the
>> reader whether the period should b
I've got five pages of information linked to from here:
http://www.subspacefield.org/~travis/
LWMLs
template systems
static web page generators
microframeworks
web app frameworks
It seems like many web app programmers and web authors know one
system, or possibly two, and so you don't often get g
On Sun, 13 Jun 2010 22:14:34 +0200, Alf P. Steinbach wrote:
> * Steven D'Aprano, on 13.06.2010 19:57:
>> On Sun, 13 Jun 2010 08:42:57 -0700, rantingrick wrote:
>>
>>> i will start a fork.
>>
>> That is the most sensible thing you have said yet. Please do so, it
>> will be a great thing for the Pyt
exar...@twistedmatrix.com wrote:
> Fore!
>
> print(sum(map(int, input('enter two numbers: ').split(
Well, I _was_ trying to stick to Steven's more simple map-less form :)
(Although I have to say, I have little sympathy for Steven's
hypothetical "new programmer who isn't familiar with map
a...@pythoncraft.com (Aahz) wrote:
> If a new-ish term is being introduced,
> expecting each person to search for the meaning is rude.
The question then becomes how does one determine whether a term one is
using needs defining? Does OO? How about FP? Or TDD? Is there a metric
for how many years or
a...@pythoncraft.com (Aahz) writes:
> In article ,
> geremy condra wrote:
> >
> >Bug filed, http://bugs.python.org/issue8986.
>
> Please don't put extraneous punctuation on URLs.
The punctuation isn't extraneous; it's a necessary part of a natural
English sentence. That's where it belongs.
Bet
On Jun 13, 4:07 pm, bolega wrote:
> I am trying to compare LISP/Scheme/Python for their expressiveness.
>
> For this, I propose a vanilla C interpreter. I have seen a book which
> writes C interpreter in C.
>
> The criteria would be the small size and high readability of the code.
>
> Are there al
On Sun, Jun 13, 2010 at 9:46 AM, wrote:
> On 04:25 pm, wuwe...@gmail.com wrote:
>>
>> Steven D'Aprano wrote:
>>>
>>> No, I think your code is very simple. You can save a few lines by writing
>>> it like this:
>>>
>>> s = input('enter two numbers: ')
>>> t = s.split()
>>> print(int(t[0]) + int(t[
On 6/13/10 8:43 PM, alex23 wrote:
a...@pythoncraft.com (Aahz) wrote:
If a new-ish term is being introduced,
expecting each person to search for the meaning is rude.
The question then becomes how does one determine whether a term one is
using needs defining?
When someone asks for the definiti
Excuse me!!
Would you stop for a moment?!
O...man...Haven't you thought-one day- about yourself ?
Who has made it?
Have you seen a design which hasn't a designer ?!
Have you seen a wonderful,delicate work without a worker ?!
It's you and the whole universe!..
Who has made them all ?!!
You know wh
On Sun, Jun 13, 2010 at 6:44 PM, Ben Finney wrote:
> a...@pythoncraft.com (Aahz) writes:
>
>> In article ,
>> geremy condra wrote:
>> >
>> >Bug filed, http://bugs.python.org/issue8986.
>>
>> Please don't put extraneous punctuation on URLs.
>
> The punctuation isn't extraneous; it's a necessary p
1 - 100 of 118 matches
Mail list logo