>> So set a long timeout when you want to write and short timeout when you
>> want to read.
>>
>
> Are sockets full duplex?
>
> I know Ethernet isn't.
Both are full duplex.
--
damjan
--
http://mail.python.org/mailman/listinfo/python-list
succed and suprise
(NOBODY expects the Spanish Inquisition!).
So that's how I see PyPy ... at the same time an interesting - let's call
it - academic experiment, but also something very close to beeing usefull
at the level of the current CPython.
--
damjan
--
http://mail.python.org/mai
ther hand Twisted probably supports more protocols right
now.
--
damjan
--
http://mail.python.org/mailman/listinfo/python-list
n. Although directly executing
> "chcp 1252" works.
Maybe try to use http://sourceforge.net/projects/console it's claimed to be
muc better than the sucky CDM (I don't have windows to try it).
--
damjan
--
http://mail.python.org/mailman/listinfo/python-list
t money is all
> about but becauce they released Qt under GPL they simply cannot
> prevent anyone from gaining money using it.
That is a mistake, the oposite of libre software is non-libre or
proprietary.
--
damjan
--
http://mail.python.org/mailman/listinfo/python-list
ther *nix-es, and on Windows this will surelly not work
--
damjan
--
http://mail.python.org/mailman/listinfo/python-list
I'm using docutils 0.4.
Is it possible to define special custom 'tags' (or something) that will
invoke my own function? The function would then return the real content in
the ReST document.
--
damjan
--
http://mail.python.org/mailman/listinfo/python-list
ocumentation describes the right way to handle thread
> synchronization in Python, and that module implements traditional
> locking approaches without reference to the GIL.
And we all hope the GIL will one day die it's natural death ...
maybe... probably.. hopefully ;)
--
damjan
--
http://mail.python.org/mailman/listinfo/python-list
:
> http://docutils.sourceforge.net/docs/howto/rst-roles.html
>
> Hope it helps.
Thanks, it looks to be exactly what I need... I'm reading it now, and will
try to implement it.
--
damjan
--
http://mail.python.org/mailman/listinfo/python-list
rn ''.join(out)
if __name__ == '__main__':
import time, sys, locale
for each in sys.argv[1:]:
name = unicode(each, locale.getpreferredencoding())
publish_cname(name)
try:
while 1: time.sleep(60)
except KeyboardInterrupt:
print "Exiting"
--
damjan
--
http://mail.python.org/mailman/listinfo/python-list
> This is a bug fix release that among other things fixes handling of
> UTF-8 byte order marks,
What are UTF-8 byte order marks ?!?
There's only one order in the UTF-8 bytes!
--
damjan
--
http://mail.python.org/mailman/listinfo/python-list
the loopback
> interface anyway, invariably regardless of host network implementation?
On linux at least, this is true, yes.
--
damjan
--
http://mail.python.org/mailman/listinfo/python-list
source today?? Isn't that what maemo uses.
I don't know about the X11 libraries, but the xcb libraries are pretty much
small too (126kb on i386 here) - there are additional libraries depending
on which features you want: render, shape, screensaver, shm, randr, dri
etc.. Shame the toolki
(and grey) when in the reflective outdoor mode.
--
damjan
--
http://mail.python.org/mailman/listinfo/python-list
d there are a lot of other projects that install custom
scripts.
--
damjan
--
http://mail.python.org/mailman/listinfo/python-list
I servers:
http://www.saddi.com/software/flup/
The WSGI specification:
http://www.python.org/peps/pep-0333.html
ps.
It would be nice if others supplied some interesting WSGI resources too.
--
damjan
--
http://mail.python.org/mailman/listinfo/python-list
ns. I wouldn't recommend that on a production
machine though.
The logfile is stored in /var/lib/mysql/.log
--
damjan
--
http://mail.python.org/mailman/listinfo/python-list
jsp?thread=158191
[3] http://www.owlfish.com/software/wsgiutils/
--
damjan
--
http://mail.python.org/mailman/listinfo/python-list
rint i, x, y
for i, (x, y) in enumerate(coords(dots)):
print i, x, y
--
damjan
--
http://mail.python.org/mailman/listinfo/python-list
ave 100 items in the slice... 300, 301,... 399 that's 100 items.
--
damjan
--
http://mail.python.org/mailman/listinfo/python-list
gically to work then? Is there some work done on this for python 3.0
or 2.6 perhaps?
--
damjan
--
http://mail.python.org/mailman/listinfo/python-list
>> My question is, shoudn't it be enough to set PYTHONPATH and everything
>> automagically to work then? Is there some work done on this for python
>> 3.0 or 2.6 perhaps?
>
> I'm working on a PEP for a per user site dir for 2.6 and 3.0
great .. can
> Cool, but sched saves job in memory...
>
> cron can't be an option. It's just a scheduler not a job queue.
You could probably make lpd do what you want to do.
--
damjan
--
http://mail.python.org/mailman/listinfo/python-list
like to bash up on the GIL,
> within Apache it is not necessarily as big a deal as people make out.
BTW nginx now has a mod_wsgi too, if someone is looking for an Apache
replacement.
--
damjan
--
http://mail.python.org/mailman/listinfo/python-list
eed to install the "build-essential" pacakge group on Ubuntu so that
you can compile programs.
apt-get install build-essential
> limits.h: No such file or directory
This is probably /usr/include/linux/limits.h part of the kernel headers.
--
damjan
--
http://mail.python.org/mailman/listinfo/python-list
ftware, at the same time suffocating the old
software, and denying anyone the oportunity to maintain that old software
(part because it's closed-source, part because MS will sue you if try
anything close to that).
--
damjan
--
http://mail.python.org/mailman/listinfo/python-list
> to apache's httpd.conf, apache refuses to start, saying:
> "cannot load c://mod_python.so into server: the specified module
> could not be found"
which probably means that mod_python.so is not in that directory?
--
http://mail.python.org/mailman/listinfo/python-list
TurboGears?
www.turbogears.com
--
http://mail.python.org/mailman/listinfo/python-list
_.py --config
instead of::
python -m mypackage --config
the difference in the 2 cases is what the current package is, and
whether you can use relative imports.
--
damjan
--
http://mail.python.org/mailman/listinfo/python-list
> How can I get the *really* original command line that started my python
> interpreter?
>
> Werkzeug has a WSGI server which reloads itself when files are changed
> on disk. It uses `args = [sys.executable] + sys.argv` to kind of
> recreate the command line, and the uses subprocess.call to run th
e imports are a
bad idea.
How come?
I'm using explicit relative imports, I thought they were the new thing?
--
damjan
--
http://mail.python.org/mailman/listinfo/python-list
uchdbkit and Psycopg2 in their
documentation.
> can someone suggest some solutions or is async-io is not at the prime-
> time yet.
--
damjan
--
http://mail.python.org/mailman/listinfo/python-list
new line printed
by "ip" and the process continues to run forever.
--
damjan
--
http://mail.python.org/mailman/listinfo/python-list
I want to read the stream of an external process that I start with Python.
From what I've seen that's not possible with the subprocess module?
I want to read the output of "ip monitor neigh" which will show changes in
the ARP table on my Linux computer. Each change is a new line printed by
"ip"
ser
the same without pip
--
damjan
--
http://mail.python.org/mailman/listinfo/python-list
e response, it seems my NNTP server doesn't relay all
messages. I might need to switch.
--
damjan
--
http://mail.python.org/mailman/listinfo/python-list
Dear all
I am totally new in learning Python and i am learning from a beginner's book
called automate the boring stuff with Python and i downloaded the Python 64 bit
version for Windows and i started writing some examples from the book. At the
end whenever i try to run the program i keep gettin
i am sorry but i can not find a way to attach an image here so you can see what
i mean. Please someone tell me how to add an image here.
Thanks
Dan
--
https://mail.python.org/mailman/listinfo/python-list
101 - 138 of 138 matches
Mail list logo