Dnia Tue, 19 Jul 2005 13:26:38 +0200, Mage napisał(a):
> I had no luck with the code completion,
It works. Just type sys. and wait a while. But you have to set up pydev
first. Check PyDev->Builder->Use Builders and PyDev->CodeCompletion->...
--
JZ
--
http://mail.python.org/m
horse"?
I meant "dark horse". Sorry for confusion. :)
--
JZ
--
http://mail.python.org/mailman/listinfo/python-list
Dnia Mon, 18 Jul 2005 09:26:10 -0300, Admin napisał(a):
> On Mon, 18 Jul 2005 08:45:22 -0300, JZ <[EMAIL PROTECTED]> wrote:
>
>> Much more stable and much faster is e.g. Mygty (http://myghty.org) It is
>> about 2x faster then CherryPy. Also faster than CherryPy is Webwar
erited from Cherry1)
is not good suited to more complicated internet applications.
Much more stable and much faster is e.g. Mygty (http://myghty.org) It is
about 2x faster then CherryPy. Also faster than CherryPy is Webware and
SkunkWeb. I did not check how fast is Django... It is fresh frame
frameworks , simple and fast
> developpment. It uses cherrypy and other project like :
> * http://www.cheetahtemplate.org/
> * http://www.formencode.org/
> * http://www.sqlobject.org/
I think Django is more mature than Subway or CherryPy and can quickly
become the black horse in
ative
to Rails for those who prefer Python. Both use similiar approach, both was
created in the same time, both use ORM, MVC etc.
--
JZ
--
http://mail.python.org/mailman/listinfo/python-list
http://www.djangoproject.com/
--
JZ
--
http://mail.python.org/mailman/listinfo/python-list
iterating over a lot of entries,
> and running these lines for each entry.
import re
testVar = re.compile(r'/mail/.*$').sub('', testVar)
--
JZ
--
http://mail.python.org/mailman/listinfo/python-list
HERE IS MY DYNAMIC PHP:
I need to use DTML instead of ZPT because PHPParse product cannot work with
ZPT. :(
--
JZ
--
http://mail.python.org/mailman/listinfo/python-list
pt
odpalany w .../cgi-bin/? Ale wtedy dlaczego pod win32 to jest binarny
interpreter a tu nie? Jak na zlosc nie podali zadnego przykladu. :(
--
JZ
--
http://mail.python.org/mailman/listinfo/python-list
PHP can do the same. For ADOdb (excelent database wrapper)it can be as
the following:
$conn->Execute('UPDATED foo SET bar=? WHERE id=?', array("foo'bar",
123));
--
http://mail.python.org/mailman/listinfo/python-list
Dnia Tue, 12 Apr 2005 15:14:25 +0200, JZ napisał(a):
> Szukam jakiegoś odpowiednika fcntl na win32. W manualu napisali że
> os.open() z odpowiednią flagą jest bardziej uniwersalne od fcntl. Niestety
> zero informacji na temat tej flagi oraz brak jakiegokolwiek przykładu... :(
Sorry, I
Szukam jakiegoś odpowiednika fcntl na win32. W manualu napisali że
os.open() z odpowiednią flagą jest bardziej uniwersalne od fcntl. Niestety
zero informacji na temat tej flagi oraz brak jakiegokolwiek przykładu... :(
--
JZ
--
http://mail.python.org/mailman/listinfo/python-list
ing, PyLint
for deep analise of python code, and fine work with SVN.
For win32 lighter solution is PythownWin
(http://activestate.com/Products/ActivePython/). It's very stable, fast and
has very good debugger.
--
JZ
--
http://mail.python.org/mailman/listinfo/python-list
ercial, slower than PythonWin but has many features)
--
JZ
--
http://mail.python.org/mailman/listinfo/python-list
Is there any way for preparing a simple web service (ASP.NET) using
IronPython or Boo (http://boo.codehaus.org/)? I cannot find any example. C#
uses [WebMethod] attribute for marking remote methods. I do not know how
IronPython or Boo deals with it.
--
JZ ICQ:6712522
http://zabiello.com
--
http
placement that can create and use other Python objects?
Check http://spyce.sourceforge.net
or http://nick.borko.org/pse
--
JZ ICQ: 6712522
http://zabiello.om
--
http://mail.python.org/mailman/listinfo/python-list
Dnia 30 Dec 2004 07:24:45 -0800, xunling napisał(a):
> ich hätte da mal eine Frage zum Azureus bttrn client.
This is not German newsgroup! Write English or none.
--
JZ
--
http://mail.python.org/mailman/listinfo/python-list
Dnia 29 Dec 2004 23:57:14 GMT, LutherRevisited napisał(a):
> I haven't noticed any difference in the performance of text *.py
> or a bytecompiled file.
Importing modules works faster.
--
JZ ICQ:6712522
http://zabiello.com
--
http://mail.python.org/mailman/listinfo/python-list
/mysite/VirtualHostRoot/$1
[P,L]
I know, I can add ProxyPass rule for excluding specific folder from Plone
but it is not the case. I want to exclude files with specific extensions,
not specific folders. Who knows how to solve that dillemma?
--
JZ ICQ:6712522
http://zabiello.com
--
http
pts stored in memory. They do not need
to load files from filesystem nor parse them. PHP is faster only for
trivial, useless benchmarks like "Hello world". For bigger code Python is
faster than PHP.
> The real problem with Python is not speed but _availability_.
You have rigth here.
no such like: unicode(txt, 'cp1250').encode('cp1250',
'xmlcharrefreplace'). When some characters exists only in cp1250 but not in
iso-8859-2 that function convert them into xml entity &#number; Cute!
--
JZ ICQ:6712522
http://zabiello.com
--
http://mail.python.org/mailman/listinfo/python-list
nchmark for "Hello world"
is a nonsense of course.
But pure speed is not the all. Python can scale better, has cleaner and
consistent syntax, better standard libraries and is a common language
rather than specific script language for web only.
--
JZ
--
http://mail.python.org/mailman/listinfo/python-list
)bar',line)
if found: print 'got %s\n' % found.group(1)
--
JZ ICQ:6712522
http://zabiello.com
--
http://mail.python.org/mailman/listinfo/python-list
last):
> File "jz.py", line 4, in ?
> print 'got %s\n' % _.group(1)
> NameError: name '_' is not defined
I forgot to add: I am using Python 2.3.4/Win32 (from ActiveState.com). The
code works in my interpreter.
--
JZ
--
http://mail.python.org/mailman/listinfo/python-list
capture the $1? (I know it is \1 but it is still not clear
> how I can simply print it.
> thanks
import re
line = "The food is under the bar in the barn."
if re.search(r'foo(.*)bar',line):
print 'got %s\n' % _.group(1)
--
JZ ICQ:6712522
http://zabiello.om
--
http://mail.python.org/mailman/listinfo/python-list
26 matches
Mail list logo