Carl> ...shouldn't poeple who spend all their time following up to
Carl> trolls, or starting new threads about trolls, being doing
Carl> something else?
Sure. It was just a momentary break from work, as is this. I thought an
implied smiley was enough, but I guess not.
Skip
--
http:
Colin J. Williams wrote:
The ReportLab toolkit appears to be concerned with building Portable
Document Files. I would be interested in any utility which will read
any pdf - for example, to convert pdf -> html
I don't know of any Python utility to do this, but pdftohtml, pdftotext, pdftoppm,
a
On Dec 23, 5:31 am, wblu...@verizon.net wrote:
> Sent from my Verizon Wireless BlackBerry
[snip]
That was kind of your parents to let you open your Christmas presents
early.
--
http://mail.python.org/mailman/listinfo/python-list
On Dec 22, 12:36 pm, Bruno Desthuilliers
wrote:
> As far as I'm concerned, I don't think Python is "superior" (OMG), I
> think it's a good language that happens to fit my brain *and* solve more
> than 80% of my programmer's needs. If you're not happy with Python's
> perfs, please contribute, you
Paul McNett wrote:
Colin
J. Williams wrote:
The ReportLab toolkit appears to be concerned
with building Portable
Document Files. I would be interested in any utility which will read
any pdf - for example, to convert pdf -> html
I don't know of any Python utility to
On 2008-12-20, Harish wrote:
> Is there any utility in python which will help me to read any
> pdf files?
There are two things I can think off the top of my head
1) The Poppler library. I don't know if there's a Python
binding for it. The poppler home page and Wikipedia page
would pro
On Dec 23, 1:52 am, "Steven Woody" wrote:
> On Mon, Dec 22, 2008 at 6:44 PM, Steven D'Aprano
>
> wrote:
> > On Mon, 22 Dec 2008 14:56:45 +0800, Steven Woody wrote:
>
> >> The intension is to allocate 200 undefined bytes in memory.
>
> > You *want* undefined bytes? Out of curiosity, what do you in
On Dec 22, 2:31 pm, s...@pobox.com wrote:
> Carl> ...shouldn't poeple who spend all their time following up to
> Carl> trolls, or starting new threads about trolls, being doing
> Carl> something else?
>
> Sure. It was just a momentary break from work, as is this. I thought an
> implie
Hello,
bearophile and Robert, thank you for your prompt response.
I will try NumPy (this is a good execuse to learn and to use a new
package).
> I haven't seen uint128 in the wild, though.
Of course, not many applications require uinit128 as a scalar value.
I may need to deal with 128-bit data
akineko wrote:
Hello,
bearophile and Robert, thank you for your prompt response.
I will try NumPy (this is a good execuse to learn and to use a new
package).
I haven't seen uint128 in the wild, though.
Of course, not many applications require uinit128 as a scalar value.
I may need to deal w
je.s.t...@hehxduhmp.org wrote:
r wrote:
We see where you stand. And also see that by removing your comments
from the archive in 5 days, how small your acorns really are.
What is "the archive", Google Groups? You do realize that's not the
entirety of Usenet, correct?
It's the predominant ar
I just ran 2to3 on a py2.5 script that does pattern matching on the
text of a web page. The resulting script crashed, because when I did
f = urllib.request.urlopen(url)
text = f.read()
then "text" is a bytes object, not a string, and so I can't do a
regexp on it.
Of course, this is easy
On Dec 22, 3:13 pm, je.s.t...@hehxduhmp.org wrote:
> r wrote:
> > We see where you stand. And also see that by removing your comments
> > from the archive in 5 days, how small your acorns really are.
>
> What is "the archive", Google Groups? You do realize that's not the
> entirety of Usenet, cor
On Dec 22, 3:15 pm, je.s.t...@hehxduhmp.org wrote:
> r wrote:
> > We see where you stand. And also see that by removing your comments
> > from the archive in 5 days, how small your acorns really are.
>
> Also, it is pretty hard to take such accusations seriously from someone
> who themselves is us
On Tue, Dec 23, 2008 at 12:35 AM, Philip Semanchuk wrote:
>
> On Dec 22, 2008, at 1:52 AM, Tino Wildenhain wrote:
>
>> Philip Semanchuk wrote:
>> ...
>>>
>>> I prefer Mako over the other template languages I've seen.
>>
>> From what I can tell Mako is nearly identical to all other
>> template lang
On Dec 22, 4:44 pm, r wrote:
> Oh Steve... Listen, my words are ment as a wake-up-call to all who
r, can you do me a favor? Go read the archives of this newsgroup for a
month or two, then come back with some perspective. I hope that will
make your posts a little less nonsensical and annoying. My
Alvin ONeal wrote:
Also worthy of mention:
I've seen python pre-installed on consumer HP desktops (I think as
part of a backup/restore script, but I'm not sure)
It's pre-installed on every Mac (both desktop and laptop), too.
Cheers,
- Joe
--
http://mail.python.org/mailman/listinfo/python-lis
On Dec 22, 3:41 pm, "Glenn G. Chappell"
wrote:
> I just ran 2to3 on a py2.5 script that does pattern matching on the
> text of a web page. The resulting script crashed, because when I did
>
> f = urllib.request.urlopen(url)
> text = f.read()
>
> then "text" is a bytes object, not a string,
Hi all:
I'm new to python and trying to save time and code by iterating
through list initializations as well as the assignments. I have the
following code:
import random
from rtcmix import *
from chimes_source import *
from rhythmblock import *
from pitchblock import *
indexrand = random.
On Tue, Dec 23, 2008 at 12:57 AM, Kottiyath wrote:
> Hi,
>I have been looking at Twisted and lately Circuits as examples for
> event driven programming in Python.
Wonderful! :) "circuits" that is :)
>Even though I understood how to implement the code in these and
> what is deferred etc,
On Dec 22, 11:50 am, Bruno Desthuilliers
wrote:
> > When it comes to web development, it seems to me that ruby
> > (because of rails) is far more popular
>
> s/popular/hyped/
I'm not so sure. Go to dice.com, enter "ruby rails" no quotes, search
all words, job titles only - I got 86 hits, and ano
Glenn G. Chappell schrieb:
> I just ran 2to3 on a py2.5 script that does pattern matching on the
> text of a web page. The resulting script crashed, because when I did
>
> f = urllib.request.urlopen(url)
> text = f.read()
>
> then "text" is a bytes object, not a string, and so I can't do
> I'd like to rewrite a Web 2.0 PHP application in Python with AJAX, and
> it seems like Django and Turbogears are the frameworks that have the
> most momentum.
>
> I'd like to use this opportunity to lower the load on servers, as the
> PHP application wasn't built to fit the number of users hammer
On Tue, Dec 23, 2008 at 4:42 AM, cm_gui wrote:
> i am referring mainly to Python for web applications.
>
> Python is slow.
Please just go away. You are making
an embarrassment of yourself.
--JamesMills
--
http://mail.python.org/mailman/listinfo/python-list
On Dec 22, 4:16 pm, Joe Strout wrote:
> Alvin ONeal wrote:
> > Also worthy of mention:
> > I've seen python pre-installed on consumer HP desktops (I think as
> > part of a backup/restore script, but I'm not sure)
>
> It's pre-installed on every Mac (both desktop and laptop), too.
>
> Cheers,
> - J
On Dec 22, 3:53 pm, s...@pobox.com wrote:
> ... shouldn't people who spend all their time trolling be doing something
> else: studying, working, writing patches which solve the problems they
> perceive to exist in the troll subject?
Sure. So should I.
Hmm.
Shutting-up-and-back-to-work-ly y'rs,
Hello Robert,
> Is that actually a 2s-complement 128-bit unsigned integer, or is it just a
> 128-bit-long chunk of data?
That is a good question.
A 128-bit data can be anything.
A 128-bit data can be an instrution code (VLIW machines use such wide
instruction). A 128-bit can be a packed ascill (1
Steven D'Aprano writes:
> Instead of just whinging, how about making a suggestion to fix it? Go on,
> sit down for an hour or ten and try to work out how a BINARY OPERATOR
> like % (that means it can only take TWO arguments) can deal with an
> arbitrary number of arguments, *without* having an
On Dec 22, 8:25 pm, Christian Heimes wrote:
> It's not possible unless you know the encoding of the bytes. Network io
> only returns byte and you must encode it explicitly.
[...]
> There is no generic and simple way to detect the encoding of a remote
> site. Sometimes the encoding is mentioned in
On Dec 22, 4:14 pm, je.s.t...@hehxduhmp.org wrote:
> r wrote:
> > Would you trust my words more if i used a name like "Thurstan Howell
> > III" Come on, don't tell me you are that shallow. To attack my
> > credibility solely based on my user name is the sport of small minded
> > people. Surely
ajaksu schrieb:
> That said, a "decode to declared HTTP header encoding" version of
> urlopen could be useful to give some users the output they want (text
> from network io) or to make it clear why bytes is the safe way.
Yeah, your idea sounds both useful and feasible. A patch is welcome! :)
Chr
On Mon, Dec 22, 2008 at 2:22 PM, Aaron Stepp wrote:
> Hi all:
>
> I'm new to python and trying to save time and code by iterating through list
> initializations as well as the assignments. I have the following code:
>
> import random
> from rtcmix import *
> from chimes_source import *
> from rhy
akineko wrote:
Hello Robert,
Is that actually a 2s-complement 128-bit unsigned integer, or is it just a
128-bit-long chunk of data?
That is a good question.
A 128-bit data can be anything.
A 128-bit data can be an instrution code (VLIW machines use such wide
instruction). A 128-bit can be a p
You know what i hate more than a troll, a spineless jellyfish who goes
around rating peoples post with one star. You are the lowest form of
life. You are the same type of person who would key someones car in
the parking lot. You do not have the balls to face you enemy.
If who made a rating were vi
On Dec 22, 2:59 am, Duncan Booth wrote:
> RajNewbie wrote:
> > Say, I have two threads, updating the same dictionary object - but for
> > different parameters:
> > Please find an example below:
> > a = {file1Data : '',
> > file2Data : ''}
>
> > Now, I send it to two different threads, both
Robert wrote:
> Ah, good. numpy lets you construct your own data types from the primitives.
> Since you don't actually need uint128 arithmetic, you don't need a uint128
> primitive. You can just use dtype('V16') (meaning "void, 16 bytes long") ...
Impressive.
I installed NumPy and it worked like
[Jeff]
but I raise the bar so that any random joker probably won't bother
(and making the reverse mapping - knowing my real identity and then
looking for recent net activity - is much more difficult to do)
[/Jeff]
You are the epitimy of an internet troll. A troll tries to hide his
identity. Why ar
On Dec 22, 11:40 am, r wrote:
> On Dec 22, 8:58 am, walterbyrd wrote:
>
>
>
> > On Dec 21, 12:28 pm, Bruno Desthuilliers
>
> > wrote:
> > > Strange enough,
> > > no one seems to complain about PHP or Ruby's performances...
>
> > A few years back, there was a certain amount of chest thumping, whe
On Dec 22, 5:53 pm, Aaron Brady wrote:
> On Dec 22, 11:40 am, r wrote:
>
>
>
> > On Dec 22, 8:58 am, walterbyrd wrote:
>
> > > On Dec 21, 12:28 pm, Bruno Desthuilliers
>
> > > wrote:
> > > > Strange enough,
> > > > no one seems to complain about PHP or Ruby's performances...
>
> > > A few years
On Dec 22, 4:07 pm, r wrote:
> On Dec 22, 3:15 pm, je.s.t...@hehxduhmp.org wrote:
>
> > r wrote:
> > > We see where you stand. And also see that by removing your comments
> > > from the archive in 5 days, how small your acorns really are.
>
> > Also, it is pretty hard to take such accusations ser
Chris Rebert:
> It likely goes without saying, but you ought to read the fine tutorial as
> well.
I also suggest to fix the messed up indentations.
Bye,
bearophile
--
http://mail.python.org/mailman/listinfo/python-list
On Tue, Dec 23, 2008 at 5:05 AM, John Machin wrote:
> On Dec 23, 1:52 am, "Steven Woody" wrote:
>> On Mon, Dec 22, 2008 at 6:44 PM, Steven D'Aprano
>>
>> wrote:
>> > On Mon, 22 Dec 2008 14:56:45 +0800, Steven Woody wrote:
>>
>> >> The intension is to allocate 200 undefined bytes in memory.
>>
>>
On Dec 22, 6:18 pm, Aaron Brady wrote:
> Us small-minded people have hopes and dreams just like anybody else,
> Thurston.
Now thats the kind of friendly banter this group could use. Instead of
people acting as if their bowel-movements smell like bakery fresh
cinnamon rolls!
--
http://mail.python.
On Dec 23, 10:24 am, r wrote:
> Because my balls are so big i walk around bow-legged!
Have you considered that your alleged testicular enormity may in fact
be an illusion caused by a hernia?
--
http://mail.python.org/mailman/listinfo/python-list
On Sun, 21 Dec 2008 21:46:16 -, Ronald Rodriguez
wrote:
Hi, Im new to python and I've just started using Byte of Python, running
the
samples etc. Im using IDLE on Xp. Ok, here's the thing.
A sample script makes a call to the os.system() function in order to zip
some files. Everything wo
On Mon, 22 Dec 2008 07:11:02 -0800, walterbyrd wrote:
> I have read that python is the world's 3rd most popular language
Oh, well if it's written down it must be true.
> But, I can't help but wonder how python's popularity was determined.
Why don't you ask the people who made the claim?
--
On Mon, 22 Dec 2008 06:58:06 -0800, walterbyrd wrote:
> On Dec 21, 12:28 pm, Bruno Desthuilliers
> wrote:
>> Strange enough,
>> no one seems to complain about PHP or Ruby's performances...
>
> A few years back, there was a certain amount of chest thumping, when
> python/django easily beat ror in
walterbyrd wrote:
[...]>> Fooled by version numbers ?
>
> No, but I am giving django the benefit of the doubt. The django
> project told people all along that django was not to be considered
> production ready before 1.0. I will accept that some people decided to
> wait until 1.0 came out to do an
On Mon, 22 Dec 2008 10:01:21 -0800, r wrote:
> Walter,
> I just look at the stats for comp.lang.python, and i am 9th place for
> most post this month.
And about 9,000th place for useful information.
--
Steven
--
http://mail.python.org/mailman/listinfo/python-list
r wrote:
> [Jeff]
> but I raise the bar so that any random joker probably won't bother
> (and making the reverse mapping - knowing my real identity and then
> looking for recent net activity - is much more difficult to do)
> [/Jeff]
>
> You are the epitimy of an internet troll. A troll tries to hi
On Mon, 22 Dec 2008 14:51:32 +0100, Pierre-Alain Dorange wrote:
> I'm new to python and here i discover at least 4 methods, i just make a
> small script for timing those methods (100 000 times each on a set of 10
> values).
> I do not use timeit, i can't make it work easyly as it need a standalone
> > Alvin ONeal wrote:
> > > Also worthy of mention:
> > > I've seen python pre-installed on consumer HP desktops (I think as
> > > part of a backup/restore script, but I'm not sure)
> >
> > It's pre-installed on every Mac (both desktop and laptop), too.
> I am using a Vista HP right now that cam
On Dec 22, 2008, at 5:16 PM, Joe Strout wrote:
Alvin ONeal wrote:
Also worthy of mention:
I've seen python pre-installed on consumer HP desktops (I think as
part of a backup/restore script, but I'm not sure)
It's pre-installed on every Mac (both desktop and laptop), too.
Mac and a lot of
Okay, so I guess I didn't really *get* the whole unicode/text/binary
thing. Maybe I still don't, but I think I'm getting closer. Thanks to
everyone who replied.
On Dec 22, 1:41 pm, ajaksu wrote:
> On Dec 22, 8:25 pm, Christian Heimes wrote:
> That said, a "decode to declared HTTP header encoding
On Dec 22, 7:34 pm, Steven D'Aprano
wrote:
> On Mon, 22 Dec 2008 10:01:21 -0800, r wrote:
> > Walter,
> > I just look at the stats for comp.lang.python, and i am 9th place for
> > most post this month.
>
> And about 9,000th place for useful information.
>
> --
> Steven
I think you missed my point
Yea, if you use Tkinter in concert with IDLE, your script will lock up.
--
http://mail.python.org/mailman/listinfo/python-list
I can't check you code because i don't have these modules but here is
the code with proper indention
import random
from rtcmix import *
from chimes_source import *
from rhythmblock import *
from pitchblock import *
indexrand = random.Random()
indexrand.seed(2)
rhythm = rhythmBlock()
pitch = pitch
Glenn G. Chappell schrieb:
> Okay, so I guess I didn't really *get* the whole unicode/text/binary
> thing. Maybe I still don't, but I think I'm getting closer. Thanks to
> everyone who replied.
The basic principal is easy. On the one hand you have some text as
unicode data, on the other hand you h
I can't check you code because i don't have these modules but here is
the code with proper indention
import random
from rtcmix import *
from chimes_source import *
from rhythmblock import *
from pitchblock import *
indexrand = random.Random()
indexrand.seed(2)
rhythm = rhythmBlock()
pitch = pitchB
On Dec 22, 2008, at 10:15 PM, r wrote:
I can't check you code because i don't have these modules but here is
the code with proper indention
import random
from rtcmix import *
from chimes_source import *
from rhythmblock import *
from pitchblock import *
indexrand = random.Random()
indexrand.se
>>> class test():
def __init__(self, name):
self.name = 'My name is %d' %name
>>> l = []
>>> for name in range(10):
l.append(test(name))
>>> l
[<__main__.test instance at 0x02852E18>, <__main__.test instance at
0x02852C38>, <__main__.test instance at 0x028528A0>,
Tobias Andersson wrote:
> Jeffrey Barish skrev:
>> Chris Rebert wrote:
>>> Is the 'pcspkr' kernel module built and loaded?
>>
>> Yes. And I should have mentioned that I get sound from Ubuntu
>> applications that produce sound.
>
> Also, is the terminal bell set to "visual"? If so chr(7) only
>
On Mon, Dec 22, 2008 at 7:32 PM, Aaron Stepp wrote:
>
> Thanks for the help so far, I think I'm starting to get a hang of the
> syntax.
>
> I think I need to state my goal more clearly.
>
> Instead of writing a long list of initializations like so:
>
> A = [ ]
> B = [ ]
> ...
> Y = [ ]
> Z = [ ]
On Dec 22, 2008, at 10:43 PM, Chris Rebert wrote:
On Mon, Dec 22, 2008 at 7:32 PM, Aaron Stepp
wrote:
Thanks for the help so far, I think I'm starting to get a hang of the
syntax.
I think I need to state my goal more clearly.
Instead of writing a long list of initializations like so:
A
Kottiyath wrote:
Is it a good idea to use Twisted inside my application, even though
it has no networking part in it?
Basically, my application needs lots of parallel processing - but I
am rather averse to using threads -
With or without threads, the Python interpreter does not do parall
On Dec 22, 2008, at 9:51 PM, r wrote:
On Dec 22, 7:34 pm, Steven D'Aprano
wrote:
On Mon, 22 Dec 2008 10:01:21 -0800, r wrote:
Walter,
I just look at the stats for comp.lang.python, and i am 9th place
for
most post this month.
And about 9,000th place for useful information.
--
Steven
On 2008-12-22, Joe Strout wrote:
> Alvin ONeal wrote:
>
>> Also worthy of mention:
>> I've seen python pre-installed on consumer HP desktops (I think as
>> part of a backup/restore script, but I'm not sure)
>
> It's pre-installed on every Mac (both desktop and laptop), too.
IIRC, Python came pre-
The average user thinks python is only a very large snake!
--
http://mail.python.org/mailman/listinfo/python-list
On Dec 22, 10:09 pm, Ben Kaplan wrote:
> That's just because most of us don't say anything unless we have
> something useful to say. We prefer to let the experts answer the
> questions, but we read the threads so we can benefit from them.
OK Ben, So you are saying
1.) do not question the god
On Dec 22, 9:24 pm, r wrote:
> You know what i hate more than a troll, a spineless jellyfish who goes
> around rating peoples post with one star. You are the lowest form of
> life. You are the same type of person who would key someones car in
> the parking lot. You do not have the balls to face yo
Kottiyath wrote:
[...] I have not yet understood the implementation of
deferred. I went through a lot of tutorials, but I guess most places
they expect that the user already understands how events are
generated. The tutorials mention that there is no more threads once
twisted is used.
My que
I have a cgi running in my alpha environment and, of course,
everything works fine. In beta, when I attempt to access a page via
our proxy, which works perfectly in alpha. It attempts to call cgitb
but freezes for while and then exits.
The Apache log show:
[Mon Dec 22 23:49:25 2008] [error] [cl
On Tue, 23 Dec 2008 03:52:35 -, Aaron Stepp
wrote:
Simply put, I just need enough arrays to hold a list of
pitches/rhythms. Then I'll have each list member returned to an
instrument defined in another module.
One "array" can hold a list of pitches/rhythms. I'm still not terribly
cl
On Tue, 23 Dec 2008 04:35:42 -, Grant Edwards wrote:
IIRC, Python came pre-installed on my IBM Thinkpad. However,
it wasn't anyplace the average user would stumble across it...
The suggestively named "IBMTOOLS" directory, I believe :-)
--
Rhodri James *-* Wildebeeste Herder to the Masse
On Mon, Dec 22, 2008 at 7:52 PM, Aaron Stepp wrote:
>
> On Dec 22, 2008, at 10:43 PM, Chris Rebert wrote:
>
>> On Mon, Dec 22, 2008 at 7:32 PM, Aaron Stepp
>> wrote:
>>
>>>
>>> Thanks for the help so far, I think I'm starting to get a hang of the
>>> syntax.
>>>
>>> I think I need to state my go
On Mon, Dec 22, 2008 at 2:02 AM, ANURAG BAGARIA
wrote:
> Hello,
>
> I am a Python Newbie and would like to call a short python script via
> browser using a CGI script, but initially I am trying to call the same
> python script directly through python command line. The script intends to
> perform a
On Dec 22, 9:05 pm, Christian Heimes wrote:
> ajaksu schrieb:
>
> > That said, a "decode to declared HTTP header encoding" version of
> > urlopen could be useful to give some users the output they want (text
> > from network io) or to make it clear why bytes is the safe way.
>
> Yeah, your idea so
Hi,
I'm a newbie with python and I recently bought Beginning with Python (Which
is a book I recommend) but the problem that I'm facing it's the following:
*This is the code:
*
#!/usr/bin/python2.5
# Filename: str_format.py
age = 25
name = 'foobar'
print('{0} is {1} years old'.format(name, age))
On Mon, Dec 22, 2008 at 10:19 PM, Paulo Repreza wrote:
> Hi,
>
> I'm a newbie with python and I recently bought Beginning with Python (Which
> is a book I recommend) but the problem that I'm facing it's the following:
>
> This is the code:
>
> #!/usr/bin/python2.5
> # Filename: str_format.py
>
> a
101 - 179 of 179 matches
Mail list logo