Hi all
I am using a few DB_API adaptors - ceODBC for Sql Server, psycopg2 for
PostgreSQL, and sqlite3 for sqlite3.
They all offer the feature that if a cursor executes a SELECT, the cursor
returns an iterator which can be used to fetch one row at a time. I have
been using this feature for a
"Frank Millman" writes:
> I am using a few DB_API adaptors - ceODBC for Sql Server, psycopg2 for
> PostgreSQL, and sqlite3 for sqlite3.
>
> They all offer the feature that if a cursor executes a SELECT, the
> cursor returns an iterator which can be used to fetch one row at a
> time. I have been u
"Alain Ketterlin" wrote
"Frank Millman" writes:
I am using a few DB_API adaptors - ceODBC for Sql Server, psycopg2 for
PostgreSQL, and sqlite3 for sqlite3.
They all offer the feature that if a cursor executes a SELECT, the
cursor returns an iterator which can be used to fetch one row at a
t
Hi everybody,
I'm looking for a way to migrate SQLAlchemy based database easily. I
found Migrate, but finally it's almost the same as doing the migration
by hand.
If this doesn't exists, do you think that it would be hard to do a
simple migration tool which would :
- Add/Delete columns
When I installed Python's setuptools I absent mindedly tacked on a --
prefix path I had been using on another machine:
sh setuptools-0.6c11-py2.7.egg --prefix=/opt/python2.7.2
Now after this blunder when I try to install pip I get the following
error:
[root@kkdev src]# easy_install pip
Searching
Hi
This it to let you know that I'm writing (in Python) a script that
places the content of CTAN into a git repository.
https://bitbucket.org/jfine/python-ctantools
I'm working from the TeX Collection DVDs that are published each year by
the TeX user groups, which contain a snapshot of CT
Jonathan Fine writes:
> Hi
>
> This it to let you know that I'm writing (in Python) a script that
> places the content of CTAN into a git repository.
> https://bitbucket.org/jfine/python-ctantools
I hope that you meant "repositories" (plural) here, one per tool,
rather than putting all of
Greetings experts:
I just dl'd the duqu driver finder script from a link to NSS on /., and
fixed enough of the tabs in it to make it run error-free. At least python
isn't having a litter of cows over the indentation now.
But it also runs instantly on linux.
This line looks suspect to me:
roo
On 06/11/11 16:42, Jakub Narebski wrote:
Jonathan Fine writes:
Hi
This it to let you know that I'm writing (in Python) a script that
places the content of CTAN into a git repository.
https://bitbucket.org/jfine/python-ctantools
I hope that you meant "repositories" (plural) here, one p
Is there an opensource Python tool for creating RSS feeds, that doesn't
require large dependencies?
I found feedformatter.py on pypi, but it seems a little old, and its sole
automated test gives a traceback.
Is there a better starting point?
(I'd of course prefer something that'll run on 3.x and
On 11/06/2011 01:14 PM, gene heskett wrote:
Greetings experts:
I just dl'd the duqu driver finder script from a link to NSS on /., and
fixed enough of the tabs in it to make it run error-free. At least python
isn't having a litter of cows over the indentation now.
But it also runs instantly on
The following message is a courtesy copy of an article
that has been posted to comp.lang.python,comp.text.tex as well.
Jonathan Fine writes:
> On 06/11/11 16:42, Jakub Narebski wrote:
>> Jonathan Fine writes:
>>
>>> This it to let you know that I'm writing (in Python) a script that
>>> places th
On 06Nov2011 13:14, gene heskett wrote:
| Greetings experts:
|
| I just dl'd the duqu driver finder script from a link to NSS on /., and
| fixed enough of the tabs in it to make it run error-free. At least python
| isn't having a litter of cows over the indentation now.
|
| But it also runs i
On Sunday, November 06, 2011 06:07:36 PM Dave Angel did opine:
> On 11/06/2011 01:14 PM, gene heskett wrote:
> > Greetings experts:
> >
> > I just dl'd the duqu driver finder script from a link to NSS on /.,
> > and fixed enough of the tabs in it to make it run error-free. At
> > least python is
On Oct 16, 12:05 am, Steven D'Aprano wrote:
> On Sat, 15 Oct 2011 15:04:24 -0700, DevPlayer wrote:
> > I thought "x not in y" was later added as syntax sugar for "not x in y"
> > meaning they used the same set of tokens. (Too lazy to check the actual
> > tokens)
Stated in response to OP wanting a
On 11/06/2011 06:10 PM, gene heskett wrote:
On Sunday, November 06, 2011 06:07:36 PM Dave Angel did opine:
On 11/06/2011 01:14 PM, gene heskett wrote:
Greetings experts:
I just dl'd the duqu driver finder script from a link to NSS on /.,
and fixed enough of the tabs in it to make it run error
On Nov 6, 2011, at 3:34 PM, Cameron Simpson wrote:
> Perhaps more relevantly:
>
> If you have unmangled a lot of tabs, remember that control flow is
> indentation based in python, and you may have broken some logic.
> (For this reason a number of us set our editors to work only in spaces).
I wou
Hi all
I don't understand why I get this error. I'm trying to delete the existing
points, then redraw them after this bit of code to 'animate' my simulation.
def update(self, point1, point2):
# Deletes existing points
if self.point1:
self.w.delete(point1)
On Sun, 06 Nov 2011 13:14:43 -0500, gene heskett wrote:
> I just dl'd the duqu driver finder script from a link to NSS on /., and
> fixed enough of the tabs in it to make it run error-free. At least
> python isn't having a litter of cows over the indentation now.
Presumably the script should
Hi,
I released Oktest.py 0.10.0.
http://packages.python.org/Oktest/
http://www.kuwata-lab.com/oktest/
Oktest.py is a new-style testing library for Python.
::
from oktest import ok, NG
ok (x) > 0 # same as assertTrue(x > 0)
ok (s) == 'foo'# same as assertEq
On 11/6/2011 12:04 PM, Dennis Lee Bieber wrote:
On Sun, 6 Nov 2011 11:39:56 +0200, "Frank Millman"
declaimed the following in gmane.comp.python.general:
So my analysis of the problem is correct, but my solution is wrong.
Instead of executing fetchall() and returning the connection, I should
r
Dne 6.11.2011 14:18, Kev napsal(a):
Again the wrong path is being used to create the symbolic link to
where virtualenv is installed:
http://packages.python.org/distribute/easy_install.html#administrator-installation
for list of additional configuration files which might go wrong (namely
*.pth
Dan Stromberg, 06.11.2011 21:00:
Is there an opensource Python tool for creating RSS feeds, that doesn't
require large dependencies?
I found feedformatter.py on pypi, but it seems a little old, and its sole
automated test gives a traceback.
Is there a better starting point?
(I'd of course pref
23 matches
Mail list logo