Re: Assignment and comparison in one statement

2008-05-24 Thread Jarek Zgoda
ue, because it succeeds always. While call to myfunction can return any value, binding it to name p has no value at all. Tell us your objective, so we could show you "proper way" (tm). ;) -- Jarek Zgoda http://zgodowie.org/ "We read Knuth so you don't have to" - Tim Peters -- http://mail.python.org/mailman/listinfo/python-list

Re: Variable by label

2008-05-16 Thread Jarek Zgoda
now, but I would really like to > find out how it can be done. I guess it is achievable. getattr(object, attrname, default) -- Jarek Zgoda Skype: jzgoda | GTalk: [EMAIL PROTECTED] | voice: +48228430101 "We read Knuth so you don't have to." (Tim Peters) -- http://mail.python.org/mailman/listinfo/python-list

Re: pygtk + threading.Timer

2008-04-14 Thread Jarek Zgoda
of gtk main loop and only then they occur. > Thanks in advance See gobject.timeout_add documentation in pygtk reference -- Jarek Zgoda Skype: jzgoda | GTalk: [EMAIL PROTECTED] | voice: +48228430101 "We read Knuth so you don't have to." (Tim Peters) -- http://mail.python.org/mailman/listinfo/python-list

Re: How to make a "command line basd" interactive program?

2008-04-11 Thread Jarek Zgoda
" command, after that, you can work under a prompt, for > example, " - >> ", and then you can execute any commands what you > defined in script. > > Now, in python, are there any common way(class) to finish this work? > or does anybody has a example to do tha

Re: Parsing locale specific dates, currency, numbers

2008-04-09 Thread Jarek Zgoda
tive data > types on the basis of a specified locale? > > In other words, a module that will reverse the outputs of locale on a > locale specific basis. There are some attempts in Babel (http://babel.edgewall.org/), but the devs themselves claim the routines are incomplete. You might want

Re: is Pylons alive?

2008-04-09 Thread Jarek Zgoda
time for investigating, I would like to ask you: is > Pylons the framework I look for if I want to come back to Python and > develop MVC web apps? Latest commit is dated 2008-04-06, so I suppose it's alive, just no release was done in last time. -- Jarek Zgoda Skype: jzgoda | GTalk: [EMAIL

Re: csv.DictReader and unicode

2008-04-07 Thread Jarek Zgoda
n is thrown in csv.py. How it is possible? > The csv.DictReader should not use ascii codec for anything, because the > file encoding is UTF-8. Reader works with byte strings, not unicode objects. -- Jarek Zgoda Skype: jzgoda | GTalk: [EMAIL PROTECTED] | voice: +48228430101 "We read Knuth so you don't have to." (Tim Peters) -- http://mail.python.org/mailman/listinfo/python-list

Re: object-relational mappers

2008-04-03 Thread Jarek Zgoda
f course - IOW, do what works best for you. I like OR mappers, they save me lot of work. The problem is, all of them are very resource hungry, processing resultset of 300k objects one by one can effectively kill most of commodity systems. This is where raw SQL comes in handy. -- Jarek

Re: Why does python behave so? (removing list items)

2008-03-26 Thread Jarek Zgoda
;>> del j[0] >>>> j > [1, 2, 3, 4, 5] >>>> k > [1, 2, 3, 4, 5] > > Shouldn't k remain the same? No further comments on this. -- Jarek Zgoda http://zgodowie.org/ "We read Knuth so you don't have to" - Tim Peters -- http://mail.python.org/mailman/listinfo/python-list

Re: PyGTK localisation on Win32

2008-03-25 Thread Jarek Zgoda
.glade.textdomain(appname) gettext.install(appname, translation_dir, unicode=True) Be aware, that you can not change the locale setting from the command line like you do on Linux. -- Jarek Zgoda http://zgodowie.org/ "We read Knuth so you don't have to" - Tim Peters -- http://mail.python.org/mailman/listinfo/python-list

Re: sendmail should throw an exception but does not

2008-03-25 Thread Jarek Zgoda
ne. Good guess -- this is not possible until you (or your server) actually send an email. You can send a big "THANKYOU" to spammers, because their activity caused nearly all mail server admins to disable VRFY command that is supposed to do what you need. -- Jarek Zgoda Skype: jzgoda |

Re: sendmail should throw an exception but does not

2008-03-25 Thread Jarek Zgoda
tion mail server is > not is not forwarded to the client by my mail server. Your local smtpd accepted the message for delivery, so everythong seems to be OK. Following communication takes place between mail servers, so your program has no possibility to know anything went wrong. -- Jarek

Re: Get actual call signature?

2008-03-18 Thread Jarek Zgoda
[EMAIL PROTECTED] pisze: > On Mar 18, 5:40 am, Jarek Zgoda <[EMAIL PROTECTED]> wrote: >> Say, I have a function defined as: >> >> def fun(arg_one, arg_two='x', arg_three=None): >> pass >> >> Is there any way to get actual arguments that w

Get actual call signature?

2008-03-18 Thread Jarek Zgoda
ts not only passed arguments, but also defaults that will be actually used in execution. If this sounds not feasible (or is simply impossible), I'll happily throw this idea and look for another one. ;) -- Jarek Zgoda Skype: jzgoda | GTalk: [EMAIL PROTECTED] | voice: +48228430101 "We read Knuth so you don't have to." (Tim Peters) -- http://mail.python.org/mailman/listinfo/python-list

Re: PyCon Feedback and Volunteers (Re: Pycon disappointment)

2008-03-17 Thread Jarek Zgoda
ly lower than it is") - it's up to others > to weigh in and give their opinion, I think. EUR 100 does not seem too high as early bird registration fee, so the most intimidating costs (for me at least) is accomodation and travel. I mean, lowering the fee would be nice, but not essent

Re: Installing Python2.4 on RHEL4?

2008-03-14 Thread Jarek Zgoda
/ > how I can find Python2.4 for RHEL4 x64? If you would not find a binary Python 2.4 package, you can always build your own and package it. Why not? -- Jarek Zgoda http://zgodowie.org/ "We read Knuth so you don't have to" - Tim Peters -- http://mail.python.org/mailman/listinfo/python-list

Re: List mutation method gotcha - How well known?

2008-03-14 Thread Jarek Zgoda
ls that should not be relied on). The fact that it returns None > is just a "coincidence" that happens to happen every time you tested > it (you can't prove by ignorance) I think in Python there's no notion of "void" return type. Deliberate choice to return None for

Re: URLlib2?

2008-02-28 Thread Jarek Zgoda
t;> >> Using httplib you can issue HEAD request to check if it does not return >> 404 response, but this works only with HTTP/HTTPS urls. >> > It's unlikely that any other type of URL would result in the browser > sending a "Referer:" header. Right, perfectly v

Re: URLlib2?

2008-02-28 Thread Jarek Zgoda
check if it does not return 404 response, but this works only with HTTP/HTTPS urls. -- Jarek Zgoda Skype: jzgoda | GTalk: [EMAIL PROTECTED] | voice: +48228430101 "We read Knuth so you don't have to." (Tim Peters) -- http://mail.python.org/mailman/listinfo/python-list

Re: is this data structure build-in or I'll have to write my own class?

2008-02-20 Thread Jarek Zgoda
ur objective? From the description of this recipe I cann't get your use case. -- Jarek Zgoda Skype: jzgoda | GTalk: [EMAIL PROTECTED] | voice: +48228430101 "We read Knuth so you don't have to." (Tim Peters) -- http://mail.python.org/mailman/listinfo/python-list

Re: Garbage collection

2008-02-19 Thread Jarek Zgoda
by GC (for example when the object is destroyed upon program exit), the CPython docs read that this is the case for Python too. Is this behaviour standard for all VM implementations or is implementation-dependent (CPython, Jython, IronPython)? -- Jarek Zgoda Skype: jzgoda | GTalk: [EMAIL PROTECTE

Re: Garbage collection

2008-02-19 Thread Jarek Zgoda
Is that true assumption that __del__ has the same purpose (and same limitations, i.e. the are not guaranteed to be fired) as Java finalizer methods? -- Jarek Zgoda Skype: jzgoda | GTalk: [EMAIL PROTECTED] | voice: +48228430101 "We read Knuth so you don't have to." (Tim Peters) -- htt

Re: ANN: NUCULAR B3 Full text indexing (now on Win32 too)

2008-02-14 Thread Jarek Zgoda
loser now; I haven't yet had a chance to look at the new > release. > > I don't know what Sphinx is. http://www.sphinxsearch.com/ -- Jarek Zgoda Skype: jzgoda | GTalk: [EMAIL PROTECTED] | voice: +48228430101 "We read Knuth so you don't have to." (Tim Peters) -- http://mail.python.org/mailman/listinfo/python-list

Re: ANN: NUCULAR B3 Full text indexing (now on Win32 too)

2008-02-14 Thread Jarek Zgoda
e Nucular with Solr and Sphinx feature-by-feature? -- Jarek Zgoda Skype: jzgoda | GTalk: [EMAIL PROTECTED] | voice: +48228430101 "We read Knuth so you don't have to." (Tim Peters) -- http://mail.python.org/mailman/listinfo/python-list

Re: Write ooxml .ods (spreadsheat) from python?

2008-02-13 Thread Jarek Zgoda
he python scripting language. It additionally allows > others to develop UNO components in python, thus python UNO components > may be run within the OpenOffice.org process and can be called from C++ > or the built in StarBasic scripting language. > . > You can more information abo

Re: Help with jabber client in wx

2008-02-11 Thread Jarek Zgoda
it doesnt detect the > disconnection properly. What am I doing wrong in the xmpppy > classes/methods? If you want to use xmppy, I'd suggest looking at Gajim team modifications to original source (http://gajim.org/). These guys did a whole lot of work making xmppy more standards

Re: Updating documents in PyLucene

2008-01-31 Thread Jarek Zgoda
k. Anyway, you may get some hints on lucene mailing list. -- Jarek Zgoda Skype: jzgoda | GTalk: [EMAIL PROTECTED] | voice: +48228430101 "We read Knuth so you don't have to." (Tim Peters) -- http://mail.python.org/mailman/listinfo/python-list

Re: Set ulimit when using subprocess.Popen?

2008-01-28 Thread Jarek Zgoda
Rob Wolfe napisał(a): > > Jarek Zgoda napisał(a): >> Hi, all, >> >> anybody has an idea on how to set ulimit (-v in my case, linux) for >> process started using subprocess.Popen? > > What about: > > from subprocess import call > call(&#

Set ulimit when using subprocess.Popen?

2008-01-28 Thread Jarek Zgoda
Hi, all, anybody has an idea on how to set ulimit (-v in my case, linux) for process started using subprocess.Popen? -- Jarek Zgoda Skype: jzgoda | GTalk: [EMAIL PROTECTED] | voice: +48228430101 "We read Knuth so you don't have to." (Tim Peters) -- http://mail.python.org/m

Re: optional static typing for Python

2008-01-27 Thread Jarek Zgoda
000? Which calendar do you use? Static typing in Python is usual theme of april fools jokes. -- Jarek Zgoda http://zgodowie.org/ "We read Knuth so you don't have to" - Tim Peters -- http://mail.python.org/mailman/listinfo/python-list

Re: optional static typing for Python

2008-01-27 Thread Jarek Zgoda
Russ P. pisze: > I noticed that Guido has expressed further interest in static typing > three or four years ago on his blog. Does anyone know the current > status of this project? Thanks. I thought it was april fools joke? -- Jarek Zgoda http://zgodowie.org/ "We read Knuth so

Re: Why not 'foo = not f' instead of 'foo = (not f or 1) and 0'?

2008-01-23 Thread Jarek Zgoda
perverse code care about the difference. Twisted sems to be perverted to the root. -- Jarek Zgoda Skype: jzgoda | GTalk: [EMAIL PROTECTED] | voice: +48228430101 "We read Knuth so you don't have to." (Tim Peters) -- http://mail.python.org/mailman/listinfo/python-list

Re: [python] How to detect a remote webpage is accessible? (in HTTP)

2008-01-18 Thread Jarek Zgoda
it > is no need to download > the entire page. Could you give me a good and fast solution? > Thank you. Issue HTTP HEAD request. -- Jarek Zgoda Skype: jzgoda | GTalk: [EMAIL PROTECTED] | voice: +48228430101 "We read Knuth so you don't have to." (Tim Peters) -- http://mail.python.org/mailman/listinfo/python-list

Re: MySQL-python-1.2.2 install with no mysql

2008-01-15 Thread Jarek Zgoda
ointing correctly to it... : You need to install -dev package too. -- Jarek Zgoda Skype: jzgoda | GTalk: [EMAIL PROTECTED] | voice: +48228430101 "We read Knuth so you don't have to." (Tim Peters) -- http://mail.python.org/mailman/listinfo/python-list

Re: MySQL-python-1.2.2 install with no mysql

2008-01-15 Thread Jarek Zgoda
How can I install MySQL-python-1.2.2 without installing MySQL??? In short: without installing client libraries you cann't. -- Jarek Zgoda Skype: jzgoda | GTalk: [EMAIL PROTECTED] | voice: +48228430101 "We read Knuth so you don't have to." (Tim Peters) -- http://mail.python.org/mailman/listinfo/python-list

Re: Pet Store

2008-01-08 Thread Jarek Zgoda
me best practices, such as those famous "Java > Pet Store" apps, I think that would help me to fill up some gaps in my > learning process. Does anybody know any app like that? TurboGears and Pylons both have "wiki" tutorials. Django has "poll" tutorial. There

Re: Question on os.tempnam() vulnerability

2008-01-05 Thread Jarek Zgoda
> it? I never figured out a way to do that and had to fall back > on the "unsafe" tmpnam method. I think it's all impossible to get only file name and feel safe. You have to have both file name and a file object opened exclusively for you. Any other way you'll get a possibl

Re: standalone python web server

2007-12-27 Thread Jarek Zgoda
> details like processing image file, different file type(like FLV) .. > etc. Any recommendation or tools suggested for me? You'd have to write it on your own anyway if you do not want to use ready-made server software like lighttpd or nginx. -- Jarek Zgoda Skype: jzgoda | GTalk:

Re: lotus nsf to mbox

2007-12-15 Thread Jarek Zgoda
ample few years ago. -- Jarek Zgoda http://zgodowie.org/ -- http://mail.python.org/mailman/listinfo/python-list

Re: High speed web services

2007-12-14 Thread Jarek Zgoda
herbasher pisze: > How do I built highly available and lighting fast Python webservice? Write optimized code and use it in conjunction with twisted.web. -- Jarek Zgoda http://zgodowie.org/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Why did no one tell me about import antigravity?

2007-12-05 Thread Jarek Zgoda
hort programs in Python yesterday. It was > wonderful. Perl, I'm leaving you." XKCD is greatly undervaluated. Overall, it's very intelligent. -- Jarek Zgoda Skype: jzgoda | GTalk: [EMAIL PROTECTED] | voice: +48228430101 "We read Knuth so you don't have to." (Tim Peters) -- http://mail.python.org/mailman/listinfo/python-list

Re: Add speller to Python application

2007-11-26 Thread Jarek Zgoda
helzer napisał(a): > I need to add spell checking to my Python application (for Windows). > Any ideas on where to start? There is Python2.4 compatible binary of aspell-python available at http://www.wmula.republika.pl/proj/aspell-python/index-c.html -- Jarek Zgoda Skype: jzgoda | GTalk:

[announce] WARPY, Nov. 29, Warsaw, Poland

2007-11-26 Thread Jarek Zgoda
ython. See you there! -- Jarek Zgoda Skype: jzgoda | GTalk: [EMAIL PROTECTED] | voice: +48228430101 "We read Knuth so you don't have to." (Tim Peters) -- http://mail.python.org/mailman/listinfo/python-list

Re: mimicking a file in memory

2007-11-20 Thread Jarek Zgoda
mory and still be able to hand the built-in "file" > function a filename to access the file in memory. > > Any ideas on how to do this? Try with StringIO/cStringIO, these modules are supposed to give you in-memory objects compatible with file object interface. -- Jarek Zgoda http://zgodowie.org/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Excellent sci-fi novel featuring Python

2007-11-17 Thread Jarek Zgoda
27;s not that hard to believe, since Python 3000 was a mythical monster (not even like Perl 6) until recently. If the book was written around 2005 or even 2004... -- Jarek Zgoda http://zgodowie.org/ -- http://mail.python.org/mailman/listinfo/python-list

Re: pygobject replacement?

2007-11-14 Thread Jarek Zgoda
gnal behaviour you have to use eg. threads. -- Jarek Zgoda Skype: jzgoda | GTalk: [EMAIL PROTECTED] | voice: +48228430101 "We read Knuth so you don't have to." (Tim Peters) -- http://mail.python.org/mailman/listinfo/python-list

Re: Moving from java to python.

2007-11-12 Thread Jarek Zgoda
[EMAIL PROTECTED] napisał(a): > def getConnected(self): > return self._connected No need to use accessors. Just plain attribute lookup is sufficient. -- Jarek Zgoda Skype: jzgoda | GTalk: [EMAIL PROTECTED] | voice: +48228430101 "We read Knuth so you don'

Re: Some "pythonic" suggestions for Python

2007-11-08 Thread Jarek Zgoda
Frank Samuelson pisze: > foo = function(x,y) x+y*2 # Example S language code Ugly. -- Jarek Zgoda http://zgodowie.org/ -- http://mail.python.org/mailman/listinfo/python-list

Re: calling a function from string

2007-10-22 Thread Jarek Zgoda
' > a_string_2 = 'datetime.' + 'today()' > > eval(a_string_1)() > eval(a_string_2) Do not use eval(). Not only it's deprecated, it's also unsafe. -- Jarek Zgoda Skype: jzgoda | GTalk: [EMAIL PROTECTED] | voice: +48228430101 "We read Knuth so you don't have to." (Tim Peters) -- http://mail.python.org/mailman/listinfo/python-list

Re: dynamic invoke

2007-10-22 Thread Jarek Zgoda
t;convert" anything. The abstraction of "function pointer" is also wrong here, it's a reference to an object (any object, not just function). The result might seems similar, but works quite differently. -- Jarek Zgoda Skype: jzgoda | GTalk: [EMAIL PROTECTED] | voice: +482284301

Re: DIAGNOSIS: Racism moves back to Denmark from South Africa

2007-10-19 Thread Jarek Zgoda
Denmark? Let them thank God they didn't sent Poles there. The rivers would flow with blood. Leaving blood flowing is their well-known national sport. -- Jarek Zgoda http://jpa.berlios.de/ -- http://mail.python.org/mailman/listinfo/python-list

Re: How to use module audit-lib ?

2007-10-19 Thread Jarek Zgoda
Sébastien Weber napisał(a): > I've installed the python-audit-lib module but there's no documentation. > Does someone know how to use it ? I don't know this package, but why did you install it? Maybe somebody in Überwald knows its usage? -- Jarek Zgoda http://jpa

Re: dynamic invoke

2007-10-19 Thread Jarek Zgoda
;t find a good solution to do the same thing in > python. Does it have some build-in function to do it? foo = getattr(module_or_object, 'function_name') foo() -- Jarek Zgoda Skype: jzgoda | GTalk: [EMAIL PROTECTED] | voice: +48228430101 "We read Knuth so you don't have to." (Tim Peters) -- http://mail.python.org/mailman/listinfo/python-list

Re: Python "implements " equivalent?

2007-10-04 Thread Jarek Zgoda
eaturePresent() in all of > their different and unique ways. I'd love to hear how I can do this in > Python. I am sure you wouldn't need interfaces to do such things in Python. "Duck typing" is how we call this feature. :) -- Jarek Zgoda Skype: jzgoda | GTalk: [EMAIL PRO

Re: Django for database driven web application is OK?

2007-10-03 Thread Jarek Zgoda
anagement etc? No. Yes. I mean, Django is good in building CMS-like apps but is not a framework for building CMS-like apps. For example, the largest community site in Poland http://grono.net/ is built with Django. My company does other interesting things in Django, completely unrelated to CMS/web

Re: Https conversation - debug?

2007-09-14 Thread Jarek Zgoda
Johny napisał(a): > Is there any good sniffer for https protocol? > How can be watched https conversation? Any packet sniffer will do. Then you have to decrypt the stream. ;) -- Jarek Zgoda http://jpa.berlios.de/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Let's Unite Against Jews and Mongrels!

2007-09-03 Thread Jarek Zgoda
Barry OGrady napisał(a): > What could anyone have against mongrels? You clearly don't know how abusive ROR can be. -- Jarek Zgoda http://jpa.berlios.de/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Python object <-> XML

2007-09-03 Thread Jarek Zgoda
the instance, and > save the result back to XML? Yea, use ElementTree and you'd get a bunch of nested lists of very simple objects. -- Jarek Zgoda http://jpa.berlios.de/ -- http://mail.python.org/mailman/listinfo/python-list

Re: GUI and distrubution

2007-08-24 Thread Jarek Zgoda
de pyinstaller, py2exe, py2app, Tkinter, wxPython, PyQt, >> and pyGTK. > > One of these days, someone needs to write a tutorial on distributing for > the Big 3 (Linux, OSX, and Amiga--or was that last one supposed to be > M$?). That would make 12 howto's (4 GUI pl

Re: MsiLib

2007-08-22 Thread Jarek Zgoda
t not working that should and my system is screwed up > somewhere? Thanks. > > import msilib > > c = msilib.OpenDatabase('test.msi', MSIDBOPEN_READONLY) I think this should read msilib.MSIDBOPEN_READONLY. -- Jarek Zgoda http://jpa.berlios.de/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Dies on "make install"

2007-08-10 Thread Jarek Zgoda
roblem exactly, but in my case the installation succeeded if I removed prevoius python's library directory (/usr/lib/python2.x or /usr/local/lib/python2.x). The module that stopped installation was exactly the same. -- Jarek Zgoda http://jpa.berlios.de/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Heterogeneous lists

2007-08-07 Thread Jarek Zgoda
type'. I often have instances of different > - possibly unrelated - classes in a same list. Fact is that these > instances usually share a common (implied) interface, but, well, > sometimes they don't... I love my lists of classes. I know, I'll go to hell for that. -- Jarek

Re: Determining if file is valid image file

2007-08-02 Thread Jarek Zgoda
, you have to use some image manipulation program (or library), like ImageMagick (or PIL). Sometimes imghdr.what() is enough, sometimes you need more. ;) -- Jarek Zgoda http://jpa.berlios.de/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Determining if file is valid image file

2007-08-02 Thread Jarek Zgoda
interesting in validating the file *content* >>> - not the filename :-) >> Is the module imghdr enough for your needs? > > Yes, thanks. Be aware that broken images (i.e. partially downloaded) in many cases pass the imghdr.what() test. This function checks for patterns in files, just like "file" utility. -- Jarek Zgoda http://jpa.berlios.de/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Determining if file is valid image file

2007-08-02 Thread Jarek Zgoda
ters to existing modules or examples would be >> appreciated. >> >> The reason why I'd prefer not using PIL is that I'd like to bundle >> such a function/module in my app. >> >> André > > I should have added: I'm interesting in validating the file *content

Re: Where do they tech Python officialy ?

2007-07-24 Thread Jarek Zgoda
hen they spend all the money on > useless electronic junk so they still live like bums. There is only > one reason to be a programmer, which is that the drive to program > burns in you like a fire. But in that case don't ask how to become a > programmer, because you are already one,

Re: how good does PyGTK work on windows?

2007-07-16 Thread Jarek Zgoda
some people mention newer versions (2.8 and on) performing bit unstable, I did not realize any instabilities. Just use package from gladewin32 project, there are separate downloads with development tools and without. Then just install pycairo, pygobject and pygtk packages from PyGTK project. --

Re: Samodzielny program pod linuksem

2007-07-12 Thread Jarek Zgoda
ng.python so I'd just set FUT. -- Jarek Zgoda Skype: jzgoda | GTalk: [EMAIL PROTECTED] | voice: +48228430101 "We read Knuth so you don't have to." (Tim Peters) -- http://mail.python.org/mailman/listinfo/python-list

Re: just a bug

2007-05-25 Thread Jarek Zgoda
rt of string. It's a part of byte stream, split in a middle of multibyte-encoded character. You cann't get only dot from small letter "i" and ask the parser to treat it as a complete "i". -- Jarek Zgoda http://jpa.berlios.de/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Reading (and writing?) audio file tags

2007-05-25 Thread Jarek Zgoda
it via Google's cache, and the download link still worked :-) Guys from QuodLibet seem still block access for MSIE users. Anyway, you may try to get Mutagen source from subversion: $ svn co http://svn.sacredchao.net/svn/quodlibet/trunk/mutagen -- Jarek Zgoda "We read Knuth so you d

Re: (Modular-)Application Framework / Rich-Client-Platform in Python

2007-05-18 Thread Jarek Zgoda
lipse RCP allows building applications as a set of pluggable features over common runtime. While not a "mark-and-drop" solution yet, it's a great leap forward in Java desktop applications. There's more to Eclipse that just IDE. ;) -- Jarek Zgoda http://jpa.berlios.de/ -- http://mail.python.org/mailman/listinfo/python-list

Re: (Modular-)Application Framework / Rich-Client-Platform in Python

2007-05-18 Thread Jarek Zgoda
The key is not "Eclipse" itself, but the whole Eclipse Platform. See http://wiki.eclipse.org/index.php/Rich_Client_Platform -- Jarek Zgoda "We read Knuth so you don't have to." -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Web Programming - looking for examples of solid high-traffic sites

2007-05-18 Thread Jarek Zgoda
ww.youtube.com/results.php > http://www.youtube.com/results.py Server signature is usually configurable. -- Jarek Zgoda "We read Knuth so you don't have to." -- http://mail.python.org/mailman/listinfo/python-list

Re: (Modular-)Application Framework / Rich-Client-Platform in Python

2007-05-18 Thread Jarek Zgoda
The one that mostly resembles such approach is PIDA (http://www.pida.co.uk/), which is built around the concept of pluggable views and services, but again, this is far from Eclipse RCP. -- Jarek Zgoda "We read Knuth so you don't have to." -- http://mail.python.org/mailman/listinfo/python-list

Re: (Modular-)Application Framework / Rich-Client-Platform in Python

2007-05-18 Thread Jarek Zgoda
pping up > something simple myself, but I thought, I'd ask here before diving into it. There are few GUI frameworks building on various toolkits. I used to use Kiwi for PyGTK, it's mature and stable, although the approach is not the same as, for example, Delphi. -- Jarek Zgoda &q

Re: alternative to eclipse [ python ide AND cvs ]

2007-05-18 Thread Jarek Zgoda
//www.pida.co.uk/. Looks promising. -- Jarek Zgoda "We read Knuth so you don't have to." -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Web Programming - looking for examples of solid high-traffic sites

2007-05-17 Thread Jarek Zgoda
dn't worry about their _versions_." The > main reason for that is that we want to debug our own bugs, but not > the bugs in our tools. I don't think you find anything even remotely resembling that idea here. Moreover, I don't think you find it elsewhere. Maybe even such tools do

Re: Iron Python

2007-05-15 Thread Jarek Zgoda
BartlebyScrivener napisał(a): >>>> Anybody tried it? >>> Me. >> Me too. > > Anybody like it? Tried id, did not found any use, put on shelf. Don't know if this case fits "likes" or "doesn't like". ;) -- Jarek Zgoda "We

Re: Iron Python

2007-05-15 Thread Jarek Zgoda
Jon Harrop napisał(a): > Anybody tried it? Me. -- Jarek Zgoda "We read Knuth so you don't have to." -- http://mail.python.org/mailman/listinfo/python-list

Re: GUI tutorial

2007-05-14 Thread Jarek Zgoda
y work colleagues, most of whom have never > used a command line, to use. Each of GUI frameworks/libraries has its own tutorial and some even more than one... The choice is directly related to what library you would use. -- Jarek Zgoda "We read Knuth so you don't have to."

Re: GUI tutorial

2007-05-14 Thread Jarek Zgoda
frame page so I can't link directly, but select "GUI > Programming" under Advanced Topics on the left. wxPython section of this tutorial seems bit outdated (the code resembles what was required in time of wxPython 2.4). Anyway, the explanation of event-driven approach is essential.

Re: Asyncore Help?

2007-05-14 Thread Jarek Zgoda
Daniel Nogradi napisał(a): > The twisted project might also be a good place for anything related to > python and networking: http://twistedmatrix.com/trac/ Twisted eats babies for breakfast, although it also kills all known germs(TM). ;) -- Jarek Zgoda "We read Knuth so you do

Re: PEP 3131: Supporting Non-ASCII Identifiers

2007-05-14 Thread Jarek Zgoda
ts, such as greek and cyrillic (I was attending school in time when learning Russian was obligatory in Poland and later I learned Greek), there are a plenty I wouldn't be able to read, such as Hebrew, Arabic or Persian. -- Jarek Zgoda "We read Knuth so you don't have to." -- http://mail.python.org/mailman/listinfo/python-list

Re: PEP 3131: Supporting Non-ASCII Identifiers

2007-05-13 Thread Jarek Zgoda
ure this would fit perfectly. -- Jarek Zgoda http://jpa.berlios.de/ -- http://mail.python.org/mailman/listinfo/python-list

Re: PEP 3131: Supporting Non-ASCII Identifiers

2007-05-13 Thread Jarek Zgoda
ords. This is one of least disturbing difficulties when it comes to programming. -- Jarek Zgoda http://jpa.berlios.de/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Gui thread and async jobs.

2007-05-09 Thread Jarek Zgoda
nd it for the environment with "high density" of events. If your application dispatches a message then sits idle for some time, Louie will fit perfectly as the queuing of messages will not happen. Otherwise there would be no advantage other than code simplification. And this counts always. :) --

Re: chdir()

2007-05-08 Thread Jarek Zgoda
tory exists as I copied the name from the explorer > window that was open to it. > > What is wrong with the syntax? Unescaped '\' character. Try with raw string (r"c:\twill") or escape it ("c:\\twill"). -- Jarek Zgoda http://jpa.berlios.de/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Cgi File Upload without Form

2007-04-30 Thread Jarek Zgoda
for HTTP POST request with content-type multipart/form-data. Uploading files is usually done in this way, if you don't want/cann't use more sophisticated means like WebDAV (which is HTTP extension, btw). -- Jarek Zgoda http://jpa.berlios.de/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Asynchronous XML-RPC client library?

2007-04-29 Thread Jarek Zgoda
stedmatrix.com) Because this is a small plugin to a larger application written in C and I don't want to make such dependency. Twisted is just too large to be a dependency for a ~500 LOC (including GUI code) plugin. -- Jarek Zgoda http://jpa.berlios.de/ -- http://mail.python.org/mailman/listinfo/python-list

Re: While we're talking about annoyances

2007-04-29 Thread Jarek Zgoda
earn world-wide > than Euro-biased Esperanto, and computer-parseable. Seems a better[0]_ > choice for computer documentation to me. German seems to be less "wordy" than English, despite the fact that most of nouns is much longer. ;) -- Jarek Zgoda http://jpa.berlios.de/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Asynchronous XML-RPC client library?

2007-04-29 Thread Jarek Zgoda
e.com/[EMAIL PROTECTED]/msg12971.html -- Jarek Zgoda http://jpa.berlios.de/ -- http://mail.python.org/mailman/listinfo/python-list

Asynchronous XML-RPC client library?

2007-04-28 Thread Jarek Zgoda
Is there anything like that? Googling yields many articles on async servers, but virtually nothing on clients. I have to talk to remote in an environment that does not allow threads... -- Jarek Zgoda http://jpa.berlios.de/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Re-ocurring Events

2007-04-27 Thread Jarek Zgoda
bject to do the comparison? Or > can I do it as a string? In the very specific case of string formatted as above, the string comparison will give the same results as in the case of datetime objects comparison. You just have to compare the same kinds of things. ;) -- Jarek Zgoda "

Ann: lastfmsvc-0.9.1

2007-04-24 Thread Jarek Zgoda
orming standard operations on Last.FM metadata: * tag (track, album, artist); * recommend (track, album, artist); * add to/remove from loved (track); * ban/remove from banned (track); * remove from listened (track). Where? http://code.google.com/p/lastfmsvc/ -- Jarek Zgoda "

Re: Future Python Gui?

2007-04-18 Thread Jarek Zgoda
lled by default anyway) or on Windows XP machine (double click on installer icon). "Simple user" is not an idiot either and if she can read English, she wouldn't have hard time too. The rumours on "problems installing GUI toolkits" are greatly exagerated IMO. -- Jarek Zgoda h

Re: Python and JMS?

2007-04-16 Thread Jarek Zgoda
latively easy to implement client library for somebody who works with ActiveMQ on a daily basis. -- Jarek Zgoda "We read Knuth so you don't have to." -- http://mail.python.org/mailman/listinfo/python-list

Re: Python editor/IDE on Linux?

2007-04-13 Thread Jarek Zgoda
strive to make it better, but this is a completely "spare-time" project AFAIK. Download it, install it, try to use it, report bugs and omissions, help them make this software better. We would all profit. :) -- Jarek Zgoda http://jpa.berlios.de/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Python editor/IDE on Linux?

2007-04-13 Thread Jarek Zgoda
means something mehr enjoyable, aber it's still der Vim) -- Jarek Zgoda http://jpa.berlios.de/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Python editor/IDE on Linux?

2007-04-13 Thread Jarek Zgoda
Greg Donald napisał(a): >> try wing ide. i tried it and i love it. it's available for windows as >> well for linux > > Good thing those are the only two operating system out there.. err.. > I meant, good thing there's Emacs. Thanks God, there's no &qu

Re: Python editor/IDE on Linux?

2007-04-13 Thread Jarek Zgoda
Xubuntu. > > Everybody uses vim. Except for those who use PIDA (but they use Vim already). :D -- Jarek Zgoda http://jpa.berlios.de/ -- http://mail.python.org/mailman/listinfo/python-list

  1   2   3   >