On 12 October 2012 04:25, Dan Stromberg wrote:
>
> I'm familiar with pylint, and have recently played with pyflakes and flake8.
> I've also heard of pychecker.
>
> Are there others, perhaps including some that aren't written in Python, but
> still check Python?
Another one I've found useful for s
On 25 March 2011 13:51, scattered wrote:
> Here is another possibility: you are using Python *interactively* in
> solving cryptograms (as a matter of fact - I was doing exactly this
> yesterday in trying to solve some Playfair ciphers). You have a
> ciphertext that is a stream of letters in the ra
On 29 Sep 2005 07:24:17 -0700, Xah Lee <[EMAIL PROTECTED]> wrote:
Of course, you begin to write things like Java, in three thousand wordsjust to state you are a moron.
+1 QOTW.
Tim
--
http://mail.python.org/mailman/listinfo/python-list
Because if it takes more than a single line it deserves a name. Also,
if you have more than one line in this function, how do you plan to
reference it if not by name?
Tim
On Thu, 13 Jan 2005 20:53:09 +1000, Egor Bolonev <[EMAIL PROTECTED]> wrote:
> why functions created with lambda forms cannot
On 6/23/05, Patrick Fitzsimmons <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm sure I should know this, but I can't find it in the manual.
>
> Is there a function in Python like the function in PHP isset()? It
> should take a variable name and return True or False depending on
> whether the variable i
Short answer:
lambda is a python keyword which allows you to create anonymous
functions which may be considered a useful thing to have in certain
cases*.
Long answer:
To be provided by someone else who isn't meant to be working right now.
Tim
* There is much debate as to just how useful lambda
On 16 Aug 2006 00:19:24 -0700, Fuzzydave <[EMAIL PROTECTED]> wrote:
> I have been using a round command in a few places to round
> a value to zero decimal places using the following format,
>
> round('+value+', 0)
>
> but this consistantly returns the rounded result of the value
> to one decimal pl
On 1 Nov 2006 16:04:59 -0800, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I recently installed Python 2.5 on Windows and also installed numpy
> 1.0. I'd like to compute an FFT on an array of numbers but I can't
> seem to access the FFT function. I'm fairly new to Python (obviously)
> and I can
Hi Ray,
As a first step you might want to look at numpy/scipy/matplotlib
numpy (numpy.scipy.org) provides the underlying data structures (array
and matrices among other things) you require. This will handle all
your vector stuff, reading/writing to and from files, "loop macros",
etc.
scipy (www.
On 25 May 2005 21:31:57 -0700, Sriek <[EMAIL PROTECTED]> wrote:
> hi,
> i come from a c++ background. i ws happy to find myself on quite
> familiar grounds with Python. But, what surprised me was the fact that
> the __init__(), which is said to be the equivlent of the constructor in
> c++, is not a
On 29 May 2005 19:55:32 -0700, lostinpython
<[EMAIL PROTECTED]> wrote:
> I'm having trouble writing a program that figures out a prime number.
> Does anyone have an idea on how to write it? All I know is that n > 2
> is prim if no number between 2 and sqrt of n (inclusivly) evenly
> divides n.
Th
On 31 May 2005 03:12:49 -0700, venkat <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I want to solve linear least sqaure problem( min||c-Ax||2 subject to
> Bx=d ). How do I do it in python. lapack has a routine for doing this
> (DGGLSE). Can I access this from python?
>
Check out scipy, in particular the l
My understanding is that there are licence issues (someone please
correct me if I'm wrong). The moral of the story is that there's a
seperate (non-free) package for the profiler:
http://packages.debian.org/testing/python/python2.4-profiler
HTH
Tim
On 6/13/05, kyo guan <[EMAIL PROTECTED]> wrote:
On 6/12/07, why? <[EMAIL PROTECTED]> wrote:
> I've been having problem with the following code. It's supposed to
> print the prime numbers between 10 and 100. But i'm not getting any
> output, i.e. i guess the outer 'for' loop is being traversed only
> once. I would be greatful if you could help m
On 8 May 2007 18:09:52 -0700, HMS Surprise <[EMAIL PROTECTED]> wrote:
>
> The string below is a piece of a longer string of about 2
> characters returned from a web page. I need to isolate the number at
> the end of the line containing 'LastUpdated'. I can find
> 'LastUpdated' with .find but n
On 14 Apr 2007 20:20:42 -0700, Paddy <[EMAIL PROTECTED]> wrote:
> On Apr 15, 3:58 am, Steven D'Aprano
> <[EMAIL PROTECTED]> wrote:
> > On Sat, 14 Apr 2007 17:33:11 -0800, Troy Melhase wrote:
> > > On 4/14/07, Mike <[EMAIL PROTECTED]> wrote:
> > >> While trying to write a recursive function involvin
On 5 Dec 2007 10:08:48 GMT, Adrian Cherry <[EMAIL PROTECTED]> wrote:
> Ant <[EMAIL PROTECTED]> wrote in news:52f0eca3-e807-4890-b21d-
> [EMAIL PROTECTED]:
>
> > Python on xkcd:
> >
> > http://xkcd.com/353/
> >
>
> Another good comic from xkcd, I'm surprised by the muted response
> on here. Don't fo
On Mon, Mar 31, 2008 at 12:24 PM, <[EMAIL PROTECTED]> wrote:
> How do I get a Rubik's cube translation out of this:
>
> >>> a= numpy.array([[0,1,2],[3,4,5],[6,7,8]])
> >>> a
> array([[0, 1, 2],
>[3, 4, 5],
>[6, 7, 8]])
> >>> a[:,0],a[:,1],a[:,2] #no good
> (array([0, 3, 6]), a
On Mon, Sep 22, 2008 at 6:02 PM, Al Kabaila <[EMAIL PROTECTED]> wrote:
> Hi,
>
> My OS is Linux (openSUSE 10.3) and my interest in retirement is Python
> applications to Structural Analysis of Civil Engineering structures,
> currently in 2 dimensions only (under GPL). Modern Structural Analysis is
On Tue, Sep 30, 2008 at 12:04 PM, Ken D'Ambrosio <[EMAIL PROTECTED]> wrote:
> First, apologies for such a newbie question; if there's a better forum (I've
> poked around, some) feel free to point it out to me. Anyway, a mere 25-odd
> years after first hearing about OOP, I've finally decided to go
On 3/14/06, John Savage <[EMAIL PROTECTED]> wrote:
I've very new to python, and am currently toying with pythonD. Couldsomeone please explain the rationale behind python designers' thinkingin deciding the function "range(1,12)" should return the sequence 1 to
11 rather than the more intuitively-use
On Fri, Jul 9, 2010 at 12:16 PM, Jack Diederich wrote:
>
> The right way to think about python syntax is not to consider what is
> obvious to an LL(1) compiler, or what makes sense in English, but
> rather "what was the obvious way to write an LL(1) syntax if you are a
> Dutchman who speaks Englis
On 10 September 2010 10:36, C Barrington-Leigh wrote:
>
> Most immediately, I'd love to get code for weighted sem. I'll write it
> otherwise, but if I do I'd love to know whom to bug to get it
> incorporated into numpy.sem ...
The best place to ask about numpy related stuff is the numpy mailing l
On 10 September 2010 11:43, C Barrington-Leigh wrote:
>
>> The best place to ask about numpy related stuff is the numpy mailing list at:
>>
>> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>>
>> This is also the best place to present a patch if you have code to
>> contribute. In my exper
24 matches
Mail list logo