On Thu, 23 Dec 2004 19:57:27 GMT, rumours say that rzed
<[EMAIL PROTECTED]> might have written:
[Why did PEP 275 stall?]
>It seems to me that it was regarded as misguidod.
QOTPE +1
(PE=Python Era)
Oncoming Python book: "Hitchhiker's Guido to the Python Language"
--
T
d got drafted, who himself had it borrowed from
the company of a friend of his so that he would develop code that could
be used by the company, and in general all my troubles seem to come from
exposure to Unix in my puberty, but that's another story :)
--
TZOTZIOY, I speak England very
ron" [1]. Now, if only you people wrote the plural of
"parenthesis" as "parentheseis" and not "parentheses", that would ease a
lot my Greek English... :)
[1] through the French "mètre" of course; great job, those
revolutionaries did with the metric s
ates) a huge sequence.
>
> for i in (x[0] for x in something):
and for some functional fun:
from itertools import imap
from operator import itemgetter
for i in imap(itemgetter(0), something):
--
TZOTZIOY, I speak England very best.
"Be strict when sending and tolerant when receivi
as well, or will a mastery of the language be sufficient?
I think having a katana next to your keyboard will suffice to give the
*impression* you have mastered enough of the japanese culture, Peter :)
--
TZOTZIOY, I speak England very best.
"Be strict when sending and tolerant when receiving
use:
yourTextWidget.insert(Tkinter.END, data) # to insert the data
yourRootWindow.update_idletasks() # to update the GUI
--
TZOTZIOY, I speak England very best.
"Be strict when sending and tolerant when receiving." (from RFC1958)
I really should keep that in mind when talking with people, a
ythouse" and "Python 10" were over. I'm glad that
finally others, too, really grok the "joy of Python programming".
PS I just *love* the Classes chapter centerfold. All-time classic.
--
TZOTZIOY, I speak England very best.
"Be strict when sending and tol
lso noted sometime in a humourous article AFAIR.)
In current Greek hexadecimal is "ÎÎÏÎ" ("dekaexadikon").
--
TZOTZIOY, I speak England very best.
"Be strict when sending and tolerant when receiving." (from RFC1958)
I really should keep that in mind when talking with people, actually...
--
http://mail.python.org/mailman/listinfo/python-list
x27;
s.itoa(13,4) should result in '31'
s.itoa(12,4) should result in '30'
s.itoa(8,4) should result in '20'
s.atoi('4', 3) should fail
s.atoi('13', 4) should result in 7
s.atoi('12', 4) should result in 6
s.atoi('8', 4) shou
On Wed, 26 Jan 2005 13:23:42 +0100, rumours say that "Fredrik Lundh"
<[EMAIL PROTECTED]> might have written:
>Christos TZOTZIOY Georgiou wrote:
>
>>>the function's named "atoi", not "atoitoa".
>>
>>
[Fredrik] [0]
>cool. can
... :)
Just in case it didn't show up correctly in your ng/mail client, it does
on groups.google.com (the post was in UTF-8, dammit! --excuse my romance
language)
message link (long URL):
http://groups-beta.google.com/group/comp.lang.python/msg/b20fc159a4f0e14a>
--
TZOTZIOY, I speak
t this
>
>http://mail.python.org/pipermail/python-list/2005-February/030720.html
>
>is a bit scary. I wonder from where I was posting that?
And this post is what I was referring to with "again".
--
TZOTZIOY, I speak England very best.
"Be strict when sending and tol
.__get__(7)
Traceback (most recent call last):
File "", line 1, in -toplevel-
f= divmod.__get__(7)
AttributeError: 'builtin_function_or_method' object has no attribute
'__get__'
I didn't run an extensive test, but it's possible that all builtin
functions
;\n'.join(map(str, range(2
|testfile.close()
|
|# now iterate over four line groups
|
|for bunch_o_lines in line_groups( open(testname1), line_count=4):
|print repr(bunch_o_lines),
|print
|
|for bunch_o_lines in line_groups( open(testname2), line_count=4):
|
m moving to
previous lines and pressing Enter, do you know about Alt-P and Alt-N?
--
TZOTZIOY, I speak England very best.
"Be strict when sending and tolerant when receiving." (from RFC1958)
I really should keep that in mind when talking with people, actually...
--
http://mail.python.org/mailman/listinfo/python-list
value 1.
PS this might confuse you, but in python, all function calls are by value, and
all values passed are references to objects.
http://groups-beta.google.com/groups?q=group%3Acomp.lang.python+value+reference
--
TZOTZIOY, I speak England very best.
"Be strict when sending and tolerant
make a symbolic link, you probably want to use os.symlink()
and not os.link(), but that seems to be the least of your troubles.
--
TZOTZIOY, I speak England very best.
"Be strict when sending and tolerant when receiving." (from RFC1958)
I really should keep that in mind when talkin
at oh-so-friendly search dog on day 2 of acquainting myself
with Windows XP last September, so I can't readily say where is the setting if
your dog is enabled, but if your dog is dead too, it's under Advanced Options:
Search system folders.
--
TZOTZIOY, I speak England very best.
&qu
o change his name to a more
pythonic one, but now I see he misinterpreted the advice.
Am I assimilated or what?
--
TZOTZIOY, I speak England very best.
"Be strict when sending and tolerant when receiving." (from RFC1958)
I really should keep that in mind when talking with people, actuall
winamp
through COM (if you can't find it, let me know by email, I'll send it to you).
Much less hassle than my initial attempts to control it with SendMessage and
PostMessage etc.
--
TZOTZIOY, I speak England very best.
"Be strict when sending and tolerant when receiving." (fro
all over the place until that
>happened.
Those were pure perl scripts. This will be a Perl python script, so no problem.
--
TZOTZIOY, I speak England very best.
"Be strict when sending and tolerant when receiving." (from RFC1958)
I really should keep that in mind when talk
> * Otherwise, the function should return False.
[Stevbe]
>If you wanted to get clever you could write something like
>
>for i in True, False:
> if i in lst:
> return i
>return False
[!Steve]
You mistyped None as False in the last line. Your typos are getting worse ever
ive prompt:
>>> type(help)
--
TZOTZIOY, I speak England very best.
"Be strict when sending and tolerant when receiving." (from RFC1958)
I really should keep that in mind when talking with people, actually...
--
http://mail.python.org/mailman/listinfo/python-list
Dict()
>exec data in {}, d
>print d.items()
For kids trying this at home, note that it only works if the descriptor
is a valid Python identifier.
--
TZOTZIOY, I speak England very best.
"Be strict when sending and tolerant when receiving." (from RFC1958)
I really should keep that in mind when talking with people, actually...
--
http://mail.python.org/mailman/listinfo/python-list
o find out what it's called is to ask
>all your neighbours (namespaces) if it's their cat (object) ... and
>don't be surprised if you'll find that it's known by many names, or no
>name at all!"
Whom should we bug to add it?
--
TZOTZIOY, I speak England ver
On 23 Jun 2005 19:12:03 -0700, rumours say that "jean-marc"
<[EMAIL PROTECTED]> might have written:
>So I wish it and its author(s) a good day, week, month, year and more!
>Really!
That is, "So long and thanks for all the PIL."
--
TZOTZIOY, I speak England very b
MAIL PROTECTED]'])
and I had no problem. What happens for you (substitute other server and
email addresses, obviously :) ?
--
TZOTZIOY, I speak England very best.
"Dear Paul,
please stop spamming us."
The Corinthians
--
http://mail.python.org/mailman/listinfo/python-list
calhost', '[EMAIL PROTECTED]', ['[EMAIL PROTECTED]'])
and I had no problem. What happens for you (substitute other server and
email addresses, obviously :) ?
--
TZOTZIOY, I speak England very best.
"Dear Paul,
please stop spamming us."
The Corinthians
--
http://mail.python.org/mailman/listinfo/python-list
BTW you don't have a
newline before "Ubicación:"; is it intentional?)
Tabs are infamous confusers of email clients, unfortunately.
--
TZOTZIOY, I speak England very best.
"Dear Paul,
please stop spamming us."
The Corinthians
--
http://mail.python.org/mailman/listinfo/python-list
(even better, read :) the rest of Andrea's paragraph, it
would be obvious that you actually agree with Andrea.
--
TZOTZIOY, I speak England very best.
"Dear Paul,
please stop spamming us."
The Corinthians
--
http://mail.python.org/mailman/listinfo/python-list
the PSF could sell Python-branded
shampoos named "poetry in lotion" etc.
--
TZOTZIOY, I speak England very best.
"Dear Paul,
please stop spamming us."
The Corinthians
--
http://mail.python.org/mailman/listinfo/python-list
t of the e-mail
system.
I suggest you send your "info" as an attached text file; no client will
mess with it. The email package is your friend for MIME messages.
--
TZOTZIOY, I speak England very best.
"Dear Paul,
please stop spamming us."
The Corinthians
--
http://mail.python.org/mailman/listinfo/python-list
the
top-left icon, or press Alt-Space), go to Properties, Layout tab, Window
Size, Width.
--
TZOTZIOY, I speak England very best.
"Dear Paul,
please stop spamming us."
The Corinthians
--
http://mail.python.org/mailman/listinfo/python-list
On Tue, 28 Jun 2005 15:46:01 +0300, rumours say that Christos "TZOTZIOY"
Georgiou <[EMAIL PROTECTED]> might have written:
>(kudos to Steve Holden for
>[EMAIL PROTECTED] where the term PIPO
>(Poetry In, Poetry Out) could be born)
oops! kudos to Michael Spencer (I never sa
aced
>directly with names's byte code contents at compile time.
>
>Defer could be shortened to def I suppose, but I think defer would be
>clearer. Anyway, it's only a wish list item for now.
This is similar:
http://groups-beta.google.com/group/comp.lang.python/msg/6fc88414
no keyboard shortcut to scroll:
http://www.xvsxp.com/power_user/terminal/
--
TZOTZIOY, I speak England very best.
"Dear Paul,
please stop spamming us."
The Corinthians
--
http://mail.python.org/mailman/listinfo/python-list
;s available in the www.winamp.com site. (Search for plugin
"winampcom")
--
TZOTZIOY, I speak England very best.
"Dear Paul,
please stop spamming us."
The Corinthians
--
http://mail.python.org/mailman/listinfo/python-list
ble libraries and more advanced developement tools.
More advanced development tools, yes. More available libraries?
Perhaps.
--
TZOTZIOY, I speak England very best.
"Dear Paul,
please stop spamming us."
The Corinthians
--
http://mail.python.org/mailman/listinfo/python-list
ew that would love Forth only for that.
The perfect language for many kids I know would be Python with boolean
operators reversed. Oh, and 'print' should be 'do_NOT_print'.
--
TZOTZIOY, I speak England very best.
"Dear Paul,
please stop spamming us."
The Corinthians
--
http://mail.python.org/mailman/listinfo/python-list
oject name is pretty offensive too, since it's related to the term
"Sun" and not the term "Java".
If one has heard of the differences between Sun and IBM about Java, and
knowing that Eclipse started as an IBM project, then the reasoning for
choosing the name "Eclipse"
algorithm. I think some
>character are strange for python, and makes it stop before the end of
>the .msg file.
FYI: the character that was strange for Windows (not Python) was
chr(26), or Ctrl-Z, or end-of-file, which is special for files opened as
text instead of binary.
--
TZOTZIOY, I speak
ty Towers :-)
Then surely it should have been "its" first attempt? Aren't piranhas
neutral?
--
TZOTZIOY, I speak England very best.
"Dear Paul,
please stop spamming us."
The Corinthians
--
http://mail.python.org/mailman/listinfo/python-list
se.
There aren't any non-posix-conformant --or, at least, any
non-self-described-as-posix-conformant :-)-- operating systems in wide
use today.
Hint: win32file.CreateHardLink
--
TZOTZIOY, I speak England very best.
"Dear Paul,
please stop spamming us."
The Corinthians
--
http://mail.python.org/mailman/listinfo/python-list
er dbs?
>
>You could use ADO + adodbapi for both.
>http://adodbapi.sourceforge.net/
Or pywin32/ctypes and COM (btw, I prefer DAO to ADO, but that is a
personal choice).
--
TZOTZIOY, I speak England very best.
"Dear Paul,
please stop spamming us."
The Corinthians
--
http://mail.python.org/mailman/listinfo/python-list
es to
*view* the directory contents using Explorer. Command-line dir had no
problem on a directory with >15000 files.
--
TZOTZIOY, I speak England very best.
"Dear Paul,
please stop spamming us."
The Corinthians
--
http://mail.python.org/mailman/listinfo/python-list
stem menu, doesn't it? Talk
about blindness...
>Seems to work for cmd.exe on NT4
XP too.
--
TZOTZIOY, I speak England very best.
"Dear Paul,
please stop spamming us."
The Corinthians
--
http://mail.python.org/mailman/listinfo/python-list
On 28 Jun 2005 13:24:42 -0700, rumours say that "muldoon"
<[EMAIL PROTECTED]> might have written:
> Now, what forum would you recommend? Any help would be appreciated.
alt.usage.english?
alt.languages.english?
alt.english.usage?
uk.culture.language.english?
--
TZOTZIOY, I
I would bet that somewhere in the "Ingliy-spiking werld" both terms
sound exactly the same.
--
TZOTZIOY, I speak England very best.
"Dear Paul,
please stop spamming us."
The Corinthians
--
http://mail.python.org/mailman/listinfo/python-list
piler ("Unix" compiler) you
consider as such? Were there other Unix C compilers before K&R wrote
one? Or are you considering as "K&R Unix compilers" those after the
publication of the white book and before C89?
--
TZOTZIOY, I speak England very best.
"Dear P
humourous, I believe you noticed :)
--
TZOTZIOY, I speak England very best.
"Dear Paul,
please stop spamming us."
The Corinthians
--
http://mail.python.org/mailman/listinfo/python-list
listens
on port 82 (we're behind a strict firewall), so I don't know if my
following question has a reason to exist, but there we go:
Have you considered basing your module on xdrlib, which is more of a
cross-language standard?
--
TZOTZIOY, I speak England very best.
"Dear Pa
ename, "rb")
|md5sum= md5.new()
|while True:
|data= fp.read(65536)
|if not data: break
|md5sum.update(data)
|fp.close()
|print md5sum.hexdigest(), filename
It's fast enough, especially if you cache results.
--
TZO
[snip]
My first reaction was that "r+" should be "r+b"... but then one presumes that an
mmap'ed file does not care about stdio text-binary conventions (on platforms
that matters).
--
TZOTZIOY, I speak England very best.
"Be strict when sending and tolerant when receiv
d reopening it.
>And last, how do I put program to wait certain amount of seconds ?
>If I remeber correctly I used to type "Wait 10" and QBasic waits
>10 seconds before proceeding to next command.
(A serious answer for a change) Waiting is time related. So import time and
call
ut the context was calculating efficiently checksums for large files
to be /served/ by a webserver. I deduce it's almost certain that the files
won't be larger than 3GiB, but ICBW :)
--
TZOTZIOY, I speak England very best.
"Be strict when sending and tolerant when receiving." (from RFC1958)
I really should keep that in mind when talking with people, actually...
--
http://mail.python.org/mailman/listinfo/python-list
wn replies to the this and
the other thread.
BTW, my sincere congratulations for what I presume best computer related April's
Fool joke of all time; I love double-bluffs. The worst of all is I've often
referenced your joke when advocating python... :)
--
TZOTZIOY, I speak England very best.
;hypertext" in '65, and
>Vannevar Bush lucidly explained his vision for textual linking in
>'45. With a little provocation, I can push the ideas of "mechanical"
>or "machine" referencing back at least to the Enlightenment, and
>arguably much farther.
dn't touch the product
>with a virtual ten-foot pole
Are you sure you got the acronym right?-) It seems that VSS provides viRTual
source-safety...
--
TZOTZIOY, I speak England very best.
"Be strict when sending and tolerant when receiving." (from RFC1958)
I really should keep
smith.edu/hsc/museum/ancient_inventions/steamengine2.html
Nice page, this:
http://www.smith.edu/hsc/museum/ancient_inventions/hsclist.htm
--
TZOTZIOY, I speak England very best.
"Be strict when sending and tolerant when receiving." (from RFC1958)
I really should keep that in mi
at you gave it.
Try the following changes:
>I = "Allen"
>me = "Allen"
>my = "Allen's"
to
xyzzy = "I"
footy = "me"
spike = "my"
and then change the last line of the triple-quoted string:
>it was so amazing!""&qu
mation.
>>>> ^D
"Instant porting of any program to python". Smooth.
--
TZOTZIOY, I speak England very best.
"Be strict when sending and tolerant when receiving." (from RFC1958)
I really should keep that in mind when talking with people, actually...
--
http://mail.python.org/mailman/listinfo/python-list
then my entry is:
> assert obj+1 >= 1
>:-)
So -1 is not a number.
--
TZOTZIOY, I speak England very best.
"Be strict when sending and tolerant when receiving." (from RFC1958)
I really should keep that in mind when talking with people, actually...
--
http://mail.python.org/mailman/listinfo/python-list
um will be more safe since i'm
>still getting they correct.
It's not weird, it's the same in Windows as far as I remember (windows 3.0).
F10 is the same as depressing Alt.
--
TZOTZIOY, I speak England very best.
"Be strict when sending and tolerant when receiving." (
,
>while c:
>c &= c - 1
>even_odd = not even_odd
>print int( even_odd )
Just for the sake of people who haven't messed with bit manipulation in C or
assembly, the effect of
c &= c - 1
is to reset the rightmost (less significant) '1' bi
malised to a directory called 'www.python.org' in the local subdirectory
'http:'), but still could not on NTFS.
--
TZOTZIOY, I speak England very best.
"Be strict when sending and tolerant when receiving." (from RFC1958)
I really should keep that in mind when talking with people, actually...
--
http://mail.python.org/mailman/listinfo/python-list
t this as "reset the rightmost
>bit"
>instead of "reset the rightmost '1' bit". and i must have read what christos
>wrote 100 times!!!
Don't worry, Bryan, I'm probably more to blame, since I have this tendency to
interject parenthesized sub-sent
hash with other files:
calculate full hash
return all files with same full hash
Something like that.
--
TZOTZIOY, I speak England very best.
"Be strict when sending and tolerant when receiving." (from RFC1958)
I really should keep that in mind when talking with people, actually...
--
http://mail.python.org/mailman/listinfo/python-list
t; File Object with an unknown size.
You probably need the StringIO (or cStringIO) module. Check the module
reference.
--
TZOTZIOY, I speak England very best.
"Be strict when sending and tolerant when receiving." (from RFC1958)
I really should keep that in mind when talking w
sys.stderr.write("\r%d" % count)
. return dupefinder
def pprint(obj, level=0):
. """For testing purposes."""
. indent= " "*level
. if isinstance(obj, File):
. print `obj`
. elif isinstance(obj, list):
. print "list"
def __feed_time(self): # I worte this
>self.feed += 1 # I wote this
Because of this:
>feed = property(__get_feed) # I wrote this
which specifies only a 'get' method for the property.
[snip]
feed is a property, and there is not 'set
Even if one doesn't use vi for editing, it's easiest with
Idle to remove the dot at the start of every line.
--
TZOTZIOY, I speak England very best.
"Be strict when sending and tolerant when receiving." (from RFC1958)
I really should keep that in mind when talking with people
ented the wheel in
http://www.sil-tec.gr/~tzot/python/IPv4_Utils-0.35.linux-i586.tar.gz
It seems that ipv4 from pynms almost matches the functionality of my module,
except for a function (included_nets): given two hosts/nets, find the minimal
set of networks that include both hosts/nets. Just
t;u'TheBeatleshelpTickettoride'
This works though:
.>> filter(type(s).isalpha, s)
As a function just for clarity.
--
TZOTZIOY, I speak England very best.
"Be strict when sending and tolerant when receiving." (from RFC1958)
I really should keep that in mind when talking with people, actually...
--
http://mail.python.org/mailman/listinfo/python-list
ride'
>py> filter(str.isalpha, s)
>Traceback (most recent call last):
> File "", line 1, in ?
>TypeError: descriptor 'isalpha' requires a 'str' object but received a
>'unicode'
>py> ''.join(c for c in s if c.isalpha())
&
bytes,
no spurious control characters etc).
Don't interpret as weakness the explicitness requested from Python.
--
TZOTZIOY, I speak England very best.
"Be strict when sending and tolerant when receiving." (from RFC1958)
I really should keep that in mind when talking with people, actually...
--
http://mail.python.org/mailman/listinfo/python-list
ng to drop compatibility with escape sequences, you can use
WConio:
http://newcenturycomputers.net/projects/wconio.html
Other related stuff:
http://en.wikipedia.org/wiki/Vt100
http://en.wikipedia.org/wiki/Ansi.sys
--
TZOTZIOY, I speak England very best.
"Be strict when sending and tolerant when receiving." (from RFC1958)
I really should keep that in mind when talking with people, actually...
--
http://mail.python.org/mailman/listinfo/python-list
I look at the documentation
>(http://pmw.sourceforge.net/doc/refindex.html), it doesn't seem to be
>there. Any advice will be much appreciated.
Have you got Idle on your computer? Search the idlelib directory for the
TreeWidget.py file.
--
TZOTZIOY, I speak England very best.
"Be st
g.python/browse_frm/thread/efe172a98d165a1d/4c504caf72a622a7
--
TZOTZIOY, I speak England very best.
"Be strict when sending and tolerant when receiving." (from RFC1958)
I really should keep that in mind when talking with people, actually...
--
http://mail.python.org/mailman/listinfo/python-list
On Sun, 06 Mar 2005 22:52:10 +, rumours say that Michael Hoffman
<[EMAIL PROTECTED]> might have written:
>Christos TZOTZIOY Georgiou wrote:
>
>> Argument against your "only" in "you can only use goto":
>>
>> http://www.entrian.com/g
n your case, you can use the find_duplicate_files function with arguments like:
r"\\COMPUTER1\SHARE1", r"\\COMPUTER2\SHARE2" etc
--
TZOTZIOY, I speak England very best.
"Be strict when sending and tolerant when receiving." (from RFC1958)
I really should keep that i
s the way to go.
[snip: import Tkinter fails, probably due to missing package]
Perhaps this page helps:
http://www.python.org/2.4/rpms.html
Otherwise this would show up anything in the cd:
$ find /mnt/cdrom -name \*kinter\* -print
(/mnt/cdrom or whatever the name of the cd mounting directory
e big_file appending to fl the offset each time (if you need help
with this, let me know).
random.shuffle(fl) # this is tested with the filelist.FileList as given
for offset_as_str in fl:
offset= struct.unpack("q", offset_as_str)[0]
big_file.seek(offset)
sys.stdout.write(big_file.
)
is to use the SGI fam (file alteration monitor); I think it has been ported to
Linux. Otherwise, either way you describe is common use. Suggestion: first
check for changes in the st_mtime of the directory, then search for the file
existence.
--
TZOTZIOY, I speak England very best.
"Be str
of the spec.
http://groups-beta.google.com/group/comp.lang.python/browse_frm/thread/de90435f3e56ab0c/048e292ec9adb82d
The whole thread is about finding duplicate files.
--
TZOTZIOY, I speak England very best.
"Be strict when sending and tolerant when receiving." (from RFC1958)
I really shou
u have ten files less than 100KiB each and one file more than 2 GiB in
size, there is no need to read the 2 GiB file, is there?
If it's a one-shot attempt, I guess it won't mind a lot.
On POSIX filesystems, one has also to avoid comparing files having same (st_dev,
st_inum), because you
Linux).
Have you found any way to test if two files on NTFS are hard linked without
opening them first to get a file handle?
--
TZOTZIOY, I speak England very best.
"Be strict when sending and tolerant when receiving." (from RFC1958)
I really should keep that in mind when talking with p
pen("%s%s%s" % (PREFIX, number, SUFFIX_O), "w")
while 1:
datum= fpi.read(2)
if not datum: break
fpo.write("%5d\n" % struct.unpack("H", datum)) # check endianness!!!
fpi.close()
fpo.close()
--
TZOTZIOY, I speak England
aints on library (itertools
module in this case) expansion when talking about such useful *building blocks*.
What happened to "batteries included"?
--
TZOTZIOY, I speak England very best.
"Be strict when sending and tolerant when receiving." (from RFC1958)
I really should keep that in mind when talking with people, actually...
--
http://mail.python.org/mailman/listinfo/python-list
t.com/library/default.asp?url=/library/en-us/fileio/base/by_handle_file_information_str.asp
The relevant parts from this last page:
st_dev <-> dwVolumeSerialNumber
st_ino <-> (nFileIndexHigh, nFileIndexLow)
--
TZOTZIOY, I speak England very best.
"Be strict when sending and tol
n have a bug here - I consider all files with the same inode equal,
> but according to what you say I need to consider the tuple
>(st_dev,ST_ium). I'll have to fix that for 0.13.
I have a bug here too-- I wrote st_inum meaning st_ino, but that would be quick
to find!
> Thanks ;-)
jections to your objections (-:) other than that we are just trying to produce
something of practical value out of an otherwise doomed thread...
--
TZOTZIOY, I speak England very best.
"Be strict when sending and tolerant when receiving." (from RFC1958)
I really should keep that in mind
I have needed enough times in *separate* occasions
to add it in one of my personal "stdlib" modules (hinting it could be part of
itertools):
window('hello', 2) => 'he', 'el', 'll', 'lo'
--
TZOTZIOY, I speak England very best.
"
of avoiding smart-ass
replies like mine :)
--
TZOTZIOY, I speak England very best.
"Be strict when sending and tolerant when receiving." (from RFC1958)
I really should keep that in mind when talking with people, actually...
--
http://mail.python.org/mailman/listinfo/python-list
the only way to go is to parse the
>ftp.retrlines('LIST') command and that seems to be very easy to mess
>up.
>
>any hints?
google brings this up:
http://www.sschwarzer.net/python/ftputil.html
ISTR seeing a parsedate (or similar) for ftp sites by the effbot, but I am not
sure.
ilesystem which is spread over various numbers
>of drives and servers.
I haven't seen one so far; however, is it possible that you could serve your
users through HTTP? I have done so in a similar situation like yours.
--
TZOTZIOY, I speak England very best.
"Be strict when sending and
On Tue, 15 Mar 2005 10:23:02 +, rumours say that Simon Brunning
<[EMAIL PROTECTED]> might have written:
>3.2.5 is a bugfix release of the 2.3 branch
Damn, we're on Python 3 already? Where are all the PEPs I missed?-)
--
TZOTZIOY, I speak England very best.
"Be stri
EEK SMALL LETTER KAPPA}"
or with
.>> uc = unicodedata.lookup("GREEK SMALL LETTER KAPPA")
and you get the ordinal with:
.>> ord(uc)
ord works for strings and unicode.
--
TZOTZIOY, I speak England very best.
"Be strict when sending and tolerant when receiving." (from
e('utf-16') # maybe utf-16be for network order
You should not care about internal encoding of unicode objects.
--
TZOTZIOY, I speak England very best.
"Be strict when sending and tolerant when receiving." (from RFC1958)
I really should keep that in mind when talking with people, actually...
--
http://mail.python.org/mailman/listinfo/python-list
NST a_tuple/UNPACK_SEQUENCE/BUILD_TUPLE,
"a,b,c=d,e,f" reordering and dropping of the tuple building/unpacking (which is
a case already improved in C) etc.
--
TZOTZIOY, I speak England very best.
"Be strict when sending and tolerant when receiving." (from RFC1958)
I really should keep that in mind when talking with people, actually...
--
http://mail.python.org/mailman/listinfo/python-list
er as pre-built on recent RedHat systems. Does
it also apply to FreeBSD? On Windoze, Mandrake and SuSE python has UCS-2
unicode and Tkinter is working just fine.
--
TZOTZIOY, I speak England very best.
"Be strict when sending and tolerant when receiving." (from RFC1958)
I really should
1 - 100 of 187 matches
Mail list logo