Exception is a community-oriented seminar targeting developers of
Python applications.
The seminar will take place on January, 28th, 2007. Europe - Ukraine
- Kiev
Info:
http://exception.org.ua/exception_03/
Registration:
http://exception.org.ua/exception_03/register.html
--
Movable Python 2.0.0 Final
http://www.voidspace.org.uk/python/movpy/`_ is now available.
The new binaries are available for download from the groups page :
* `Movable Python Groups Page
http://voidspace.tradebit.com/groups.php`_
Binaries are uploaded for Python 2.2.3, 2.3.5, 2.4.4, 2.5 and the
On Jan 19, 11:16 pm, Drew [EMAIL PROTECTED] wrote:
Hi all
I'm fairly new to python so please forgive my lack of comprehension of
the obvious.
I'm writing a script to ftp files to a server. This script will run
weekly. Part of the script first deletes the previous weeks files. The
problem is
Hello members,
I want to know does the eval in python have the same features as in
Perl (capture errors)?
For example,in perl I can wrote:
$re = eval { 1 / 0 };
Though 1/0 is a fatal error but since it's in eval block so the perl
interpreter doesn't get exit.
Thanks again.
--
Vincent Delporte schrieb in comp.lang.python:
Hi
When I copy/paste Python code from the web, every so often,
the TABs are wrong, which means that the code won't work and I have to
manually reformat the code.
Is there a code reformater that can parse the code to make it right?
It may
Berteun Damman schrieb:
I haven't got a clue how to investigate this, but I would be willing to
help if someone has any ideas.
There are a number of problems in this code; the most significant one is
the incorrect usage of memory management API. In pqueue_dealloc, the
call PyMem_DEL(pqp) should
On Sat, 20 Jan 2007 17:30:24 +0800, Jm lists wrote:
Hello members,
I want to know does the eval in python have the same features as in
Perl (capture errors)?
For example,in perl I can wrote:
$re = eval { 1 / 0 };
Though 1/0 is a fatal error but since it's in eval block so the perl
[EMAIL PROTECTED]:
In reality the choice would be C++ because of OO and STL.
I have seen that when Python+Psyco are too much slow, D language is a
good sweet half point between Python and C++ :-) Fast as C++ and with a
simpler syntax and semantics (Pyrex isn't bad, but D gives high-level
things
Thank you.I'm just learning Python and want to make something clear to me.:)
2007/1/20, Steven D'Aprano [EMAIL PROTECTED]:
On Sat, 20 Jan 2007 17:30:24 +0800, Jm lists wrote:
Hello members,
I want to know does the eval in python have the same features as in
Perl (capture errors)?
On Fri, 19 Jan 2007 22:57:37 -0800, Rickard Lindberg wrote:
Daniel Klein wrote:
2) This can be resolved with
templine = ' ' + line + ' '
if ' ' + word1 + ' ' in templine and ' ' + word2 + ' ' in templine:
But then you will still have a problem to match the word foo in a
string like bar
Hello,
Softimage has gracefully released an x64 build of the pywin32
extension, free for download.
http://webrel2.softimage.com/open/products/xsi/v6/pywin32-207.win64-py2.4.exe
(if that link doesn't work, go to
http://www.softimage.com/downloads/XSI6_EssAdv/default.aspx, and look
for Python
::CLAP CLAP::
thank you!
I have been in the newsgroups for over 12 years and I never cared about the
top/bottom post silliness. All I care about is that the message is clearly
written. Everything else is doggerel.
-Original Message-
From: Carroll, Barry
Personally, I don't
On Friday 19 January 2007 22:51, Hendrik van Rooyen wrote:
Steven D'Aprano [EMAIL PROTECTED] wrote:
Or perhaps I should say:
.snoitnevnoc
hsilgnE tpada )ylbissop revenehw( dluohs ew os dna ,naitraM ton
,puorgswen egaugnal hsilgnE na no er'ew ,segaugnal hcus era ereht fi neve
tuB
On 20/01/2007 11.29, Martin v. Löwis wrote:
I haven't got a clue how to investigate this, but I would be willing to
help if someone has any ideas.
There are a number of problems in this code; the most significant one is
the incorrect usage of memory management API. In pqueue_dealloc, the
egc how do i write a regexp for this.. or better yet shd i even be using
egc regexp or is there a better way to do this
A team of engineers were faced with a problem; they decided to handle
it with regular expressions. Now they had two problems
Regular expressions are not always the best
In article [EMAIL PROTECTED],
Carroll, Barry [EMAIL PROTECTED] writes:
|
| My thanks to Aahz and the others who responded. I also did some
| Googling on my own. I found out that top-posting is the norm in the
| e-mail world. Bottom- and inline-posting are the norm in the newsgroup
| world.
On 2007-01-20, Nick Maclaren [EMAIL PROTECTED] wrote:
In article [EMAIL PROTECTED],
Carroll, Barry [EMAIL PROTECTED] writes:
|
| My thanks to Aahz and the others who responded. I also did some
| Googling on my own. I found out that top-posting is the norm in the
| e-mail world. Bottom- and
Dane Jensen [EMAIL PROTECTED] wrote in
news:[EMAIL PROTECTED]:
On Friday 19 January 2007 22:51, Hendrik van Rooyen wrote:
Steven D'Aprano [EMAIL PROTECTED] wrote:
Or perhaps I should say:
.snoitnevnoc
hsilgnE tpada )ylbissop revenehw( dluohs ew os dna ,naitraM
ton ,puorgswen egaugnal
David, thanks for your help. Unfortunately, all attempts of making this
solution work have failed. I would be interested to know if anyone has
used QSignalMapper successfully in a similar situation. For any
interested, I worked around the problem using a closure, which seems a
bit cleaner from a
I will give the formatting a try. I noticed another formatting thing I
wasn't looking for. It is possible to have a \n at the end of a word
or at least that is how it is shown and fixed through python 2.5. I
had an error where 36\n isn't a number. easy to fix though.
Jeremy Sanders wrote:
[EMAIL PROTECTED] wrote:
Looking over the benchmarks, one gains the impression that Python is a
slow language.
What does that even mean - a slow language?
The alioth benchmarks provide a set of numbers by which
languages may be compared.
Wrong. The benchmarks provide a set of
Paul Rubin schreef:
No. Top posting has always been an aberrance. It first appeared in
Usenet when Usenet (a word whose etymology comes from Unix and
network) started attracting Microsoft Windows users, who were in the
habit of using Windows products that top-posted. That happened fairly
On 1/20/07, Carl Friedrich Bolz [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
Looking over the benchmarks, one gains the impression that Python is a
slow language.
What does that even mean - a slow language?
The alioth benchmarks provide a set of numbers by which
Carroll, Barry schreef:
Secondly, can someone point me to the Standard Usenet Convention that
mandates against top-posting. This is not sarcasm; I would really like
to see it. You see, I recently returned to Usenet after a LONG absence.
When I was last a regular Usenet citizen the Internet
Does anyone out there have a piece of code that demonstrates the use of the
lbfgsb multivariate, bounded solver in the scipy.optimize toolkit? An
example would get me started because my code below does not seem to work.
Thanks alot,
Bryan
I have tried to use the LBFGSB optimisation algorithm
Use mod_python with some xmlrpc handler. There is more than one around.
Google for them. That way you can keep Apache for both Python and PHP.
I am confused.
I have some documents on xml-rpc but none of them mentioned apache.
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
krishnakant Mane schrieb:
Use mod_python with some xmlrpc handler. There is more than one around.
Google for them. That way you can keep Apache for both Python and PHP.
I am confused.
I have some documents on xml-rpc but none of them mentioned apache.
There is nothing an apache will do for
Steven D'Aprano schreef:
Its because of an evil terrorist plot. I suggest you invade Belgium, that
should fix it.
Please notify me in time so I can emigrate before it's too late.
--
If I have been able to see further, it was only because I stood
on the shoulders of giants. -- Isaac Newton
On Saturday 20 January 2007 16:03, borntonetwork wrote:
David, thanks for your help. Unfortunately, all attempts of making this
solution work have failed. I would be interested to know if anyone has
used QSignalMapper successfully in a similar situation.
Looking again at what you originally
Vincent Delporte wrote:
Hello
When I copy/paste Python code from the web, every so often,
the TABs are wrong, which means that the code won't work and I have to
manually reformat the code.
Is there a code reformater that can parse the code to make it right?
Thanks.
Maybe my thread help:
Hi all,
how do I avoid the DOS console show-up when starting a WinXP GUI application
with mouseclick on the respective Python file?
I had this with my previous Python installation; it is very simple,
something with a -i somewhere in the open command of the MS Windows data
types PY and PYW.
Siggi a écrit :
Hi all,
how do I avoid the DOS console show-up when starting a WinXP GUI application
with mouseclick on the respective Python file?
rename yourfile.py to yourfile.pyw
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
[snip]
The information contained in this message and any attachment may be
proprietary, confidential, and privileged or subject to the work
product doctrine and thus protected from disclosure. If the reader
of this message is not the intended recipient, or an
John Machin [EMAIL PROTECTED] writes:
[EMAIL PROTECTED] wrote:
[snip]
The information contained in this message and any attachment may be
proprietary, confidential, and privileged or subject to the work
product doctrine and thus protected from disclosure. If the reader
of this message is
[EMAIL PROTECTED] wrote:
Isaac Gouy wrote:
[EMAIL PROTECTED] wrote:
Alioth is a great site for selecting the language in which to implement
primitives. Usually it's C.
And for selecting a language for which you might need to implement
primitives in C :-)
Well if you like C so
On 20/01/07, Diez B. Roggisch [EMAIL PROTECTED] wrote:
There is nothing an apache will do for you - except from possibly
proxing python.
Go read up upon xmlrpc and python, possibly doing it with twisted, but
there are other options.
Don't bother with the apache.
well in that case I don't
hello all,
I had previously mentioned my doubt and confusion about having a
main() to be an entry point in my python based software.
I am still having a particular doubt.
I use cx freze for creating a python executable. my software is
essentially a package containing a few modules and one file
well in that case I don't need apache.
can I do xml-rpc using the default libraries that come with every
python installer?
Yes, and a simple look in the API docs would have convinced you of that.
I suggest you start googling and reading.
is there some added advantage of using twisted?
krishnakant Mane wrote:
hello all.
I have one simple query and may be that's to stupid to answer but I am
not finding the answer any ways.
I have a set of modules in my package and out if which one is my
actual starting point to my entire program. say for example I have an
entire database
Ramon Diaz-Uriarte wrote:
On 1/20/07, Carl Friedrich Bolz [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
Looking over the benchmarks, one gains the impression that Python is a
slow language.
What does that even mean - a slow language?
The alioth benchmarks provide a
Thanks, but I don't mean that, I am looking for the method keeping *.py.
Bruno Desthuilliers [EMAIL PROTECTED] schrieb im
Newsbeitrag news:[EMAIL PROTECTED]
Siggi a écrit :
Hi all,
how do I avoid the DOS console show-up when starting a WinXP GUI
application with mouseclick on the
Siggi napisał(a):
how do I avoid the DOS console show-up when starting a WinXP GUI application
with mouseclick on the respective Python file?
I had this with my previous Python installation; it is very simple,
something with a -i somewhere in the open command of the MS Windows data
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] wrote:
Haha! My mistake.
The error is that when a web server is chunking a web page only the
first chunk appears to be acquired by the urllib2.urlopen call. If you
check the headers, there is no 'Content-length' (as expected) and
instead
In article [EMAIL PROTECTED],
David Waizer [EMAIL PROTECTED] wrote:
Hello..
I'm looking for a script (perl, python, sh...)or program (such as wget)
that will help me get a list of ALL the links on a website.
For example ./magicscript.pl www.yahoo.com and outputs it to a file, it
Within a larger pyparsing grammar, I have something that looks like::
wsj/00/wsj_0003.mrg
When parsing this, I'd like to keep around both the full string, and the
AAA_ substring of it, so I'd like something like::
foo.parseString('wsj/00/wsj_0003.mrg')
krishnakant Mane wrote:
can I do xml-rpc using the default libraries that come with every
python installer?
You can, but others have packaged them up to make it easier. CherryPy
includes an xmlrpc tool (and has no dependencies other than standard
Python).
You can see an example of what your
On 20 Jan 2007 11:34:46 -0800, Isaac Gouy [EMAIL PROTECTED] wrote:
Ramon Diaz-Uriarte wrote:
On 1/20/07, Carl Friedrich Bolz [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
Looking over the benchmarks, one gains the impression that Python is
a
slow language.
What does
krishnakant Mane [EMAIL PROTECTED] escribió en el mensaje
news:[EMAIL PROTECTED]
I use cx freze for creating a python executable.
cx_freeze is almost irrelevant here; all the following considerations are
about your application structure, it doesnt matter if you use cx_freeze
later (or any
Jm lists wrote:
Hello members,
I want to know does the eval in python have the same features as in
Perl (capture errors)?
For example,in perl I can wrote:
$re = eval { 1 / 0 };
Though 1/0 is a fatal error but since it's in eval block so the perl
interpreter doesn't get exit.
Thanks
Ramon Diaz-Uriarte wrote:
On 20 Jan 2007 11:34:46 -0800, Isaac Gouy [EMAIL PROTECTED] wrote:
Ramon Diaz-Uriarte wrote:
On 1/20/07, Carl Friedrich Bolz [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
Looking over the benchmarks, one gains the impression that Python
is a
mclaugb wrote:
Does anyone out there have a piece of code that demonstrates the use of the
lbfgsb multivariate, bounded solver in the scipy.optimize toolkit? An
example would get me started because my code below does not seem to work.
You will probably get better/faster/more answers on the
[EMAIL PROTECTED] wrote:
James Stroud wrote:
[EMAIL PROTECTED] wrote:
hi
suppose i have a string like
test1?test2t-test3*test4*test5$test6#test7*test8
how can i construct the regexp to get test3*test4*test5 and
test7*test8, ie, i want to match * and the words before and after?
thanks
py
Just to clarify--this is a multivariate algorithm. I changed the function
Permmin to simply take the absolute value of (xmin, ymin) so that it returns
one value. Unfortunately, the error remains--it still returns this error:
x, f, d = lbfgsb.fmin_l_bfgs_b(Permmin, x0, Jacobi, params,
mclaugb wrote:
Just to clarify--this is a multivariate algorithm.
Yes. That means that the domain of the objective function is multivariate. The
image is still a scalar.
RR^n -f- RR
I changed the function
Permmin to simply take the absolute value of (xmin, ymin) so that it returns
one
mclaugb wrote:
x, f, d = lbfgsb.fmin_l_bfgs_b(Permmin, x0, Jacobi, params,
bounds=[(.001,100),(-50,-.001)] , maxfun=500)
File C:\Python24\lib\site-packages\scipy\optimize\lbfgsb.py, line 197,
in fmin_l_bfgs_b
isave, dsave)
ValueError: failed to initialize intent(inout) array --
How simple. I will remember that sender() function for future
reference.
Thanks, David.
David Boddie wrote:
On Saturday 20 January 2007 16:03, borntonetwork wrote:
David, thanks for your help. Unfortunately, all attempts of making this
solution work have failed. I would be interested to
Carl Friedrich Bolz wrote:
[EMAIL PROTECTED] wrote:
Looking over the benchmarks, one gains the impression that Python is a
slow language.
What does that even mean - a slow language?
The alioth benchmarks provide a set of numbers by which
languages may be compared.
Wrong.
At Saturday 20/1/2007 14:37, Siggi wrote:
When I copy/paste Python code from the web, every so often,
the TABs are wrong, which means that the code won't work and I have to
manually reformat the code.
Is there a code reformater that can parse the code to make it right?
Thanks.
Maybe my
This question has been asked many times, and last time I was accused of
spreading FUD. So now I will rather propose a solution.
The reason for the problem is as follows:
The binary installer for Python built by te python.org team is compiled
with Microsoft Visual Studio 2003. It is linked with
On Sat, 20 Jan 2007 23:51:24 -0300, Gabriel Genellina wrote:
As the indentation *is* significant in python, none of the above can
help if you lose the indentation. Try to reconstruct this:
def foo():
if a0:
if b0:
print 1
print 2
else:
return 3
return 4
The tools may help to make
Vinay Sajip wrote:
The documentation for Logger - see
http://docs.python.org/lib/node406.html
- shows that there are addFilter() and removeFilter() methods on the
Logger class which you can use to add or remove filters from individual
Logger instances. From the above page (entitled 14.5.1
At Sunday 21/1/2007 00:15, Steven D'Aprano wrote:
On Sat, 20 Jan 2007 23:51:24 -0300, Gabriel Genellina wrote:
As the indentation *is* significant in python, none of the above can
help if you lose the indentation. Try to reconstruct this:
def foo():
if a0:
if b0:
print 1
print 2
else:
sturlamolden schrieb:
Problem 2: You want to distribute a program created Py2Exe, but has no
license for Visual Studio 2003. You are therefore not allowed to
redistribute msvcrt71.dll. But without this DLL your program will not
work. As a side note: Visual Studio 2003 is out of sale, so if you
Feature Requests item #1635335, was opened at 2007-01-14 21:00
Message generated for change (Comment added) made by loewis
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=355470aid=1635335group_id=5470
Please note that this message will contain a full copy of the
Bugs item #1568240, was opened at 2006-09-30 11:19
Message generated for change (Comment added) made by loewis
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1568240group_id=5470
Please note that this message will contain a full copy of the comment
Feature Requests item #1635335, was opened at 2007-01-14 20:00
Message generated for change (Comment added) made by techtonik
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=355470aid=1635335group_id=5470
Please note that this message will contain a full copy of the
Feature Requests item #1635335, was opened at 2007-01-14 21:00
Message generated for change (Comment added) made by loewis
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=355470aid=1635335group_id=5470
Please note that this message will contain a full copy of the
Bugs item #1637943, was opened at 2007-01-17 10:10
Message generated for change (Comment added) made by josiahcarlson
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1637943group_id=5470
Please note that this message will contain a full copy of the comment
Feature Requests item #1637926, was opened at 2007-01-17 09:51
Message generated for change (Comment added) made by josiahcarlson
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=355470aid=1637926group_id=5470
Please note that this message will contain a full copy of
Feature Requests item #1567331, was opened at 2006-09-28 14:36
Message generated for change (Comment added) made by josiahcarlson
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=355470aid=1567331group_id=5470
Please note that this message will contain a full copy of
Bugs item #1636950, was opened at 2007-01-16 10:56
Message generated for change (Comment added) made by amonthei
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1636950group_id=5470
Please note that this message will contain a full copy of the comment
Bugs item #1636950, was opened at 2007-01-16 08:56
Message generated for change (Comment added) made by bcannon
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1636950group_id=5470
Please note that this message will contain a full copy of the comment
Bugs item #1599254, was opened at 2006-11-19 11:03
Message generated for change (Comment added) made by akuchling
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1599254group_id=5470
Please note that this message will contain a full copy of the comment
73 matches
Mail list logo