rantingrick rantingr...@gmail.com wrote:
Everyone here who is suggesting that function bodies should be
confined to ANY length is an idiot.
Or, more likely, is the sort of coder who has worked with other coders
in the past and understands the value of readable code.
Don't worry if it too
rantingrick rantingr...@gmail.com wrote:
https://sites.google.com/site/thefutureofpython/
Very soon I will be hashing out a specification for python 4000.
AHAHAHAHAhahahahahahahAHAHAHAHahahahahaaa. So rich. Anyone willing
to bet serious money we won't see this before 4000AD?
Heck even our
On Aug 16, 3:15 pm, smith jack thinke...@gmail.com wrote:
I have created a python environment using virtualenv, but when i want
to import such environment to PyDev, error just appears,
it tells there should be a Libs dir, but there is no Libs DIr in the
virtual envronment created using
On Aug 17, 12:23 am, smith jack thinke...@gmail.com wrote:
The environment doesn't have a file
f:\PythonEnv\djangoEnv2\Scripts\activate_thi
s.py -- please re-run virtualenv on this environment to update it
Although the docs aren't very clear, --relocatable should be run on
_existing_
On Aug 18, 1:08 pm, Emily Anne Moravec mora...@stolaf.edu wrote:
I want to add 5 to each element of a list by using a for loop.
Why doesn't this work?
numbers = [1, 2, 3, 4, 5]
for n in numbers:
n = n + 5
print numbers
As the for loop steps through numbers, it assigns each integer
On Aug 16, 2:37 pm, rantingrick rantingr...@gmail.com wrote:
The reading proceeds naturally from right to left.
Well, naturally if you're coding in Hebrew or Japanese perhaps :)
--
http://mail.python.org/mailman/listinfo/python-list
Laszlo Nagy gand...@shopzeus.com wrote:
Fastest, error-free and simplest solution is to use sets:
l1 = [1,2]
l2 = [1,2,3,4,5]
set(l1)-set(l2)
set([])
set(l2)-set(l1)
set([3, 4, 5])
Error-free? Not given the stated requirements:
l1 = [1,2,2,], l2 = [1,2,3,4,5] - l1 is not
On Aug 16, 4:51 pm, Laszlo Nagy gand...@shopzeus.com wrote:
hi list,
what is the best way to check if a given list (lets call it l1) is
totally contained in a second list (l2)?
for example:
l1 = [1,2], l2 = [1,2,3,4,5] - l1 is contained in l2
l1 = [1,2,2,], l2 = [1,2,3,4,5] - l1 is
rantingrick rantingr...@gmail.com wrote:
These specific phrases i have pointed out (used to and supposed
to) are a result of a mind choosing the easy way out instead of
putting in the wee bit more effort required to express one's self in
an articulate manner. Also these two phrases are quite
snorble snor...@hotmail.com wrote:
If using Visual Studio and C# is the more reliable way, then I'll go
that route. I love Python, but everything I read about Python services
seems to have workarounds ahoy for various situations (or maybe that's
just Windows services in general?).
What
Andrew Berg bahamutzero8...@gmail.com wrote:
He hasn't replied to his last two troll threads, though. It does seem
odd to write a wall of text and then not respond to replies. To be fair,
though, most replies either mock him or point out that he's a troll. :D
His recent rants do seem a lot
rantingrick rantingr...@gmail.com wrote:
The old reinvent the wheel argument is only valid when wheels
already exists. Currently we have triangles (or maybe pentagons) but
no wheels.
No, currently we have a small handful of people who feel the wheels
are triangles but have done nothing more
rantingrick rantingr...@gmail.com wrote:
What about the etiquette of staying on topic?
Such as raising your personal opinion of online etiquette in a thread
on GUI toolkits?
As always, there's what you say, and there's what you do, and never
the twain shall meet.
--
Thomas Jollans t...@jollybox.de wrote:
Coincidentally, Guido wrote this blog post just last week, without which
I'd be just as much at a loss as you:
http://python-history.blogspot.com/2011/07/karin-dewar-indentation-an...
It's also part of the Python FAQ:
rantingrick rantingr...@gmail.com wrote:
i cannot force others
If only you really understood that.
--
http://mail.python.org/mailman/listinfo/python-list
On Jul 11, 9:00 am, Corey Richardson kb1...@aim.com wrote:
def qux():
'And even me! Quote type don't matter (besides style)'
Well, style and the presence of the string literal notation in the
quoted text :)
--
http://mail.python.org/mailman/listinfo/python-list
On Jul 11, 9:06 am, Corey Richardson kb1...@aim.com wrote:
Excerpts from Carl Banks's message of Sun Jul 10 18:59:02 -0400 2011:
print __doc__
Python 2.7.1 (r271:86832, Jul 8 2011, 22:48:46)
[GCC 4.4.5] on linux2
Type help, copyright, credits or license for more information. def
foo():
rantingrick rantingr...@gmail.com wrote:
I believe (unlike most people) that nature is striving for perfection
Your belief is wrong. Nature doesn't strive for _anything_. Things
in the world are either fit enough to continue their existence or not.
As circumstances change, some things that were
rantingrick rantingr...@gmail.com wrote:
But why must we have
completely different languages just for that those two approaches?
Because monocultures die.
Because having broader diversity leads to more evolutionary leaps.
Because the implementations are so fundamentally different.
Because
Waldek M. w...@localhost.localdomain wrote:
But your point was...?
That it's easier for you to find ways to achieve what you want than it
is require Python to change to accommodate your need.
--
http://mail.python.org/mailman/listinfo/python-list
On Jun 24, 2:01 pm, Gnarlodious gnarlodi...@gmail.com wrote:
Seems like it should already be invented.
If you're finding you're importing the same data into every single
module, then you're doing something wrong. Creating dependencies
across modules like you're wanting is a recipe for suffering.
harrismh777 harrismh...@charter.net wrote:
If there is another major jump like 2.x -- 3.x in the future, Python
will die. I hope you guys are aware of this. The user base might accept
this thing once, but they're not going do it again...
The differences between major version releases of
Littlefield, Tyler ty...@tysdomain.com wrote:
Anyway, thanks to everyone else who answered this thread. I've not done
much like this besides muds, and all the logic is on the server there, I
think I will build the client in python, open source it for people to
fix/add to if they want and make
Hans Georg Schaathun h...@schaathun.net wrote:
Revolutionary indeed, so why don't we exploit the revolution
and write the programs to be as accessible as possible?
Where do you draw the line, though?
No decorators, as they're not intuitively obvious? No custom
descriptors, as that requires a
On May 12, 7:24 am, harrismh777 harrismh...@charter.net wrote:
We need to move away from 'canned apps' to a new day where
the masses can sit down to their computer and solve new problems with it
through intuitive language skills. Why not?
Because the vast majority of them don't seem to want
On May 9, 10:13 pm, ander2_1...@hotmail.com wrote:
I'm using Console module (doc:http://effbot.org/zone/console-handbook.htm,
like nCurses) on Windows, but I don't know how to call a keyboard
input like input() or raw_input().
What to do?
Maybe read the docs, specifically the section titled
harrismh777 harrismh...@charter.net wrote:
[...] because *any* time or *most* types
can be substituted and the 'polymorphism' of Python kicks in allowing
for that [...]
The same benefit one might get from using the idiomatic 'if not
list:'?
;)
--
rusi rustompm...@gmail.com wrote:
What's the facts? Anyone with any experiences on this?
No experience, but I'm rather torn over Fossil. On the one hand, it
feels like NIH writ large; on the other hand, it's a DVCS with Trac-
like features in a standalone executable less than 1MB in size...by
rantingrick rantingr...@gmail.com wrote:
We all have jobs James, and we still find the time to help others out
on the list.
I don't think we has quite the meaning you believe it does. Or
help for that matter.
Guido is the head of a community. A community that,
remember, *he* started! He
zildjohn01 zildjoh...@gmail.com wrote:
Regardless of James Mills's coding prowess[...]
James is the sole dev of a very handy elegant event framework:
https://bitbucket.org/prologic/circuits/ Can you point out any
equivalent achievements so we can compare?
And make sure to carry that attitude
Paul Rudin paul.nos...@rudin.co.uk wrote:
Apparently Eve Online is (stackless) python.
I've dropped a ridiculous number of hours into EVE this year alone but
I'd be very hesitant to ever mention best in relation to its
coding :)
It uses way too much floating point incorrectly, the in-game
Ian Kelly ian.g.ke...@gmail.com wrote:
Yow. You're designing a Maya 2012 website to help some travel company
bilk gullible people out of thousands of dollars? I would be ashamed
to have anything to do with this.
To be fair, he _does_ appear to be bilking the company out of
thousands of
On Mar 11, 11:13 am, yoro gmj...@hotmail.co.uk wrote:
Hi,
I am having an issue with passing values from one function to another
- I am trying to fill a list in one function using the values
contained in other functions as seen below:
infinity = 100
invalid_node = -1
startNode = 0
Benjamin Kaplan benjamin.kap...@case.edu wrote:
Typically, people developing web applications use a framework such as
Django or TurboGears (or web.py or CherryPy or any of a dozen others)
rather than just having the CGI scripts print stuff out.
You're fighting an uphill battle with that
On Mar 11, 11:58 am, n00m n...@narod.ru wrote:
http://docs.python.org/py3k/whatsnew/3.0.html
What's the fuss abt it? Imo all is ***OK*** with 3k (in the parts I
understand).
I even liked print as a function **more** than print as a stmt
Now I think that Py3k is better than all prev pythons
BartC b...@freeuk.com wrote:
Another example:
pi=3.141592654
print (pi is:,pi)
pi=42
print (pi is now:,pi)
which is clearly undesirable.
Maybe not if you're the state of Indiana :)
--
http://mail.python.org/mailman/listinfo/python-list
Victor Paraschiv wrote:
What I conclude is that you, the programmers, don’t really care about
those who are new to programming: for most people out of the
programming world, I think it is simpler to be able to write: real(z),
just as you write: sin(z), abs(z), (z)^2 etc.
Good to see you
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote:
The question that needs to be asked is not Is Python 3 fast?, but
instead Is Python 3 fast enough?.
I'm certainly not going to argue against that, I just don't find the
coding contortions used on sites like spoj.pl for performance
On Mar 8, 1:41 pm, alex23 wuwe...@gmail.com wrote:
Good to see you finally admit that you're not a programmer. Have you
informed your clients yet? Or are you still learning Python on their
dime and crowd-sourcing the more difficult parts?
I'd like to apologise for this post. The OP
On Feb 27, 11:57 pm, n00m n...@narod.ru wrote:
http://www.spoj.pl/
There's your problem. I'd say most Python 3.x adopters are using it
for something other than working out whose performance dick is the
longest.
--
http://mail.python.org/mailman/listinfo/python-list
On Feb 24, 6:20 pm, Stefan Behnel stefan...@behnel.de wrote:
MRAB, 24.02.2011 01:25:
The latest stable release is here:
http://pypi.python.org/pypi/lxml/2.2.8
Not quite the latest stable release (that would be 2.3), but at least one
that's pre-built for Windows.
Christoph Gohlke has an
On Feb 22, 12:57 pm, Kelson Zawack zawack...@gis.a-star.edu.sg
wrote:
I did not bother to further analyze or benchmark it. Since the answers
in the above forums do not seem very definitive I thought I would
inquire here about what the reason for this decrease in performance is,
and if there
rantingrick rantingr...@gmail.com wrote:
You lack vision.
And you lack education.
Evolution is the pursuit of perfection at the expense of anything and
everything!
Evolution is the process by which organisms change over time through
genetically shared traits. There is no 'perfection', there
Jean-Michel Pichavant jeanmic...@sequans.com wrote:
You simply don't return inconsistent types with a return statement. This
is a general rule in programming that has probably exceptions but
regarding what you're saying, you clearly don't want to do that.
I don't think they were intended to be
rantingrick rantingr...@gmail.com wrote:
Cthun cthun_...@qmail.net.au wrote:
What does your aversion to cultural diversity have to do with Lisp,
rantingrick? Gee, I do hope you're not a racist, rantingrick.
Why must language be constantly connected-at-the-hip to cultural
diversity? People
Makoto Kuwata k...@kuwata-lab.com wrote:
I'm sad about this restriction because:
@recipe.product('*.html').ingreds('$(1).rst')
def file_html(c):
# do something
is enough simple and more readable than:
@recipe.product('*.html')
@recipe.ingreds('$(1).rst')
def
On Feb 16, 12:23 pm, s...@uce.gov wrote:
How can I do something like this in python:
#!/usr/bin/python3.1
class MyNumbers:
def __init__(self, n):
self.original_value = n
if n = 100:
self = SmallNumers(self)
else:
self = BigNumbers(self)
class
alex23 wuwe...@gmail.com wrote:
self.__class__ = BigNumbers if n 100 else SmallThing
That should, of course, be SmallNumbers :)
--
http://mail.python.org/mailman/listinfo/python-list
Andrea Crotti andrea.crott...@gmail.com wrote:
At the moment I have this ugly inliner
interleaved = ':'.join(orig[x:x+2] for x in range(0, len(orig), 2))
I actually prefer this over every other solution to date. If you feel
its too much behaviour in one line, I sometimes break it out
On Feb 15, 9:47 am, James Mills prolo...@shortcircuit.net.au wrote:
On Tue, Feb 15, 2011 at 9:32 AM, rantingrick rantingr...@gmail.com wrote:
Those who write code bases should design-in practicality, re-
usability, and extendability as a forethought and NOT an afterthought.
Of course i am
rantingrick rantingr...@gmail.com wrote:
A respect forged from collaboration. A respect of comrades in
arms. This is the future i bring to c.l.py!
Really? I see no collaboration, respect nor camaraderie in anything
you've posted to date. So I'm confident the future you bring will be
pretty much
On Feb 15, 9:06 am, Steven D'Aprano steve
+comp.lang.pyt...@pearwood.info wrote:
As I see it, the biggest problems with INI files are:
* the INI file module that comes with Python is quite primitive;
* there are many slightly different behaviours you might want in an INI
file, and no clean
rantingrick rantingr...@gmail.com wrote:
1. When has 2 bytecode instructions EVER out weighed a solid
readability feature's incorporation into Python?
The original point was whether or not the code is identical, which
Terry showed it was not.
The load constant should only happen once. The
rantingrick rantingr...@gmail.com wrote:
Well, the only way to reply is to paraphrase an anecdotes my mother
would tell me often as a young lad...
Mother: Just because other language developers choose to jump off the
cliffs of implicit-ey should we jump also?
You think of yourself as a
rantingrick rantingr...@gmail.com wrote:
Well your statment completely ignores the silent majority.
There's a term for people who believe they act with the tacit approval
of the majority: megalomania.
It's also known as narcissistic personality disorder.
No they are trolls and they have
rantingrick rantingr...@gmail.com wrote:
Hmm, that coming from someone who has two posts in this group. And the
last he posted was a year ago!
Wait, I thought you had the approval of the silent majority?
So once anyone actually posts, they lost the right to be counted,
because only when they
rantingrick rantingr...@gmail.com wrote:
That is all you have brought to this conversion so far. You have not
offered solutions for IDLE, heck you don't even inject an opinion of
IDLE. You just spew bile. Have fun with your new playmates.
py flamer_group.append(troll_group.pop(Corey
Gerald Britton gerald.brit...@gmail.com wrote:
x = f()
hasattr(x, '__enter__')
True
with f() as x:
hasattr(x,'__enter__')
True
As you can see, the object has a '__enter__' method regardless of how
it was created. Whatever the test, it needs to return False in the
first case
On Feb 2, 1:28 am, Gerald Britton gerald.brit...@gmail.com wrote:
I'd like to know how (perhaps with the inspect module) I can tell if I
am running in a context manager.
Actually, it occurs to me the simplest way is to use the context
manager itself to keep track:
class F(object):
def
rantingrick rantingr...@gmail.com wrote:
To be honest, i would sacrifice all the functionality of
wxWidgets if we could get pyGUI into the stdlib. Why? Well because
pyGUI would be under OUR complete control.
You would need to contribute something other than bullshit and
vitriol in order to be
rantingrick rantingr...@gmail.com wrote:
Actually i see you point but there is a good reason behind me bringing
this up here. I want to bring to the attention of everyone how little
interest there is for Tkinter.
Right. You have no interest in resolving this issue and instead want
to use it as
rantingrick rantingr...@gmail.com wrote:
You'll need to read that snippet in context to understand what i was
talking about. Again, see my tip of the day in my last post to you.
Pass. I'd have to see value in what you say inside of the endless
masturbatory self-aggrandizement that you pass off
Octavian Rasnita orasn...@gmail.com wrote:
Ok, in this case I understand why WxPython can't be included in stdlib.
I think there was a communication problem because the oldest list members
start with the idea that all the list members know who is who and they may
be thinking that I don't want
rantingrick rantingr...@gmail.com wrote:
different choices OUTSIDE the stdlib. INSIDE the stdlib we have no
choice. Just wanted to make that clear.
Because packaging a dependency with your application is an arcane art
lost to modern times?
--
http://mail.python.org/mailman/listinfo/python-list
On Jan 26, 5:25 am, rantingrick rantingr...@gmail.com wrote:
A vision that
is representative of ALL the people -- and not a few fat cats at the
top.
[...]
This is the only way we can truly
understand what our community members are thinking about Tkinter.
Anything else is purely
rantingrick rantingr...@gmail.com wrote:
Not if we used the underlying MS library! Windows has such a rich
library why not use it? Why must we constantly re-invent the wheel?
Isn't restricting a GUI toolkit to just one of the major OSes the
absolute opposite of 'accessible'?
--
Infinity77 andrea.gav...@gmail.com wrote:
It is very unfortunate that this topic wxPython vs. Tkinter has
drifted to another flame war, as there is really no point in this kind
of discussion.
I don't think it's wxPython that's causing the flames in this
thread :)
--
Octavian Rasnita orasn...@gmail.com wrote:
I am sorry if I offended someone, but the main idea I just wanted to express
was that Python should promote the accessibility and deprecate those tools
which are not accessible. That's all.
Thank you, I was having a hard time understanding your
John Gordon gor...@panix.com wrote:
But lately I've been preferring this style:
def myMethod(self, arg1, arg2):
if some_bad_condition:
return bad1
elif some_other_bad_condition:
return bad2
elif yet_another_bad_condition:
return bad3
On Dec 16, 9:55 pm, Jean-Michel Pichavant jeanmic...@sequans.com
wrote:
I'd like to illutrate the fact that comparing strings using identity is,
most of the time, a bad idea. However I'm searching a short example of
code that yields 2 differents object for the same string content.
Anyone has
On Dec 5, 10:15 am, Zeynel azeyn...@gmail.com wrote:
I am working with Google App Engine python version. The app sends an
email to the user with a link to a page to upload an image as an
avatar. It would be nice to have the email so that I can associate the
avatar with that email. How can I do
On Dec 3, 2:12 am, Tim Harig user...@ilthio.net wrote:
Actually, I thought that debate was resolved years ago. I cannot think of
a single recently developed programming language that does not provide
exception handling mechanisms because they have been proven more reliable.
Google's Go lacks
Martin v. Loewis mar...@v.loewis.de wrote:
There was indeed a kwalitee computation (cheesecake); it is unmaintained.
Ah yes, I couldn't remember the particular mispelling the project
used :)
--
http://mail.python.org/mailman/listinfo/python-list
On Nov 25, 11:57 am, shearichard shearich...@gmail.com wrote:
Hi - Anyone know how the score offered by Pypi is derived ?
For instance in ...
http://pypi.python.org/pypi?%3Aaction=searchterm=spamsubmit=search
... 'bud.nospam 1.0.1' has a score of 9 but 'pydspam 1.1.9' has a
score of 7.
John Doe j...@usenetlove.invalid wrote:
Google Groups spews a massive amount of sewage onto UseNet
everyday. Google Groups is your news server. You should be
ashamed, and I want to help.
Get over yourself.
--
http://mail.python.org/mailman/listinfo/python-list
On Nov 15, 5:50 pm, Dmitry Groshev lambdadmi...@gmail.com wrote:
On Nov 15, 10:30 am, alex23 wuwe...@gmail.com wrote:
Personally, I like keeping object attribute references separate from
dictionary item references.
Your Python doesn't - dot notation is just a sugar for __dict__ lookup
On Nov 15, 10:00 am, John Doe j...@usenetlove.invalid wrote:
Does Komodo have to be shut down individually every time I want to
restart Windows XP? Is there some way to eliminate the persistent
Workspace Restore error after every restart? I have tried setting it
to restore files without
John Doe j...@usenetlove.invalid wrote:
UseNet would be better off if Google Groups didn't exist, IMO.
I'm sorry, are you cranky because you didn't get the answer you wanted
when you posted in a less relevant forum?
Why do you think comp.lang.python is more appropriate than the Komodo
forums?
On Nov 15, 4:39 pm, Dmitry Groshev lambdadmi...@gmail.com wrote:
First of all: how many times do you write something like
t = foo()
t = t if pred(t) else default_value
? Of course we can write it as
t = foo() if pred(foo()) else default_value
but here we have 2 foo() calls
On Nov 15, 5:30 pm, alex23 wuwe...@gmail.com wrote:
t = foo(x) if text on x else default
This should read 'test' instead of 'text', sorry.
--
http://mail.python.org/mailman/listinfo/python-list
Tracubik affdfsdfds...@b.com wrote:
why the integer value doesn't change while the list value do?
http://effbot.org/pyfaq/why-are-default-values-shared-between-objects.htm
--
http://mail.python.org/mailman/listinfo/python-list
Steven D'Aprano st...@remove-this-cybersource.com.au wrote:
Right website, wrong page :)
http://effbot.org/zone/call-by-object.htm
D'oh. Thanks for the catch :)
--
http://mail.python.org/mailman/listinfo/python-list
On Nov 12, 2:53 pm, Lawrence D'Oliveiro l...@geek-
central.gen.new_zealand wrote:
I have asked for my messages to be filtered from being distributed to
python-list. As far as I’m concerned, the lot of you can bloody piss off.
Oh Lawrence, the feeling is mutual. At least then we'd be spared your
Martin Gregorie mar...@address-in-sig.invalid wrote:
Now, if ESR had fixed fetchmail [...]
Did you try submitting patches?
--
http://mail.python.org/mailman/listinfo/python-list
Steve Holden st...@holdenweb.com wrote:
how about print [sys.stdin.readline() for i in range(5)]
At least that won't consume the whole file.
+1 on this approach. Clear and obvious and not reliant on any library
modules other than sys.
itertools, what WAS I thinking? :)
--
Gregory Ewing greg.ew...@canterbury.ac.nz wrote:
I get it. Does that mean that I don't get it?
Mu.
--
http://mail.python.org/mailman/listinfo/python-list
Jorge Biquez jbiq...@icsmx.com wrote:
Can you mention applications/systems/solutions made with Python that
are well known and used by public in general? ANd that maybe we do
not know they are done with Python?
http://python.org/about/success/
This comes up semi-regularly so you might be able
m...@distorted.org.uk (Mark Wooding) wrote:
And the advantage of all of this typing over ['missing'] is what,
precisely?
No chance of the sentinel object being accidentally mutated would be
the big one for me, but clarity of intent would be a close second.
--
Chris Rebert c...@rebertia.com wrote:
Or, if possible, refactor the conditional into a function (call) so
it's no longer multiline in the first place.
Or even simpler, assign the condition result to a variable:
a_b_positive = a 0 and b 0
if a_b_positive:
...
--
Andreas Waldenburger use...@geekmail.invalid wrote:
No, it wouldn't, hence Stefan's (and your) error. It maps to a specific
boy. Replacing thats where possible, it becomes:
I know that [the] that [which] that boy said is wrong.
Ah, I see now: I know that that that that _that_ boy said is
Steven D'Aprano steve-remove-t...@cybersource.com.au wrote:
Load the source code for the ‘this’ module into a text editor, and see
how many of the maxims it violates.
None of them.
I'd say it easily violates the first 3, being neither beautiful,
explicit nor simple, and especially
On Oct 27, 7:58 pm, Robin Becker ro...@reportlab.com wrote:
I know that that that that that boy said is wrong!.
well they say nested is hard. How about this break down
I know that X that a boy said is wrong. (any boy)
I know that X that the boy said is wrong. (a single boy)
I know that X
Steven D'Aprano steve-remove-t...@cybersource.com.au wrote:
Avoiding namespace pollution and information hiding are two good reasons
for nesting classes.
Python already has a great mechanism for regulating namespaces:
modules importing. Information hiding seems to go against the 'all
Steven D'Aprano st...@remove-this-cybersource.com.au wrote:
I'll accept that nested classes are unusual, but unPythonic? Never!
Not even if flat is better than nested ;)
And are you the same Steven D'Aprano who once wrote:
Never nest classes, unless you need to, or to win a bet.
Given that
Jeffrey Gaynor jgay...@ncsa.uiuc.edu wrote:
Certainly give it a shot. The only other IDE I found that was
remotely close to it was Komodo which costs a lot more
(Jetbrains is offering a 50% off coupon as a promotional offer
for a while.)
I recently tried out PyCharm in anger after something
On Oct 15, 5:53 am, de...@web.de (Diez B. Roggisch) wrote:
For example Ableton Live, an audio sequencer.
I _have_ Live and I didn't realise this :O Thanks!
--
http://mail.python.org/mailman/listinfo/python-list
John Nagle na...@animats.com wrote:
All the schemes to speed up Python as defined by CPython seem to hit
a wall on speed improvement. Some of the numeric benchmarks go faster
on implementations that don't box all numbers, but 2x seems to be about
as good as it gets, even with a JIT
On Oct 12, 1:34 pm, ronald brown rbrown...@gmail.com wrote:
I uzipped to python Lib directory and try to run sample prog got this
error. What am I doing wrong?
At a guess, you're not reading the documentation.
You should add modules to Lib/site-packages, not directly to Lib/
itself. In Python
On Oct 8, 10:27 am, Steven D'Aprano st...@remove-this-
cybersource.com.au wrote:
v = [0 for i in range(20)]
Absolutely not. Such a code snippet is very common, in fact I've done it
myself, but it is a hammer solution -- to a small boy with a hammer,
everything looks like a nail that
kj no.em...@please.post wrote:
This is a recurrent situation: I want to initialize a whole bunch
of local variables in a uniform way, but after initialization, I
need to do different things with the various variables.
What I end up doing is using a dict:
d = dict()
for v in ('spam', 'ham',
601 - 700 of 1391 matches
Mail list logo