Description:
The Python computer language.
|
|
|
Need help with shutils.copytree
|
| |
I have a 'master' directory and a collection of 'slave' dirs. I want the master to collect all of the stuff in the slave dirs.
The slaves all look like this,
.
...
Where the different slaveX dirs may contain multiple occurrences of archI and distJ, but across all slaveX dirs, there will only be one *unique* instance of... more »
|
|
package extension problem
|
| |
Hello,
I wish to extend the functionality of an existing python package by creating
a new package that redefines the relevant classes of the old package. Each
new class inherits the equivalent old class and adds new methods.
In the new package there is something like the following.
import old_package as op... more »
|
|
Numeric root-finding in Python
|
| |
This is only peripherally a Python problem, but in case anyone has any good ideas I'm going to ask it.
I have a routine to calculate an approximation of Lambert's W function, and then apply a root-finding technique to improve the approximation. This mostly works well, but sometimes the root-finder gets stuck in a... more »
|
|
Python usage numbers
|
| |
Does anyone have (or know of) accurate totals and percentages on how
Python is used? I'm particularly interested in the following
groupings:
- new development vs. stable code-bases
- categories (web, scripts, "big data", computation, etc.)
- "bare metal" vs. on top of some framework
- regional usage... more »
|
|
greenlet 0.3.4
|
| |
Hi,
I have uploaded greenlet 0.3.4 to PyPI:
[link]
What is it?
-----------
The greenlet module provides coroutines for python. coroutines allow
suspending and resuming execution at certain locations.
concurrence[1], eventlet[2] and gevent[3] use the greenlet module in... more »
|
|
Building a debug version of Python 3.2.2 under Windows
|
| |
I tried to build Python 3.2.2 with VS 2008, but it seems I'm missing
some header files (e.g. sqlite3, openssl). Is there a nice little
package with all the dependencies, or do I need to grab source code
packages for each program from their respective websites, or something
else entirely?
--... more »
|
|
MySQL: AttributeError: cursor
|
| |
Hi All,
I'm using Python 2.7 and having a problem creating the cursor below.
Any suggestions would be appreciated!
import sys
import _mysql
print "cursor test"
db =
_mysql.connect(host="localhost ",user="root",passwd="mypw",db ="python-
test")
cursor = db.cursor()
...cursor test... more »
|
|
|