and it fails on
> the equivalent of the first if ..., elif ... you try to write.
I'm 99.99% sure you can implement that by using a decision subroutine that
returns subroutine pointers (and maybe parameter pointers), but it certainly
won't be efficient on current CPU de
CTO wrote:
> There's a book called Foundations of Python Network Programming that
> is pretty much as good a book as you could ever ask for on the subject. I
> strongly recommend it, and I think you'll find many of the examples
> relevant.
Yeah, I can recommend that book to
Hendrik van Rooyen wrote:
> When ssh- ing I have been using vim, painfully. Must look at nano - sounds
> good.
> I really miss Brief.
Or try 'joe'.
--
JanC
--
http://mail.python.org/mailman/listinfo/python-list
files, you could then only
download these files out of the .zip, saving a lot in download time...
--
JanC
--
http://mail.python.org/mailman/listinfo/python-list
Steven D'Aprano wrote:
> There are 4,294,967,296 integers that can be represented in 32 bits. Only
> one of them represents zero.
Or you can even define it as not including zero... ;)
--
JanC
--
http://mail.python.org/mailman/listinfo/python-list
John Nagle wrote:
> Linux doesn't do interprocess communication very well.
> The options are pipes (clunky), sockets (not too bad, but
> excessive overhead), System V IPC (nobody uses
> that) and shared memory (unsafe).
+ dbus
--
JanC
--
http://mail.python.org/mailma
ntu 9.04
Release:9.04
Codename: jaunty
If that doesn't work; try '/etc/issue'.
--
JanC
--
http://mail.python.org/mailman/listinfo/python-list
Stef Mientki wrote:
> BJörn Lindqvist wrote:
>> SCREEN 13
>> PSET 160,100,255
>
> Maybe, who is able to understand such nosense without a lot of apriori
> knowledge ?
You already needed that sort of knowledge to be able to use a computer back
then... ;-)
--
JanC
-
design ideas).
--
JanC
--
http://mail.python.org/mailman/listinfo/python-list
os.de/>
[2] well, [1] says that it does, but is not officially supported
--
JanC
--
http://mail.python.org/mailman/listinfo/python-list
al port.
USB *is* a serial port... that's what the "S" stands for. ;)
--
JanC
--
http://mail.python.org/mailman/listinfo/python-list
nt filesystems in python.)
--
JanC
--
http://mail.python.org/mailman/listinfo/python-list
actually, and it has 3.0.1 too, as well as versions of 2.4 (for zope2)
and 2.5. Plus jython & ironpython... ;)
http://packages.ubuntu.com/python
http://packages.ubuntu.com/python2.6
http://packages.ubuntu.com/python3
(For Debian use "packages.debian.org" instead.)
--
JanC
--
http://mail.python.org/mailman/listinfo/python-list
people
> running diskless machines, eventually, some years down the line.
I think on diskless machines using a tmpfs (or similar) for PID files would
be more sane anyway, but of course not everybody will (or can?) use
that...
--
JanC
--
http://mail.python.org/mailman/listinfo/python-list
evice to the kernel).
--
JanC
--
http://mail.python.org/mailman/listinfo/python-list
Josh Holland wrote:
> How people would write a kernel in Python?
Like this:
http://code.google.com/p/cleese/wiki/CleeseArchitecturehttp://code.google.com/p/cleese/
?
--
JanC
--
http://mail.python.org/mailman/listinfo/python-list
on Windows, there is an installer on the Sk1 site.
--
JanC
--
http://mail.python.org/mailman/listinfo/python-list
;-)
BTW: you can run many of those linux distributions on qemu too, if you want
to test some things before you have the hardware (it's obviously only an
emulation though).
--
JanC
--
http://mail.python.org/mailman/listinfo/python-list
dline tool, or at least steal some ideas from it.
<http://welz.org.za/projects/since>
--
JanC
--
http://mail.python.org/mailman/listinfo/python-list
bearophileh...@lycos.com wrote:
> JanC:
>> In most "modern" Pascal dialects the overflow checks can be (locally)
>> enabled or disabled with compiler directives in the source code,
>
> I think that was possible in somewhat older versions of Pascal-like
> langu
ks for posting some information.
I think the period as a research platform (IIRC the project was funded by a
research grant from the EU after all[*]) was maybe necessary to get where
they are now...?
[*] I'm happy to see at least this part of my taxes being spent for
something good... ;-)
--
JanC
--
http://mail.python.org/mailman/listinfo/python-list
.g. a very speed-sensitive piece
of code (that you must check for correctness yourself then of course, but
that's better than having to check *all* code).
--
JanC
--
http://mail.python.org/mailman/listinfo/python-list
working on a PEP about implementing a 'w' (for "wordy"?)
formatting type? ;-)
--
JanC
--
http://mail.python.org/mailman/listinfo/python-list
eally sure if a certificate is good
is the same for both types (self-signed or signed by a "trusted" CA).
--
JanC
--
http://mail.python.org/mailman/listinfo/python-list
they didn't implement it, but that's something
different.)
> So please tell me if any one knows of a good solution for my problem
> else I am forced to give up python for my task.
You could use python-uno (it's included with OOo by default, and should be
able to do everything
Martin v. Löwis schreef:
> Larry argues that a license should be legally meaningful, and
> legally clear - or else there is little point in formulating
> a license in the first place.
This is difficult to do right, if you have to consider all the laws in
different countries...
--
ll__ PYTHON
!ARG self
!ARG args
PUSH hello_str
CALL PySys_WriteStdout
ADD ESP, 0x4
MOV EAX,PyNone
ADD [EAX],1
!ENDPROC
"""
# i386 will be tried first, then x86
@asm_optimise('i386','x86')
def __call__(self):
print 'Hello python world!'
test = hello_world3()
test()
--
--
JanC
"Be strict when sending and tolerant when receiving."
RFC 1958 - Architectural Principles of the Internet - section 3.9
--
http://mail.python.org/mailman/listinfo/python-list
ie:
<http://wwwsearch.sourceforge.net/ClientCookie/doc.html>
--
JanC
"Be strict when sending and tolerant when receiving."
RFC 1958 - Architectural Principles of the Internet - section 3.9
--
http://mail.python.org/mailman/listinfo/python-list
r python version you installed.
You should keep the older Python version installed & make sure the Red Hat
tools use that instead of (I think) the newer version.
--
JanC
"Be strict when sending and tolerant when receiving."
RFC 1958 - Architectural Principles of the Internet - section 3.9
--
http://mail.python.org/mailman/listinfo/python-list
Nick Vargish schreef:
> Please consider a visit to
> tinyurl.com before posting a monster like that... :^)
As long as he also posts the full URL...
--
JanC
"Be strict when sending and tolerant when receiving."
RFC 1958 - Architectural Principles of the Internet - sect
Robert Kern schreef:
> And yet there is not one company that has someone devoted full-time to
> developing Python.
Except for 'future Python' aka PyPy...
<http://codespeak.net/pipermail/pypy-dev/2004q4/001696.html>
:)
--
JanC
"Be strict when sending and toleran
' uses kilo for both 1000 (at least hard
disks & some network transmission speeds) and 1024 in computer science.
--
JanC
"Be strict when sending and tolerant when receiving."
RFC 1958 - Architectural Principles of the Internet - section 3.9
--
http://mail.python.org/mailman/listinfo/python-list
Francis Girard schreef:
> Did some law court, over the past
> decade, had to make a decision about GPL on some real issue ?
netfilter vs. Sitecom ?
--
JanC
"Be strict when sending and tolerant when receiving."
RFC 1958 - Architectural Principles of the Internet - sect
Jeremy Bowers schreef:
> Copyright-based models can't handle modern computer programs,
Most countries have computer program specific parts in their copyright
laws...
--
JanC
"Be strict when sending and tolerant when receiving."
RFC 1958 - Architectural Principles of the
be made available for those you distribute it to.
--
JanC
"Be strict when sending and tolerant when receiving."
RFC 1958 - Architectural Principles of the Internet - section 3.9
--
http://mail.python.org/mailman/listinfo/python-list
u would then point
> winamp towards the local socket instead of the internet station.
Winamp buffers incoming streams, so that won't be very functional... ;-)
--
JanC
"Be strict when sending and tolerant when receiving."
RFC 1958 - Architectural Principles of the I
el element
> inside an inline element.
The following nesting is valid AFAIK:
While this isn't:
--
JanC
"Be strict when sending and tolerant when receiving."
RFC 1958 - Architectural Principles of the Internet - section 3.9
--
http://mail.python.org/mailman/listinfo/python-list
Paul Rubin schreef:
> I don't know that the browser necessarily renders that faster than it
> renders a table,
Simple tables aren't slow, but tables-in-tables-in-tables-in-tables-in-
tables are.
--
JanC
"Be strict when sending and tolerant when receiving."
RFC 1958
Kartic schreef:
> Or if you are the networking types, come up with a peer-to-peer chat
> application with whitetboard capability, which I am sure will be fairly
> novel.
Hm, a Python version of The Coccinella? :-)
--
JanC
"Be strict when sending and tolerant when receiv
r got your money).
In Belgium (and the whole EU, I think) copying a program from disk to
memory to be able to run it is covered under "fair use" (just like copying
digital data from an audio CD to a DAC to be able to listen to it is fair
use), which can't be restricted by companie
Todd_Calhoun schreef:
> I'm trying to learn Python (and programming), and I'm wondering if
> there are any places where I can find small, simple programs to study.
Try:
<http://www.uselesspython.com/>
<http://aspn.activestate.com/ASPN/Python/Cookbook/>
--
JanC
Francis Girard schreef:
> I'm really not sure but there might be some way to embed Java Script
> within Jython.
You can embed JavaScript in CPython, but I don't know how secure or stable
it is: <http://wwwsearch.sourceforge.net/python-spidermonkey/>
--
JanC
"
Robin Becker schreef:
> well since rotor is a german (1930's) invention
And AES is a Belgian invention... ;-)
> it is a bit late for
> Amricans (Hollywood notwithstanding) to be worried about its export
--
JanC
"Be strict when sending and tolerant when receiving."
Paul Boddie schreef:
> JanC wrote:
>> Aahz schreef:
>>
>>> You also have access to the free netnews server
>>> http://news.cis.dfn.de/
>>
>> That address is now for DFN internal use only.
>>
>> Their public service moved to <ht
h?q=jwz+python&btnI=I'm+Feeling+Lucky>
<http://www.amk.ca/python/code/jwz>
--
JanC
"Be strict when sending and tolerant when receiving."
RFC 1958 - Architectural Principles of the Internet - section 3.9
--
http://mail.python.org/mailman/listinfo/python-list
x27;s not looking really good here in Europe:
<http://swpat.ffii.org/letters/fish0501/index.html>
If they succeed to push this through and Poland--or another country--
doesn't help us... :-(
--
JanC
"Be strict when sending and tolerant when receiving."
RFC 1958 - Architect
Aahz schreef:
> You also have access to the free netnews server http://news.cis.dfn.de/
That address is now for DFN internal use only.
Their public service moved to <http://news.individual.net/>.
--
JanC
"Be strict when sending and tolerant when receiving."
RFC 1
jtauber schreef:
> see http://cleese.sourceforge.net/
There is not much to see there, most of the wiki is filled with spam...
--
JanC
"Be strict when sending and tolerant when receiving."
RFC 1958 - Architectural Principles of the Internet - section 3.9
--
http://mail.pytho
Have a look at: <http://gnuwin32.sourceforge.net/>
They have native win32 builds of many of the GNU commandline utilities...
--
JanC
"Be strict when sending and tolerant when receiving."
RFC 1958 - Architectural Principles of the Internet - section 3.9
--
http://mail.python.org/mailman/listinfo/python-list
election only works with the mouse in SciTE/Scintilla:
alt-click-drag.
Most of SciTE's (editor-)features are also available in other Scintilla
based editors.
--
JanC
"Be strict when sending and tolerant when receiving."
RFC 1958 - Architectural Principles of the Internet - section 3.9
--
http://mail.python.org/mailman/listinfo/python-list
> distinctions)
Or there is some Dutch influence... ;)
(In Dutch it's "meter" for both meanings.)
--
JanC
"Be strict when sending and tolerant when receiving."
RFC 1958 - Architectural Principles of the Internet - section 3.9
--
http://mail.python.org/mailman/listinfo/python-list
Just schreef:
> You should always save stdout instead of using __stdout__. It may not be
> the same!
You're right, especially when this code would execute in an (at
programming time) unknown context.
--
JanC
"Be strict when sending and tolerant when receiving."
RFC
ne of the largest and busiest production environments in the world.
AOLserver is a multithreaded, Tcl-enabled web server used for large scale,
dynamic web sites.
"""
<http://www.aolserver.com/>
--
JanC
"Be strict when sending and tolerant when receiving."
RFC 1
ort cStringIO
py> import sys
py>
py> def foo():
... print "test"
...
py> f = cStringIO.StringIO()
py> sys.stdout = f
py> foo()
py> s = f.getvalue()
py> sys.stdout = sys.__stdout__
py> f.close()
py> print s.capitalize()
Test
--
JanC
"Be strict when
Terry Reedy schreef:
> "JanC" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>> I don't know if gmane keeps formating of messages intact when
>> posting? That could be an alternative too...
>
> Reading posts via gmane with Outlook
ing of messages intact when posting?
That could be an alternative too...
Or just use one of the free news servers, some of them even allow
connections on port 80. ;-)
--
JanC
"Be strict when sending and tolerant when receiving."
RFC 1958 - Architectural Principles of the Intern
ython , while not a closely-kept
> a secret as Oracle's use of Tcl, certainly isn;t as well-known as it
> deserves to be.
And since 2004-10-14, Corel uses Python too... ;-)
They bought JASC Software last year, who use Python as a scripting
language in their PaintShop Pro products.
Paul Rubin schreef:
> Java code is larger and takes longer to write, but has a higher chance
> of working properly once it compiles and passes basic tests.
That's why you can make most JSP sites useless by disabling cookies in
your browser? :-p
--
JanC
"Be strict
n practice 99,99% of the messages are in Dutch, so
reading a few messages won't help much... ;-)
--
JanC
"Be strict when sending and tolerant when receiving."
RFC 1958 - Architectural Principles of the Internet - section 3.9
--
http://mail.python.org/mailman/listinfo/python-list
wxPython
> seems to have some BIG advantages.
Robin Dunn is writing a wxPython book:
<http://article.gmane.org/gmane.comp.python.wxpython/17535>
--
JanC
"Be strict when sending and tolerant when receiving."
RFC 1958 - Architectural Principles of the Internet - section 3.9
--
http://mail.python.org/mailman/listinfo/python-list
vincent wehren schreef:
> Normally I would have thought this would require using the Microsoft
> Layer for Unicode (unicows.dll).
If Python is going to use unicows.dll, it might want to use libunicows for
compatibility with mingw etc.: <http://libunicows.sourceforge.net/>
-
indows.Forms, several Java
frameworks, ...
But even then, if DaBo ever becomes as easy to use as Delphi/VB for this
type of applications, while remaining cross-platform, that might easily
double the number of Python developers. ;-)
--
JanC
"Be strict when sending and tolerant when
rd to choose the
> "proper" one! The field of GUI tools is so fragmented
I think the field of GUI frameworks / tools for Python is fragmented
because it's fragmented outside of Python too...
--
JanC
"Be strict when sending and tolerant when receiving."
RF
spaces are in the indentation, and 4 checks for any
| tab characters in the indentation.
| 1 is a good level to use.
It's also in de wxSTC docs:
<http://www.yellowbrain.com/stc/lexing.html#setlexer>
(Below the lexers table.)
--
JanC
"Be strict when sending and tolerant when rec
hon pyd's
| and report back on what they discover...
--
JanC
"Be strict when sending and tolerant when receiving."
RFC 1958 - Architectural Principles of the Internet - section 3.9
--
http://mail.python.org/mailman/listinfo/python-list
Mike Meyer schreef:
> There was a group that made a living porting GCC to vender-specific
> hardware platforms,
Cygnus.
--
JanC
"Be strict when sending and tolerant when receiving."
RFC 1958 - Architectural Principles of the Internet - section 3.9
--
http://mail.python.org/
Tim Roberts schreef:
> I don't think that's fair. Visual C++ 7.1 is signficantly better at
> compliance than their past compilers.
AFAIK that's only for C++, not for C...?
--
JanC
"Be strict when sending and tolerant when receiving."
RFC 1958 - Architect
Jive schreef:
> P.s. Does anyone know how to make Outlook Express leave my damned
> line-ends alone? If I want line-ends. I know where to find the ENTER
> key.
Google for "oe-quotefix", but the best solution is to use a proper
newsreader. ;-)
--
JanC
"Be
Did you also think about ISPs that use such a PTR record for both dynamic
and fixed IPs?
--
JanC
"Be strict when sending and tolerant when receiving."
RFC 1958 - Architectural Principles of the Internet - section 3.9
--
http://mail.python.org/mailman/listinfo/python-list
Fuzzyman schreef:
> On the other hand the microsoft
> compiler is *better* than gcc anyway :-)
It's better at optimising, but it doesn't support standard C & C++. ;-)
--
JanC
"Be strict when sending and tolerant when receiving."
RFC 1958 - Architectural Princi
overnment (probably
something to do with posix compliancy?), but that they don't want people
to use... ;-)
--
JanC
"Be strict when sending and tolerant when receiving."
RFC 1958 - Architectural Principles of the Internet - section 3.9
--
http://mail.python.org/mailman/listinfo/python-list
Dmitry Borisov schreef:
> It has something to deal with the VBR tags( XING header ).
*If* there is a VBR tag (it's a custom extension) and *if* that VBR tag
contains a correct value.
--
JanC
"Be strict when sending and tolerant when receiving."
RFC 1958 - Architectural
l-shocked.org/article.php?id=284>
--
JanC
"Be strict when sending and tolerant when receiving."
RFC 1958 - Architectural Principles of the Internet - section 3.9
--
http://mail.python.org/mailman/listinfo/python-list
ropayment
> into place because at that level those other factors have at
> least a comparable impact.
Heh, payment to an American --> equivalent American price for Belgian
chocolate --> Belgian price for Belgian chocolate --> this will be very
cheap for me and the other Belgians
; this behavior ?
... might happen if you use a Python program to filter spam in Outlook
(e.g. SpamBayes). This error is often caused by a personal firewall
blocking such a filter program, and after a Python upgrade, every Python
program will be considered "unknown".
--
JanC
"Be strict when sending and tolerant when receiving."
RFC 1958 - Architectural Principles of the Internet - section 3.9
--
http://mail.python.org/mailman/listinfo/python-list
Nathan schreef:
> The link doesn't work -- maybe because of the new google groups
> interface?
> Can you repost with a working link?
I think it's this:
<http://groups-beta.google.com/group/comp.lang.python/browse_thread/thread/7bc765e46f2d2180>
--
JanC
"Be st
appropriate to filter out that person.
That person might be a student in some third-world country...
--
JanC
"Be strict when sending and tolerant when receiving."
RFC 1958 - Architectural Principles of the Internet - section 3.9
--
http://mail.python.org/mailman/listinfo/python-list
77 matches
Mail list logo