Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 2550

Python is a dynamically typed, high-level interpreted programming language. Its design focuses on clear syntax, an intuitive approach to object-oriented programming, and making the right way to do things obvious. Python supports modules and exceptions, and has an extensive standard module library. Python is general-purpose and thus used widely, from the web to embedded systems.

10 votes

Correlation between two curves

The classic Pearson's correlation coefficient is perhaps the most popular measure of curve similarity. SciPy's pearsonr function gives you that. Correlation coefficient measures shape similarity and …
Joonas Pulakka's user avatar
11 votes

Python for large projects

I don't think there's anything specific to large Python projects that wouldn't apply to large projects in other programming languages as well. …
Joonas Pulakka's user avatar
5 votes

Python mutable default argument: Why?

What benefits does this behaviour offers over an initialisation at each call time? It lets you select the behavior you want, as you demonstrated in your example. So if you want that the default a …
Joonas Pulakka's user avatar
7 votes
Accepted

Is Python's C interface faster than JNI?

the program was really hurting your program's performance, you write them in C, and make Python call them. … That is, don't write tight Python loops that call C functions; do write the loop itself in C and call it from Python. …
Joonas Pulakka's user avatar
9 votes

Why aren't there explicit access modifiers in Python:

The Python convention is to use an underscore prefix for protected/private members. …
Joonas Pulakka's user avatar
6 votes

If we can do functional programming with Python, do we need a specific functional programmin...

You can do functional programming in Java (see e.g. http://functionaljava.org/). You can also do object oriented programming in C. It's just not that idiomatic. So indeed we don't absolutely need Erl …
Joonas Pulakka's user avatar
7 votes

python vs php (for project managers)

If you already know Python, you should be able to pick up PHP in no time (the converse is not necessarily true). There's a reason for PHP's popularity. …
Joonas Pulakka's user avatar
4 votes
Accepted

Using Clojure instead of Python for scalability (multi-core) reasons, good idea?

Can't I make really efficient use of all cores using a more imperative language like Python, than a lisp dialect or other functional language? You definitely can. … It seems that all the benefits of it come from using immutable data, can't I do just that in Python and have all the benefits? …
Joonas Pulakka's user avatar
3 votes

How is the JVM and Java's WORA different from other high level languages?

When Java was new, WORA was something to boast about - specifically, that you could compile on one platform and run that (compiled bytecode) on other platforms. Of course, interpreted languages run p …
Joonas Pulakka's user avatar
19 votes
Accepted

Python productivity VS Java Productivity

In Python it's f.read(). This will definitely be a huge productivity boost especially in quick prototyping. … Python the language is also generally less verbose, which is not a bad thing (although I think the importance of verbosity vs. conciseness is often overemphasized). …
Joonas Pulakka's user avatar