another vote for Gentoo. It's my production/main OS now.
On 4 Dec 2005 23:21:55 -0800, malv <[EMAIL PROTECTED]> wrote:
In theory, this would do. I have tried this several times in the pastand found it very impractical to have to live with two Python versionson the same system, given that Python, li
without the "print" also gives me error:-
>>> lambda_hrs = lambda x : x/60,x%60
Traceback (most recent call last):
File "", line 1, in ?
NameError: name 'x' is not defined
On 12/5/05, Mohammad Jeffry <[EMAIL PROTECTED]> wrote:
Dear All,
Can'
Dear All,
Can't a lambda uses the input parameter more then once in the lambda body?
eg:
lambda x : print x/60,x%60
I tried with def and it works but got syntax error with lambda. Below is an interactive sample:
[EMAIL PROTECTED] ~ $ python
Python 2.4.2 (#1, Nov 18 2005, 19:32:15)
[GCC 3.3.6
I did a small test some time ago and I think python is faster then java:
http://linuxlah.blogspot.com/2005/11/swap-speed-for-python-c-c-and-java.html
On 11/30/05, Krystian <[EMAIL PROTECTED]> wrote:
Hiare there any future perspectives for Python to be as fast as java? iwould like to use Python as
If an webhosting doen't have these feature. Can I install them ? Any
experiences on this? I'm assuming that asking the webhosting system
admin. to install these framworks in not an option for now.-- And whoever does an atom's weight of evil will see it.
--
http://mail.python.org/mailman/listinfo/p
27;aaa
bbb'''.replace("\n","")
print sql
print_sql()
-----
but it looks ugly
On 11/22/05, Mohammad Jeffry <[EMAIL PROTECTED]> wrote:
O
On 11/22/05, Paul McGuire <[EMAIL PROTECTED]> wrote:
Or for a large literal string:"""lots of text hundreds of characters long
more text on another line but we really don't want any line breaksin our final stringso we replace newlines in this multiline stringwith an empty string thus""".replace('\n