Re: socket read timeout

2007-03-29 Thread Damjan
>> 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

PyPy for dummies

2007-03-29 Thread Damjan
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

Re: frame of Qt program

2007-04-02 Thread Damjan
ther hand Twisted probably supports more protocols right now. -- damjan -- http://mail.python.org/mailman/listinfo/python-list

Re: I18n issue with optik

2007-04-02 Thread Damjan
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

Re: About Trolltech QT OpenSource license.

2007-04-10 Thread Damjan
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

Re: annoying stdin/stdout + pipes problem

2007-09-23 Thread Damjan
ther *nix-es, and on Windows this will surelly not work -- damjan -- http://mail.python.org/mailman/listinfo/python-list

Question about docutils

2007-01-24 Thread Damjan
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

Re: The reliability of python threads

2007-01-24 Thread Damjan
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

Re: Question about docutils

2007-01-25 Thread Damjan
: > 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

Re: problems with pyzeroconf and linux

2007-01-27 Thread Damjan
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

Re: ANN: Wing IDE 2.1.4 Released

2007-02-09 Thread Damjan
> 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

Re: Approaches of interprocess communication

2007-02-17 Thread Damjan
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

Re: Low-overhead GUI toolkit for Linux w/o X11?

2007-11-06 Thread Damjan
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

Re: OPLC purchase period extended

2007-11-25 Thread Damjan
(and grey) when in the reflective outdoor mode. -- damjan -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Eggs Just install in *ONE* place? Easy to uninstall?

2006-05-08 Thread Damjan
d there are a lot of other projects that install custom scripts. -- damjan -- http://mail.python.org/mailman/listinfo/python-list

Re: converting to scgi

2006-05-08 Thread Damjan
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

Re: MySQLdb - parameterised SQL - how to see resulting SQL ?

2006-05-17 Thread Damjan
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

Re: Dumb-as-rocks WSGI serving using standard library

2006-05-22 Thread Damjan
jsp?thread=158191 [3] http://www.owlfish.com/software/wsgiutils/ -- damjan -- http://mail.python.org/mailman/listinfo/python-list

Re: enumerate() question

2006-05-22 Thread Damjan
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

Re: how to clear up a List in python?

2006-05-25 Thread Damjan
ave 100 items in the slice... 300, 301,... 399 that's 100 items. -- damjan -- http://mail.python.org/mailman/listinfo/python-list

virtualpython / workingenv / virtualenv ... shouldn't this be part of python

2008-01-11 Thread Damjan
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

Re: virtualpython / workingenv / virtualenv ... shouldn't this be part of python

2008-01-15 Thread Damjan
>> 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&#

Re: TheSchwartz in Python?

2008-02-06 Thread Damjan
> 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

Re: Beta testers needed for a high performance Python application server

2008-03-25 Thread Damjan
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

Re: Pystemmer 1.0.1 installation problem in Linux

2008-03-27 Thread Damjan
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

Re: py3k s***s

2008-04-16 Thread Damjan
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

Re: mod_python + apache + winxp => nogo

2006-04-08 Thread Damjan
> 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

Re: Is there a Python MVC that works just as well with just CGI, or FCGI?

2006-04-10 Thread Damjan
TurboGears? www.turbogears.com -- http://mail.python.org/mailman/listinfo/python-list

The original command python line

2012-03-03 Thread Damjan Georgievski
_.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

Re: The original python command line

2012-03-03 Thread Damjan Georgievski
> 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

Re: The original command python line

2012-03-03 Thread Damjan Georgievski
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

Re: Async IO Server with Blocking DB

2012-04-06 Thread Damjan Georgievski
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

How can I read streaming output of a subprocess

2012-05-02 Thread Damjan Georgievski
new line printed by "ip" and the process continues to run forever. -- damjan -- http://mail.python.org/mailman/listinfo/python-list

Re: How can I read streaming output of a subprocess

2012-05-02 Thread Damjan Georgievski
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"

PEP 405 vs 370

2012-05-25 Thread Damjan Georgievski
ser the same without pip -- damjan -- http://mail.python.org/mailman/listinfo/python-list

Re: PEP 405 vs 370

2012-05-27 Thread Damjan Georgievski
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

I keep getting this error message when i try to run a program in Python

2018-03-22 Thread Damjan Stojanovski
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

Re: I keep getting this error message when i try to run a program in Python

2018-03-22 Thread Damjan Stojanovski
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

<    1   2