En Sun, 10 Jun 2007 02:54:47 -0300, Erik Max Francis <[EMAIL PROTECTED]>
escribió:
> Gary Herron wrote:
>
>> Certainly there's are cases where xreadlines or read(bytecount) are
>> reasonable, but only if the total pages size is *very* large. But for
>> most web pages, you guys are just nit-pick
> I should point out that I don't do DAO (or ADO) -- and if I had to
> code Python to access JET, I'd probably hijack a copy of mxODBC in order
> to get a "sane" SQL interface.
I have successfully used the dejavu object-relational mapper (http://
projects.amor.org/docs/dejavu/1.5.0RC1/) to
manatlan <[EMAIL PROTECTED]> wrote:
> I was a fan of "SimpleGladeApp/tepache way" to build a pygtk app.
> I've build a new efficient/dynamic way to build a pygtk app ...
> Here is an example :
> =
> class Fen(GladeApp):
>"""
>Window win
>
In <[EMAIL PROTECTED]>, Marcus wrote:
> I'm new to developing large subversion-controlled projects. This one
> will involve a few third-party libraries like wxWidgets, and perhaps
> Twisted. Ordinarily you could just install these into your system and
> they'll end up globally (in Python's Lib/sit
Paul Rubin wrote:
> If you know in advance that the page you're retrieving will be
> reasonable in size, then using readlines is fine. If you don't know
> in advance what you're retrieving (e.g. you're working on a crawler)
> you have to assume that you'll hit some very large pages with
> difficu
Gary Herron wrote:
> Certainly there's are cases where xreadlines or read(bytecount) are
> reasonable, but only if the total pages size is *very* large. But for
> most web pages, you guys are just nit-picking (or showing off) to
> suggest that the full read implemented by readlines is wasteful.
Paul D Ainsworth <[EMAIL PROTECTED]> wrote:
> Greetings everyone. I'm a relative newcomer to python and I have a technical
> problem.
> I want to split a 32 bit / 4 byte unsigned integer into 4 separate byte
> variables according to the following logic: -
> bit numbers 0..7 byte 1
> bit numbers
dmoore <[EMAIL PROTECTED]> wrote:
> On Jun 8, 12:30 pm, Nick Craig-Wood <[EMAIL PROTECTED]> wrote:
> > Windows has a really strange idea of non-blocking IO - it uses
> > something called overlapped io. You or in the FILE_FLAG_OVERLAPPED
> > flag when you create the file/pipe. You then pass in ov
Gary Herron <[EMAIL PROTECTED]> writes:
> For simplicity, I'd still suggest my original use of readlines. If
> and when you find you are downloading web pages with sizes that are
> putting a serious strain on your memory footprint, then one of the other
> suggestions might be indicated.
If you
On Jun 10, 3:45 am, Stefan Behnel <[EMAIL PROTECTED]> wrote:
> flebber wrote:
> > I was working at creating a simple program that would read the content
> > of a playlist file( in this case *.k3b") and write it out . the
> > compressed "*.k3b" file has two file and the one I was trying to read
> >
And this is here because ???
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
|I just thought I'd let you know what I've been reading into
the
| "Crusader" spam. I don't want to post this to usenet
because somebody
| might try to tie that in to my posts in some way (someone
alr
On Jun 9, 8:21 pm, "BCB" <[EMAIL PROTECTED]> wrote:
> "Paul McGuire" <[EMAIL PROTECTED]> wrote in message
>
> news:[EMAIL PROTECTED]
>
> > On Jun 9, 6:49 am, Lew <[EMAIL PROTECTED]> wrote:
> >> > In particular, Perl code looks more like line
> >> > noise than like code from any known programming la
Paul Rubin wrote:
> Erik Max Francis <[EMAIL PROTECTED]> writes:
>
>> This is really wasteful, as there's no point in reading in the whole
>> file before iterating over it. To get the same effect as file
>> iteration in later versions, use the .xreadlines method::
>>
>> for line in aFile.x
On Jun 9, 8:35 pm, James Thiele <[EMAIL PROTECTED]> wrote:
> Seattle Python Interest Group meeting 7 PM Thursday 14 June 2007.
>
> Seehttp://www,seapig.orgfor location and directions.
Ooops!
http://www.seapig.org
--
http://mail.python.org/mailman/listinfo/python-list
Seattle Python Interest Group meeting 7 PM Thursday 14 June 2007.
See http://www,seapig.org for location and directions.
--
http://mail.python.org/mailman/listinfo/python-list
Good evening,
I'm new to developing large subversion-controlled projects. This one
will involve a few third-party libraries like wxWidgets, and perhaps
Twisted. Ordinarily you could just install these into your system and
they'll end up globally (in Python's Lib/site-packages directory). Is it
pro
En Sat, 09 Jun 2007 22:53:08 -0300, boyeestudio <[EMAIL PROTECTED]>
escribió:
> Are there any python jobs worked at home from the internet?
> I want to find a part time job.
> Please give a clue to this for me.
I know of http://www.rentacoder.com/ but I've never actually used it.
--
Gabriel G
En Sat, 09 Jun 2007 21:40:40 -0300, Fabio Zadrozny <[EMAIL PROTECTED]>
escribió:
> Is there some way to get all the frames for any given thread? -- in a way
> that does not require a compiled extension.
For the current (calling) thread, you can use sys._getframe()
For other threads, you can use
Erik Max Francis <[EMAIL PROTECTED]> writes:
> This is really wasteful, as there's no point in reading in the whole
> file before iterating over it. To get the same effect as file
> iteration in later versions, use the .xreadlines method::
>
> for line in aFile.xreadlines():
> ...
Hi,all buddies.
Are there any python jobs worked at home from the internet?
I want to find a part time job.
Please give a clue to this for me.
Thanks a lot!
--
http://mail.python.org/mailman/listinfo/python-list
Gary Herron wrote:
> So... You must explicitly read the contents of the file-like object
> yourself, and loop through the lines you self. However, fear not --
> it's easy. The socket._fileobject object provides a method "readlines"
> that reads the *entire* contents of the object, and returns a
On Jun 9, 1:23 pm, "Jerry Van Brimmer" <[EMAIL PROTECTED]> wrote:
> On 6/9/07, BartlebyScrivener <[EMAIL PROTECTED]> wrote:
>
> > No! That's completely wrong.
>
> No, it's not *completely* wrong. Yes, I should have mentioned the
> bg=dark entry, but that doesn't make it *completely* wrong. you're
>
On Jun 10, 11:25 am, John Machin <[EMAIL PROTECTED]> wrote:
> On Jun 10, 10:38 am, hg <[EMAIL PROTECTED]> wrote:
>
> > hg wrote:
> > > Hi,
>
> > > Is there a clean way to figure out that a .exe was actually generated by
> > > pyexe ?
>
> > > hg
>
> > I should gave writtent "definite" instead of "cl
On Jun 10, 10:38 am, hg <[EMAIL PROTECTED]> wrote:
> hg wrote:
> > Hi,
>
> > Is there a clean way to figure out that a .exe was actually generated by
> > pyexe ?
>
> > hg
>
> I should gave writtent "definite" instead of "clean"
>
> hg
Reminds me of the story about a teacher trying to correct a stu
Josiah Carlson wrote:
> >>> foo = type(foo)(foo.func_code, d, foo.func_name, foo.func_defaults,
> foo.func_closure)
Wow! I've never seen that, before. Is there documentation for `type(n)(...)`
somewhere? I did find a very useful "Decorator for Binding Constants, by
Raymond Hettinger", that uses t
Kay Schluehr wrote:
> On Jun 9, 12:16 pm, James Stroud <[EMAIL PROTECTED]> wrote:
>> Terry Reedy wrote:
>>> In Python, you have a choice of recursion (normal or tail)
>> Please explain this. I remember reading on this newsgroup that an
>> advantage of ruby (wrt python) is that ruby has tail recursi
Hi,
Is there some way to get all the frames for any given thread? -- in a way
that does not require a compiled extension.
Thanks,
Fabio
--
http://mail.python.org/mailman/listinfo/python-list
hg wrote:
> Hi,
>
> Is there a clean way to figure out that a .exe was actually generated by
> pyexe ?
>
> hg
I should gave writtent "definite" instead of "clean"
hg
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
Is there a clean way to figure out that a .exe was actually generated by
pyexe ?
hg
--
http://mail.python.org/mailman/listinfo/python-list
Alia Khouri Write
> I have been waiting for this ages and it's finally happened! Python
> meet Live, Live meet Python!
Wow. This is very cool; thanks for the announcement!
> I rushed to update http://wiki.python.org/moin/PythonInMusic but lo
Thanks for this link, as well. Very useful.
--
"Paul McGuire" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Jun 9, 6:49 am, Lew <[EMAIL PROTECTED]> wrote:
>> > In particular, Perl code looks more like line
>> > noise than like code from any known programming language. ;))
>>
>> Hmm - I know of APL and SNOBOL.
>>
>> --
>> Le
On Sat, 09 Jun 2007 22:52:32 +, Josiah Carlson wrote:
> the only thing that optimization
> currently does in Python at present is to discard docstrings
Python, or at least CPython, does more optimizations than that. Aside from
run-time optimizations like interned strings etc., there are a sm
I have been waiting for this ages and it's finally happened! Python
meet Live, Live meet Python!
There's now a wonderful (public) bridge between (arguably) the most
exciting and innovative and easy-to-use realtime software sequencer
and (arguably) the most exciting and innovative and easy-to-use
c
On Sat, 09 Jun 2007 22:42:17 +0100, Alexander Schmolck wrote:
>> As for why tail calls are not optimized out, it was decided that being able
>> to have the stack traces (with variable information, etc.) was more useful
>> than offering tail call optimization
>
> I don't buy this.
Do you mean yo
On Jun 10, 9:07 am, Josiah Carlson <[EMAIL PROTECTED]>
wrote:
> André wrote:
> > On Jun 9, 5:00 pm, "Marcin Kalicinski" <[EMAIL PROTECTED]> wrote:
> >> How do I use multiple Python interpreters within the same process?
>
> >> I know there's a function Py_NewInterpreter. However, how do I use
> >>
[EMAIL PROTECTED] wrote:
> Thanks for the reply Larry but I am still having trouble. If i
> understand you correctly, your are just suggesting that i add an http://
> in front of the address? However when i run this:
>
>
import urllib2
site = urllib2.urlopen('http://www.google.com')
André wrote:
> On Jun 9, 5:00 pm, "Marcin Kalicinski" <[EMAIL PROTECTED]> wrote:
>> How do I use multiple Python interpreters within the same process?
>>
>> I know there's a function Py_NewInterpreter. However, how do I use functions
>> like Py_RunString etc. with it? They don't take any arguments
Warren Stringer wrote:
> Am still trying to hook a NameError exception and continue to run. After a
> few more hours of searching the web and pouring over Martelli's book, the
> closest I've come is:
[snip]
> Is there a way of intervening as `exec cmd in globals, locals` attempts to
> translate 'c'
Thank you both for clearing that up.
-Basilisk96
--
http://mail.python.org/mailman/listinfo/python-list
On Jun 9, 1:33 pm, vishnu <[EMAIL PROTECTED]> wrote:
> Hi,
> Thanks Cameron for your suggestions.
> In fact I am using custom memory sub-allocator where I preallocate a
> pool of memory during initialization of my application and ensure that
> Python doesn't make any system mallocs later . With thi
Thanks for the reply Larry but I am still having trouble. If i
understand you correctly, your are just suggesting that i add an http://
in front of the address? However when i run this:
>>> import urllib2
>>> site = urllib2.urlopen('http://www.google.com')
>>> for line in site:
>>> print li
Alexander Schmolck wrote:
> Josiah Carlson <[EMAIL PROTECTED]> writes:
>
>> James Stroud wrote:
>>> Terry Reedy wrote:
In Python, you have a choice of recursion (normal or tail)
>>> Please explain this. I remember reading on this newsgroup that an advantage
>>> of ruby (wrt python) is that ru
[EMAIL PROTECTED] wrote:
> im trying to get urllib2 to work on my server which runs python
> 2.2.1. When i run the following code:
>
>
> import urllib2
> for line in urllib2.urlopen('www.google.com'):
> print line
>
>
> i will always get the error:
> Traceback (most recent call last):
>
> Yes. Python doesn't have restartable exceptions. Perhaps you would like
> to take a look at CL or Smalltalk?
>
> Jean-Paul
Hmmm, I wonder if anyone suggest to Philippe Petit, as stepped out 110
stories off the ground, that perhaps he would like to take a look at a
different tightrope?
Oddly
im trying to get urllib2 to work on my server which runs python
2.2.1. When i run the following code:
import urllib2
for line in urllib2.urlopen('www.google.com'):
print line
i will always get the error:
Traceback (most recent call last):
File "", line 1, in ?
TypeError: iteration over
Josiah Carlson <[EMAIL PROTECTED]> writes:
> James Stroud wrote:
>> Terry Reedy wrote:
>>> In Python, you have a choice of recursion (normal or tail)
>>
>> Please explain this. I remember reading on this newsgroup that an advantage
>> of ruby (wrt python) is that ruby has tail recursion, implying
On Sat, 9 Jun 2007 13:52:19 -0700, Warren Stringer <[EMAIL PROTECTED]> wrote:
>Am still trying to hook a NameError exception and continue to run. After a
>few more hours of searching the web and pouring over Martelli's book, the
>closest I've come is:
>
import sys
def new_exit(arg=0):
>..
Am still trying to hook a NameError exception and continue to run. After a
few more hours of searching the web and pouring over Martelli's book, the
closest I've come is:
>>> import sys
>>> def new_exit(arg=0):
... print 'new_exit called'
... #old_exit(arg)
...
>>> def hook(type, value, tb
durumdara wrote:
> Hi Larry!
>
>> durumdara wrote:
>> You can easily find out roughly how many bytes are in your .ZIP archive
>> by using following:
>>
>> zipbytes=Zobj.fp.tell()
>>
>
> The main problem is not this.
> I want to write a backup software, and I want to:
> - see the progress in the p
Warren Stringer wrote:
> Here is what I would like to do:
>
> #
> a = Tr3() # implements domain specific language
> a.b = 1# this works, Tr3 overrides __getattr__
> a.__dict__['b'] = 2# just so you know th
James Stroud wrote:
> Terry Reedy wrote:
>> In Python, you have a choice of recursion (normal or tail)
>
> Please explain this. I remember reading on this newsgroup that an
> advantage of ruby (wrt python) is that ruby has tail recursion, implying
> that python does not. Does python have fully o
On Jun 9, 5:00 pm, "Marcin Kalicinski" <[EMAIL PROTECTED]> wrote:
> How do I use multiple Python interpreters within the same process?
>
> I know there's a function Py_NewInterpreter. However, how do I use functions
> like Py_RunString etc. with it? They don't take any arguments that would
> tell o
How do I use multiple Python interpreters within the same process?
I know there's a function Py_NewInterpreter. However, how do I use functions
like Py_RunString etc. with it? They don't take any arguments that would
tell on which interpreter to run the string...?
Marcin
--
http://mail.pytho
On Jun 9, 2007, at 9:10 AM, Mr SZ wrote:
> Hello all,
> I wrote a simple python script to send mail via smtp to my gmail
> acc.I can run it as python /home/phil/Desktop/smtp.py but when I
> add the same to my crontab as
>
> * * * * * /usr/bin/python2.5 /home/phil/Desktop/smtp.py
>
> ,it doesn
On Jun 9, 6:49 am, Lew <[EMAIL PROTECTED]> wrote:
> > In particular, Perl code looks more like line
> > noise than like code from any known programming language. ;))
>
> Hmm - I know of APL and SNOBOL.
>
> --
> Lew
TECO editor commands. I don't have direct experience with TECO, but
I've heard tha
Hogwarts.
Sorry, I couldn't resist either.
I'm sure you meant to say "enhancement" - an "enchantment" is a magic
spell, often used to lull an unsuspecting victim into some sort of
compliance or trance. Actually, if you have an *enchantment* for
Python, I'm sure several people on this list would
On 6/9/07, BartlebyScrivener <[EMAIL PROTECTED]> wrote:
> On Jun 9, 1:14 am, "Jerry VanBrimmer" <[EMAIL PROTECTED]> wrote:
>
> > In your vim configuration file enter:
> >
> > colorscheme
> >
> > Example:
> >
> > colorscheme elflord
> >
> > Restart vim.
>
> No! That's completely wrong.
No, it's n
Bjoern Schliessmann wrote:
> Gabriel Genellina wrote:
>
>
>>For what I can
>>remember of my first love (Physics): if you have a small ball
>>moving inside a spherical cup, it would be almost crazy to use
>>cartesian orthogonal coordinates and Newton's laws to solve it -
>>the "obvious" way would
flebber wrote:
> Hi Can anyone show me a working example of how to use gzip to
> decompress a file. I have read the docs at python.org and had many
> goes at it but just can't get it to work.
According to your other post, you are trying to open a ZIP archive using gzip.
Use the zipfile module inst
flebber wrote:
> I was working at creating a simple program that would read the content
> of a playlist file( in this case *.k3b") and write it out . the
> compressed "*.k3b" file has two file and the one I was trying to read
> was maindata.xml
The k3b format is a ZIP archive. Use the zipfile libr
En Sat, 09 Jun 2007 12:30:49 -0300, <[EMAIL PROTECTED]> escribió:
> On Jun 8, 2:33 pm, HMS Surprise <[EMAIL PROTECTED]> wrote:
>> Could someone point my muddled head at a/the python repository. I know
>> that one exists but cannot find it again. In particular I am looking
>> for a standalone sear
"vdicarlo" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
| Many thanks for the lucid and helpful suggestions. Since my date range
| was only a few years, I used Some Other Guy's suggestion above, which
| the forum is saying will be deleted in five days, to make a dictionary
| of the
"Basilisk96" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
| "Terry Reedy" <[EMAIL PROTECTED]> wrote:
| > Any what if 'filelist' is any iterable other than a string or list?
Your
| > code is broken, and unnecessarily so. So I would call the parameter
| > 'files' and test for isins
Laurent Pointal wrote:
>
> Via webbrowser module
>
> http://docs.python.org/lib/module-webbrowser.html
>
thx a lot. Just again Python positively surprises me.
> (note: its in top five in google search for Python + launch + browser...)
so now it will be in top four :-).
--
http://mail.pytho
"Cousin Stanley" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
| > In scheme, I believe you just have recursion.
I was referring to the original mimimalist core language developed by Guy
and Sussman and as I remember it being used in the original edition of SICP
(see Wikipedia).
Hello all.
Thanks for the help! John pointed out to me the flaw in my code:
Change:
sSQL3 = 'SELECT * FROM T_Index2DirName WHERE iIndex = hsDB'
to:
sSQL3 = 'SELECT * FROM T_Index2DirName WHERE iIndex = %ld' % hsDB
That did the trick. I had looked at the statement so often that it was
*obviou
robert wrote:
> I played around trying to encrypt/decrypt data through GPG on the fly
> (or worse - by using a file) (on Windows first - later to try on Linux too)
>
> Using os.popen3 like
>
> >>> i,o,e=os.popen3('gpg -e -r Robert')
> >>> # i.write('y\n')
> >>> i.write('wefwef')
> >>> i.clos
Here is what I would like to do:
#
a = Tr3() # implements domain specific language
a.b = 1# this works, Tr3 overrides __getattr__
a.__dict__['b'] = 2# just so you know that b is local
a[b] = 3
"James Stroud" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
| Terry Reedy wrote:
| > In Python, you have a choice of recursion (normal or tail)
|
| Please explain this.
I am working on a paper for Python Papers that will. It was inspired by
the question 'why doesn't Python do ta
Many thanks for the lucid and helpful suggestions. Since my date range
was only a few years, I used Some Other Guy's suggestion above, which
the forum is saying will be deleted in five days, to make a dictionary
of the whole range of dates when the script starts. It was so fast it
wasn't even worth
On Jun 8, 2:33 pm, HMS Surprise <[EMAIL PROTECTED]> wrote:
> Greetings,
>
> Could someone point my muddled head at a/the python repository. I know
> that one exists but cannot find it again. In particular I am looking
> for a standalone search tool that given a path searches files for a
> text stri
On Jun 8, 2:33 pm, HMS Surprise <[EMAIL PROTECTED]> wrote:
> Greetings,
>
> Could someone point my muddled head at a/the python repository. I know
> that one exists but cannot find it again. In particular I am looking
> for a standalone search tool that given a path searches files for a
> text stri
On Jun 9, 9:56 am, "Joe Riopel" <[EMAIL PROTECTED]> wrote:
> I use vim on both Windows and UNIX/Linux, and found this vimrc
> file.http://darksmile.net/software/.vimrc.html
>
> It's pretty good and has good comments. You might want to take a look
> at that and customize it.
>
> Plus this is
> gre
Thank you this is nice code. I never thought of using the move_pending
method..
Still it doesn't answer my question (which I ensure is very unclear).
But do not worry, I found some way to get throught my dilemma and I
can live easily with it. Thanks for your help.
--
http://mail.python.org/mailm
I use vim on both Windows and UNIX/Linux, and found this vimrc file.
http://darksmile.net/software/.vimrc.html
It's pretty good and has good comments. You might want to take a look
at that and customize it.
Plus this is great:
http://www.usf.uni-osnabrueck.de/infoservice/doc/localhtml/vim/if_pyth
Hi,
I've successfully compiled p4python with modified setup.py
the key to success was to split extra_compile_args's argument '-arch'
into 2 args.
below is fixed part:
[code]
ext_modules=[Extension("P4Client", [ "P4Clientmodule.cc"
],
include_dirs=[ os.pat
In article <[EMAIL PROTECTED]>,
durumdara <[EMAIL PROTECTED]> wrote:
>
> [...]
Click your heels together three times and say, "Abracadabra!"
(Sorry, couldn't resist.)
--
Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/
"as long as we like the same operating system, t
robert wrote:
> I played around trying to encrypt/decrypt data through GPG on the fly
> (or worse - by using a file) (on Windows first - later to try on Linux too)
>
> Using os.popen3 like
>
> >>> i,o,e=os.popen3('gpg -e -r Robert')
> >>> # i.write('y\n')
> >>> i.write('wefwef')
> >>> i.clos
I played around trying to encrypt/decrypt data through GPG on the
fly (or worse - by using a file) (on Windows first - later to try
on Linux too)
Using os.popen3 like
>>> i,o,e=os.popen3('gpg -e -r Robert')
>>> # i.write('y\n')
>>> i.write('wefwef')
>>> i.close()
>>> # e.read(1)
>>> o.rea
Hello all,
I wrote a simple python script to send mail via smtp to my gmail acc.I can run
it as python /home/phil/Desktop/smtp.py but when I add the same to my crontab as
* * * * * /usr/bin/python2.5 /home/phil/Desktop/smtp.py
,it doesn't run.I checked the process by using top comman
In <[EMAIL PROTECTED]>, Basilisk96
wrote:
> "Terry Reedy" <[EMAIL PROTECTED]> wrote:
>> Any what if 'filelist' is any iterable other than a string or list? Your
>> code is broken, and unnecessarily so. So I would call the parameter
>> 'files' and test for isinstance(files, str) #or basestring.
On Jun 9, 1:14 am, "Jerry VanBrimmer" <[EMAIL PROTECTED]> wrote:
> In your vim configuration file enter:
>
> colorscheme
>
> Example:
>
> colorscheme elflord
>
> Restart vim.
No! That's completely wrong.
It should be:
colorscheme moria
set bg=dark
http://www.vim.org/scripts/script.php?script
Hi,
Thanks Cameron for your suggestions.
In fact I am using custom memory sub-allocator where I preallocate a
pool of memory during initialization of my application and ensure that
Python doesn't make any system mallocs later . With this arrangement,
python seems to run out of preallocated memory (
"Terry Reedy" <[EMAIL PROTECTED]> wrote:
> Any what if 'filelist' is any iterable other than a string or list? Your
> code is broken, and unnecessarily so. So I would call the parameter
> 'files' and test for isinstance(files, str) #or basestring. And wrap if it
> is.
Can you give an example of
stef wrote:
> Stefan Sonnenberg-Carstens wrote:
>> stef schrieb:
>>> hello
>>>
>>> I can find all kind of procedures to convert an array to a bitmap
>>> (wxPython, PIL),
>>> but I can't find the reverse,
>>> either
>>>- convert a bitmap to an array
>>> or
>>> - read a bitmap file to an array
Twisted wrote:
> On Jun 8, 7:30 pm, "Jürgen Exner" <[EMAIL PROTECTED]> wrote:
>> [EMAIL PROTECTED] wrote:
>>
>> [nothing relevant to Perl]
>
> Perl?? Perl is even less relevant to Java than the original post,
> which admittedly has some connection to pretty much all programming
> languages. (Perl,
On Jun 9, 12:16 pm, James Stroud <[EMAIL PROTECTED]> wrote:
> Terry Reedy wrote:
> > In Python, you have a choice of recursion (normal or tail)
>
> Please explain this. I remember reading on this newsgroup that an
> advantage of ruby (wrt python) is that ruby has tail recursion, implying
> that pyt
Frank Millman <[EMAIL PROTECTED]> writes:
> On Jun 8, 5:50 pm, Neil Cerutti <[EMAIL PROTECTED]> wrote:
>> Many of the file formats I have to work with are so-called
>> fixed-format records, where every line in the file is a record,
>> and every field in a record takes up a specific amount of space
Gabriel Genellina wrote:
> For what I can
> remember of my first love (Physics): if you have a small ball
> moving inside a spherical cup, it would be almost crazy to use
> cartesian orthogonal coordinates and Newton's laws to solve it -
> the "obvious" way would be to use spherical coordinates an
>
> In scheme, I believe you just have recursion.
>
Cousin TJR
I'm a total scheme rookie starting only about 3 days ago
and one of the mechanisms I went looking for was a technique
for iteration
Found in the scheme docs about iteration supplied
via the reduce p
Terry Reedy wrote:
> In Python, you have a choice of recursion (normal or tail)
Please explain this. I remember reading on this newsgroup that an
advantage of ruby (wrt python) is that ruby has tail recursion, implying
that python does not. Does python have fully optimized tail recursion as
des
Waldemar Osuch wrote:
> On Jun 8, 6:36 am, Benedict Verheyen <[EMAIL PROTECTED]>
> wrote:
>> Hi,
>>
>> i found python-ldap for version Python 2.4.
>> Is there i place i can find a version for 2.5?
>>
>> If not, how can i build it myself for Windows?
>>
>
> I have managed to build it for myself usi
Hej
Jeg er interesseret i at købe din billet, jeg bor selv på amager, så vi kan
gøre en hurtig handel.
Mvh
André
--
http://mail.python.org/mailman/listinfo/python-list
Ben Finney wrote:
> mosscliffe <[EMAIL PROTECTED]> writes:
>
>> I have tried the following, for a one dimensional list and it works,
>> but I can not get my head around this lambda. How would this be
>> written, without the lamda ?
>>
>> mylist = ['Fred','bill','PAUL','albert']
>>
>> mylist.sort(
On Jun 9, 5:48 am, Mark Carter <[EMAIL PROTECTED]> wrote:
> Neil Cerutti wrote:
> > The underlying problem, of course, is the archaic flat-file
> > format with fixed-width data fields. Even the Department of
> > Education has moved on to XML for most of it's data files,
>
> :(
>
> I'm writing a sma
On Jun 8, 5:50 pm, Neil Cerutti <[EMAIL PROTECTED]> wrote:
> Many of the file formats I have to work with are so-called
> fixed-format records, where every line in the file is a record,
> and every field in a record takes up a specific amount of space.
>
> For example, one of my older Python progra
"Basilisk96" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
| On Jun 8, 11:54 am, "T. Crane" <[EMAIL PROTECTED]> wrote:
| You can also do this (if tuples are okay in your case):
|
| a = 1,
|
| The comma turns 'a' into a tuple (1,) which is both iterable and has a
| length of 1.
|
| I
"WaterWalk" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
| I've just read an article "Building Robust System" by Gerald Jay
| Sussman. The article is here:
|
http://swiss.csail.mit.edu/classes/symbolic/spring07/readings/robust-systems.pdf
|
| In it there is a footprint which says:
On Jun 9, 3:51 am, Michel Claveau
<[EMAIL PROTECTED]> wrote:
> Hi!
>
> Python, Iron-Python, Jython, StackLess-Python, Monty-Python,
> Movable-Python, etc.
>
> Shouldn't add a "S" to the end of "Python"?
>
> See:http://www.jfwilliam.com/Sites/1473/Python.jpg
>
> The fact of adding a "S" could consti
99 matches
Mail list logo