| |
thread by: Christoph Zwerschke |
last post Jan 31 '06 by: Runsun Pan
On the page http://wiki.python.org/moin/Python3%2e0Suggestions
I noticed an interesting suggestion:
"These operators ≤ ≥ * should be added to the language having the
following meaning:
<= >= !=
this should improve readibility (and make language more accessible to
beginners).
|
thread by: giveitawhril2008 |
last post Aug 1 '08 by: Tim Rowe
I'm just learning about Python now and it sounds interesting. But I
just read (on the Wiki page) that mainstream Python was written in C.
That's what I was searching for: Python was written in what other
language?
See, my concern was something like: OK, if Python is so hot, then,
hopefully someone is writing it in assembly language for each...
|
thread by: Reinhold Birkenfeld |
last post Oct 16 '05 by: Andrew Koenig
Hi,
after Guido's pronouncement yesterday, in one of the next versions of Python
there will be a conditional expression with the following syntax:
X if C else Y
which is the same as today's
(Y, X)
|
thread by: A.M. Kuchling |
last post Dec 13 '05 by: A.M. Kuchling
Here are some thoughts on reorganizing Python's documentation, with
one big suggestion.
The tutorial seems to be in pretty good shape because Raymond
Hettinger has been keeping it up to date. It doesn't cover
everything, but it's a solid introduction, and if people don't find it
works for them, they have lots of alternative books. No...
|
thread by: John Salerno |
last post Feb 16 '06 by: Steve Holden
Yes, silly question, but it keeps me up at night. :)
I know it comes from the suffix -tuple, which makes me think it's
pronounced as 'toople', but I've seen (at m-w.com) that the first
pronunciation option is 'tuhple', so I wasn't sure. Maybe it's both, but
which is most prevalent?
Thanks! Now time to go back to reading the chapter on...
|
thread by: Xah Lee |
last post May 24 '06 by: antroy
Criticism versus Constructive Criticism
Xah Lee, 2003-01
A lot intelligent people are rather confused about criticism,
especially in our “free-speech” free-for-all internet age. When
they say “constructive criticisms are welcome” they mostly mean
“bitching and complaints not welcome”. Rarely do people actually
mean that...
|
thread by: robert |
last post Nov 11 '06 by: Robin Becker
I'd like to use multiple CPU cores for selected time consuming Python computations (incl. numpy/scipy) in a frictionless manner.
Interprocess communication is tedious and out of question, so I thought about simply using a more Python interpreter instances (Py_NewInterpreter) with extra GIL in the same process.
I expect to be able to directly...
|
| |
thread by: estherschindler |
last post Mar 2 '08 by: Paul Rubin
This is part of a series examining the strengths and weaknesses of
various scripting languages, with particular attention to enterprise
(read: big company) use.
You Used Python to Write WHAT?
Python is a powerful, easy-to-use scripting language suitable for use
in the enterprise, although it is not right for absolutely every use.
Python...
|
thread by: Stephen Thorne |
last post Jul 18 '05 by: Craig Ringer
Hi guys,
I'm a little worried about the expected disappearance of lambda in
python3000. I've had my brain badly broken by functional programming
in the past, and I would hate to see things suddenly become harder
than they need to be.
An example of what I mean is a quick script I wrote for doing certain
actions based on a regexp, which I...
|
thread by: Davor |
last post Jul 18 '05 by: Joe Francia
Is it possible to write purely procedural code in Python, or the OO
constructs in both language and supporting libraries have got so
embedded that it's impossible to avoid them? Also, is anyone aware of
any scripting language that could be considered as "Python minus OO
stuff"? (As you can see I'm completely new to Python and initially...
|
thread by: pythonchallenge |
last post Jul 19 '05 by: Tim Peters
For the riddles' lovers among you, you are most invited to take part
in the Python Challenge, the first python programming riddle on the net.
You are invited to take part in it at:
http://www.pythonchallenge.com
|
thread by: John Salerno |
last post Jun 20 '06 by: Ten
I know there's a request for a good IDE at least once a week on the ng,
but hopefully this question is a little different. I'm looking for
suggestions for a good cross-platform text editor (which the features
for coding, such as syntax highlighting, etc.) but not a full IDE with
all the fancy jazz (GUI developer, UML diagrams, etc.).
...
|
thread by: time.swift |
last post Feb 5 '07 by: Paul Rubin
Coming from a C++ / C# background, the lack of emphasis on private data
seems weird to me. I've often found wrapping private data useful to
prevent bugs and enforce error checking..
It appears to me (perhaps wrongly) that Python prefers to leave class
data public. What is the logic behind that choice?
Thanks any insight.
|
thread by: Bayazee |
last post Aug 24 '06 by: Slawomir Nowaczyk
hi
can we hide a python code ?
if i want to write a commercial software can i hide my source code from
users access ?
we can conver it to pyc but this file can decompiled ... so ...!!
do you have any idea about this ...?
---------------------------------------
First Iranian Open Source Community : www.python.ir
|
thread by: Anthony_Barker |
last post Jul 18 '05 by: Robin Becker
I have been reading a book about the evolution of the Basic
programming language. The author states that Basic - particularly
Microsoft's version is full of compromises which crept in along the
language's 30+ year evolution.
What to you think python largest compromises are?
The three that come to my mind are significant whitespace,...
|
| |
thread by: Mikls |
last post Jul 18 '05 by: Anthony Baxter
Ok, seems like we have @decorators. It's a nice tribute to Intercal. But
I'd prefer #decorators.
We have metaclasses for pleasure brain-melting. We have generators,
new-style classes and old-style classes. Lambdas are wonderful.
We do need real interfaces, not abused classes. Python still needs to have
inlined functions, macros and...
|
thread by: Amol Vaidya |
last post Nov 22 '05 by: bellarchitects
Hi. I am interested in learning a new programming language, and have been
debating whether to learn Ruby or Python. How do these compare and contrast
with one another, and what advantages does one language provide over the
other? I would like to consider as many opinions as I can on this matter
before I start studying either language in depth....
|
thread by: Steven Watanabe |
last post Feb 10 '06 by: Bryan Olson
I know that the standard idioms for clearing a list are:
(1) mylist =
(2) del mylist
I guess I'm not in the "slicing frame of mind", as someone put it, but
can someone explain what the difference is between these and:
(3) mylist =
|
thread by: Chris Carlen |
last post Jul 26 '07 by: John J. Lee
Hi:
From what I've read of OOP, I don't get it. I have also found some
articles profoundly critical of OOP. I tend to relate to these articles.
However, those articles were no more objective than the descriptions of
OOP I've read in making a case. Ie., what objective
data/studies/research indicates that a particular problem can be...
|
thread by: Ellinghaus, Lance |
last post Jul 18 '05 by: David MacQuigg
> > Other surprises: Deprecating reload()
>Reload doesn't work the way most people think
>it does: if you've got any references to the old module,
>they stay around. They aren't replaced.
>It was a good idea, but the implementation simply
>doesn't do what the idea promises.
I agree that it does not really work as most people think it...
|
thread by: Robert Brewer |
last post Jul 18 '05 by: Scott David Daniels
The J2 proposal is as complete as it will ever be.
http://www.aminus.org/rbre/python/pydec.html
The patch is nearly complete; only the __future__ declaration and some
document tweaks remain. It should be updated on SourceForge today or
tomorrow.
This is a call for all who wish to sign the proposal, either for,
against, or abstaining....
|
thread by: Darren Dale |
last post Jul 18 '05 by: Alex Martelli
Hello,
def test(data):
i = ? This is the line I have trouble with
if i==1: return data
else: return data
a,b,c,d = test()
|
thread by: Mike Meyer |
last post Dec 14 '05 by: Steven D'Aprano
It seems that the distinction between tuples and lists has slowly been
fading away. What we call "tuple unpacking" works fine with lists on
either side of the assignment, and iterators on the values side. IIRC,
"apply" used to require that the second argument be a tuple; it now
accepts sequences, and has been depreciated in favor of *args,...
|
| |
thread by: Srijit Kumar Bhadra |
last post Apr 27 '06 by: Ross Ridge
Is there any specific reason for not using MinGW to build the official
distribution of Python for Win32?
A quick Google search did not reveal the answer to my question. If a
link is available, please post it.
Best Regards,
Srijit
|
thread by: mensanator |
last post Sep 22 '06 by: Scott David Daniels
Probably just me. I've only been using Access and SQL Server
for 12 years, so I'm sure my opinions don't count for anything.
I was, nevertheless, looking forward to Sqlite3. And now
that gmpy has been upgraded, I can go ahead and install
Python 2.5.
So I open the manual to Section 13.13 where I find the first
example of how to use...
|