Wildemar Wildenburger wrote:
> Joachim Durchholz wrote:
>> And yes, it sucks in major ways.
>>
> Oh my God, I don't want to, but I just have to ask: Why?
Because TeX has nothing to do with either Perl, Python, Lisp, Java, or
functional programming.
jue
--
http://mail.python.org/mailman/listi
Byung-Hee HWANG wrote:
> On Mon, 2007-10-22 at 12:19 -0400, Lew wrote:
> [something attackish]
>
> Well, you are making a personal attack, it's dangerous. I wish to see
> only discussions about TeX ;;
>
On a python group?
Also: Lew won't see your post, he's on c.l.java.*
/W
--
http://mail.pyt
Jürgen Exner wrote:
> Wildemar Wildenburger wrote:
>> Joachim Durchholz wrote:
>>> And yes, it [syntactically] sucks in major ways.
>>>
>> Oh my God, I don't want to, but I just have to ask: Why?
>
> Because TeX has nothing to do with either Perl, Python, Lisp, Java, or
> functional programming.
many Python newcomers are confused why
range(10), does not include 10.
If there was a proposal for the new
syntax for ranges, which is known
e.g. from Pascal or Ruby...
>>> [0..10]
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
...is there a chance to be approved ?
We have had a short discussion on it
at t
On 23 Ott, 17:34, Josiah Carlson <[EMAIL PROTECTED]> wrote:
> On 22 Ott, 12:28, Giampaolo Rodola' <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > Hi there.
> > We're talking about an asyncore-based server.
> > Just for the heck of it I'd like to set a timeout which will
> > disconnects the clients if they
On Oct 24, 5:19 pm, [EMAIL PROTECTED] wrote:
> Tim Golden napisa (a):
>
> > It's only a moment before the metaclass and
> > the Twisted solution come along. :)
>
> I couldn't resist. It's not as elegant as I hoped, but hey, at least
> it memoizes the intermediate classes :-)
>
> class fact_0(object
On Oct 24, 5:20 pm, none <""atavory\"@(none)"> wrote:
> Hello,
>
> Is there some package to calculate combinatorical stuff like (n over
> k), i.e., n!/(k!(n - k!) ?
Sure, the gmpy module.
>>> import gmpy
>>> for m in xrange(10):
for n in xrange(m+1):
print
Michal Bozon wrote:
> many Python newcomers are confused why
> range(10), does not include 10.
>
It produces a list of ten elements. Also the documentation is quite
clear on the topic. And lastly: This will probably really bother you for
a week, then no more.
> If there was a proposal for the
On Oct 24, 5:44 pm, Michal Bozon <[EMAIL PROTECTED]> wrote:
> many Python newcomers are confused why
> range(10), does not include 10.
How can they be confused?
Does base 10 have a digit ten?
Does base 2 have a digit two?
Does base 16 have a digit sixteen?
Haven't you stopped counting on your f
[EMAIL PROTECTED] wrote:
> On Oct 24, 5:20 pm, none <""atavory\"@(none)"> wrote:
>> Hello,
>>
>> Is there some package to calculate combinatorical stuff like (n over
>> k), i.e., n!/(k!(n - k!) ?
>
> Sure, the gmpy module.
>
Excellent, many thanks!
--
http://mail.python.org/mail
On Oct 22, 12:20 am, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote:
> On Mon, 22 Oct 2007 02:41:17 +, JKPeck wrote:
> > We want to wrap the stdout device in a codec in order to decode output
> > transparently according to a particular code page (which might not be
> > the system code page)
On Oct 23, 2:59 pm, "Chris Mellon" <[EMAIL PROTECTED]> wrote:
> On 10/23/07, maco <[EMAIL PROTECTED]> wrote:
>
>
> > On Oct 13, 12:34 am, Michael L Torrie <[EMAIL PROTECTED]> wrote:
>
> > > Qt doesn't look very native on my desktop. In fact, Qt apps have always
> > > looked out of place on a Gnome
On Oct 12, 6:30 am, Nick Craig-Wood <[EMAIL PROTECTED]> wrote:
>
> I'd recommend wxPython over those becase
>
> 1) native look and feel on all platforms
> 2) doesn't require expensive licensing for non-commercial apps (QT)
> 3) Isn't a pain to install on windows (GTK)
>
> That said, times change an
On Thu, 25 Oct 2007 01:16:57 +0200, Wildemar Wildenburger wrote:
> Michal Bozon wrote:
>> many Python newcomers are confused why
>> range(10), does not include 10.
>>
> It produces a list of ten elements. Also the documentation is quite
> clear on the topic. And lastly: This will probably really
is there a way to open it? and edit?
--
http://mail.python.org/mailman/listinfo/python-list
On Wed, 24 Oct 2007 16:28:20 -0700, [EMAIL PROTECTED] wrote:
> On Oct 24, 5:44 pm, Michal Bozon <[EMAIL PROTECTED]> wrote:
>> many Python newcomers are confused why range(10), does not include 10.
>
> How can they be confused?
Because in common English, counting starts at 1 and ranges normally
On Oct 23, 7:06 pm, Chris Carlen <[EMAIL PROTECTED]>
wrote:
> Hi:
>
> #!/usr/bin/env python
>
> """From listing 3.3 in 'wxPython in Action'
> Demonstrates that something funny happens when you click&hold in the
> frame, then drag the mouse over the button window. The
> wx.EVT_ENTER_WINDOW event is
On Oct 24, 5:08 pm, Prateek <[EMAIL PROTECTED]> wrote:
> On Oct 24, 5:25 pm, Paul Boddie <[EMAIL PROTECTED]> wrote:
>
> > On 24 Okt, 14:20, Bjoern Schliessmann
> > [EMAIL PROTECTED]> wrote:
>
> > > I'm sorry I cannot help, but how many linux distros have no python
> > > installed or no packages of
> On Behalf Of Steven D'Aprano
> Because in common English, counting starts at 1 and ranges
> normally include both end points (that is, it is a "closed"
> interval). If you say "I'll be away from the 4th to the 7th"
> and then turn up on the 7th, nearly everyone will wonder why
> you're back a
Lou Pecora <[EMAIL PROTECTED]> writes:
> There might even be an array method that can be adapted to get the
> product. Is there a product method? (analogous to a sum method)
The "reduce" function which is being removed from python in 3.0.
import operator
def factorial(n):
return reduce(operat
[EMAIL PROTECTED] writes:
> > It's only a moment before the metaclass and
> > the Twisted solution come along. :)
>
> I couldn't resist. It's not as elegant as I hoped, but hey, at least
> it memoizes the intermediate classes :-)
It gets even weirder in Haskell.
http://www.willamette.edu/~fruehr
I want to open a text file for reading and delineate it by comma. I also
want any data
surrounded by quotation marks that has a comma in it, not to count the
commas inside the
quotation marks
if the file testfile.txt contains the following;
5,Tuesday,"May is a spring month",Father's Day
1,Satu
The Grant Institute: Certificate in Professional Program Development and Grant Communication
will be held in Seattle, Washington, December 10 - 14, 2007. Interested development professionals, researchers, faculty, and graduate students should register as soon as possible, as demand means that s
On Oct 24, 8:56 pm, "Junior" <[EMAIL PROTECTED]> wrote:
> I want to open a text file for reading and delineate it by comma. I also
> want any data
> surrounded by quotation marks that has a comma in it, not to count the
> commas inside the
> quotation marks
Use the csv module.
--
http://mail.py
By reading the doc of pywin32
we can invoke COM like:
o = win32com.client.Dispatch("Excel.Application")
but is it possible to invoke some GUID directly?
If COM was going to be invoked by python, must it support IDispatch?
--
http://mail.python.org/mailman/listinfo/python-list
On Oct 25, 3:56 am, "Junior" <[EMAIL PROTECTED]> wrote:
> I want to open a text file for reading and delineate it by comma. I also
> want any data
> surrounded by quotation marks that has a comma in it, not to count the
> commas inside the
> quotation marks
>
> if the file testfile.txt contains th
On Oct 24, 6:44 pm, Michal Bozon <[EMAIL PROTECTED]> wrote:
> many Python newcomers are confused why
> range(10), does not include 10.
>
> If there was a proposal for the new
> syntax for ranges, which is known
> e.g. from Pascal or Ruby...
>
> >>> [0..10]
>
> [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
>
>
is there software available to change or hide my ip add?
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com --
http://mail.python.org/mailman/listinfo/python-list
thanks..I am using python 2.4.4. so i couldnt find "all" either as
inbuilt module
or by doing "from itertools import *", "all" is not available.
I think I need to move to 2.5 then
but what are the pros/cons of moving to 2.5? as we are using 2.4.4 on
production server which is quite stable.
a
goldtech wrote:
> I have a regular expression test in a script. When a unicode character
> get tested in the regex it gives an error:
>
> UnicodeError: ASCII decoding error: ordinal not in range(128)
>
> Question: Is there a way to test a string for unicode chars (ie. test
> if a string will thro
A mailing list manager is really overkill for what he is trying to do
*IF* he is not maintaining a discussion list. A "newsletter" list
doesn't sound like a discussion list, especially since he wants to hide
the email addresses of the other people.
If you want to manage your mailing list in a ma
hi to everyone
I wondered if this might be the right place to ask for some ideas for
python project for university.
I'd like it to be something useful and web-based. And the project must
be complete in 2-3 months by 2-3 person group.
May be something useful for open source or python community ...
W
> I have a regular expression test in a script. When a unicode character
> get tested in the regex it gives an error:
>
> UnicodeError: ASCII decoding error: ordinal not in range(128)
>
> Question: Is there a way to test a string for unicode chars (ie. test
> if a string will throw the error cite
On Oct 23, 9:30 am, Jean-Paul Calderone <[EMAIL PROTECTED]> wrote:
> On Tue, 23 Oct 2007 15:34:19 -, Josiah Carlson <[EMAIL PROTECTED]> wrote:
> > [snip]
>
> >Calling time.time() is relatively inexpensive in comparison to pure
> >Python function calls, but indeed, it could be a bottleneck.
>
>
On Wed, 24 Oct 2007 23:08:14 -0500, Shane Geiger wrote:
> A mailing list manager is really overkill for what he is trying to do
> *IF* he is not maintaining a discussion list.
It's not overkill at all. Mailman is easy to install (at least on a Red
Hat based Linux system, your mileage may vary el
The biggest threat to the planet today is Judeofascism and
Christofascism.
Actually, the correct terms and concepts are:
Anti-Judeo-fascism Zionists like most jews or zionists EXCEPT the
lofty and righteous neturei karta who worship God and follow torah,
but the others are satanic zionist bastard
Giampaolo Rodola' <[EMAIL PROTECTED]> writes:
> def readable(self):
> if time.time() >= self.timeout:
> self.send("Timeout")
> self.close()
> return 1
Don't do it this way. Put all the timeouts into a priority queue
(see the heapq module) so you only need to check the one
Bob Greschke <[EMAIL PROTECTED]> wrote:
>
>Will the "stock" Windows version of Python install on a Samsung Q1U-EL
>UMPC running Vista and with an Intel A110 processor?
ANYTHING that runs Vista will run Python.
>I want to do some
>development and just happened to think about this. I don't know
TheFlyingDutchman <[EMAIL PROTECTED]> wrote:
>
>I am trying to install Python 2.5 on Windows XP. It installs into the
>root directory on C:\ instead of C:\Python25 which it shows by default
>as what it plans to install to. Selecting D:\Python25 on a previous
>iteration put the exe in D:\ and did no
"Colin J. Williams" <[EMAIL PROTECTED]> wrote:
>Mark Morss wrote:
>> I am a unix person, not new to Python, but new to Python programming
>> on windows. Does anyone know where to find documentation on
>> win32com.client? I have successfully installed this module and
>> implemented some example co
Mark Morss <[EMAIL PROTECTED]> wrote:
>
>I want to be able to script the creation of Excel spreadsheets and
>Word documents, interract with Access data bases, and so forth.
Empirically, the best way to do this (for me, at least) is to Google for
examples. There are a few simple rules to learn on
I try it:
def b():
...
a()
...
def a():
...
b()
...
b()
it's not work.
Is it possible pre-define function like in c++ or place functions code
after main block?
int a();
int b();
int main ()
{
...
a();
...
}
int a()
{
...
b();
...
}
int b()
{
...
a();
...
}
=) sorry for my eng;)
Hi,
It's not really a Python question but I'm sure someone could help me.
When I use RE, I always have trouble with this kind of search:
Ex.
I've a text file:
"""
create or replace package XXX
...
create or replace package body XXX
...
"""
now I want to search the position (line) of this two st
On Oct 24, 2:42 pm, Vangati <[EMAIL PROTECTED]> wrote:
> Plusmo is Hiring!
>
> (snipped)
>
> Recruiting Agencies: Please do not send us unsolicited resumes.
> Plusmo does not consider resumes from any agencies.
Lame company headhunters: Please do not send us unsolicited
spamvertisments irrelevant
NoName schrieb:
> I try it:
>
> def b():
> ...
> a()
> ...
>
> def a():
> ...
> b()
> ...
>
> b()
> it's not work.
It works.
def a():
print "a"
b()
def b():
print "b"
print a # not calling!
b()
But if you really call a in b, you create an endless loop. I
On Oct 25, 2:28 am, NoName <[EMAIL PROTECTED]> wrote:
> I try it:
>
> def b():
> ...
> a()
> ...
>
> def a():
> ...
> b()
> ...
>
> b()
> it's not work.
It sure does. Please post full code and error message, something else
is wrong, not the cyclic reference.
George
--
http://mail.p
On Thu, 25 Oct 2007 06:34:03 +, looping wrote:
> Hi,
> It's not really a Python question but I'm sure someone could help me.
>
> When I use RE, I always have trouble with this kind of search:
>
> Ex.
>
> I've a text file:
> """
> create or replace package XXX
> ...
>
> create or replace pa
On Thu, 25 Oct 2007 06:28:16 +, NoName wrote:
> I try it:
>
> def b():
> ...
> a()
> ...
>
> def a():
> ...
> b()
> ...
>
> b()
> it's not work.
What do you mean by not working? At the time `b()` is called, both
functions are defined so it should working. Or at least it's not
101 - 148 of 148 matches
Mail list logo