qvx wrote:
> I really can't seem to make sqlobject/pysqlite2 save my local Easter
> European characters.
>
> I am a Windows-1250 user and I have sys.setdefaultencoding('dbcs') in
> my sitecustomize.
>
> How can I save data like "šdccž"?
> This is equivalent to '\x9a\xf0\xe8\xe6\x9e'
>
> I'm usin
Markus Wankus wrote:
> [...] Thanks for the reply - maybe I'll give it another shot. I'm currently
> demoing Snakelets. Quite a turn in the opposite direction, but small
> and super-easy to get going with. [...]
I also found Snakelets a pleasure to use and chose it for implementing a
clan hom
Fredrik Lundh wrote:
> "Celine & Dave" wrote:
>
>
>>What happens if I build Python with debug option
>>(--with-pydebug)? Do I see any changes in my program
>>output? What is --with-pydebug good for?
>
>
> from the README:
>
> --with-pydebug: Enable additional debugging code to help track down
mrstephengross wrote:
> I'd like to do some basic SQL stuff in Python. It seems like there are
> a heck of a lot of SQL modules for Python. What's the simplest and
> easiest one to use?
It looks like pysqlite would be good for getting started with the
SQL/Python combo:
http://www.pysqlite.org/
Python_it wrote:
> I know how to insert values in a database.
> That's not my problem!
> My problem is how i insert NULL values in de mysql-database.
> None is een object in Python and NULL not.
> None is not converted to NULL?
> Table shows None and not NULL!
As Laszlo wrote, "None will be conver
Jeremy Moles wrote:
> [...] What I'm trying
> now is the following:
>
> PyObject* obj = _PyObject_New(&PyType_MyType);
> obj = PyObject_Init(obj, &PyType_MyType);
>
> ...
>
> return obj;
>
> When "obj" gets back to the interpreter, Python sees it (or rather, it's
>
shawn wrote:
> I am trying to make a subtype of a string. Initially it will have no
> new methods or attributes, the C equivalent of:
>
> class myStr(str):
> pass
>
> I have experimented a bit, but am currently making a mess of it. Does
> anybody have an example they can point to of inheritin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Steve Holden wrote:
> I'm trying to copy data from an Access database to PostgreSQL, as the
> latter now appears to work well in the Windows environment. However I'm
> having trouble with date columns. [...]
> Here's the problem in a nutshell:
>
>
PyPK wrote:
> What possible tricky areas/questions could be asked in Python based
> Technical Interviews?
I would try to check if the applicant understands the Python data model:
http://docs.python.org/ref/objects.html Because I thinkt that's
fundamental to understanding the Python language and
Luiz Geron wrote:
> Hi all,
> I'm testing the PDO wrapper to database modules [1] and I'm wondering
> how few things like this there are around.
Actually there are several Object-Relation Mappers (ORM) for Python, and
also a few other attempts to provide a more convenient layer on top of
DB-API
bruno modulix wrote:
> beza1e1 wrote:
>>well, list comprehension is Python 2.4
>
> 2.2.x IIRC
List comprehensions were introduced in Python 2.0, according to the
"What's new in ..." document at
http://www.amk.ca/python/2.0/index.html#SECTION00060
-- Gerhard
--
http://mail.py
Xah Lee wrote:
> in some online documentations, for examples:
>
> http://perldoc.perl.org/perlref.html
> http://www.ccs.neu.edu/home/dorai/t-y-scheme/t-y-scheme-Z-H-17.html
> http://www.haskell.org/hawiki/HaskellDemo
>
> the codes are syntax colored.
>
> Is there a tool that produce codes in htm
[EMAIL PROTECTED] wrote:
> I want to scan a file byte for byte [...]
> while True:
> ch = inputFile.read(1)
> [...] But it is very slow. What is the fastest way to do this? Using some
> native call? Using a buffer? Using whatever?
Read in blocks, not byte for byte. I had good experiences with
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David Mitchell wrote:
> Hello,
>
> I am a complete beginner with Python. I've managed to get mod_python up and
> running with Apache2 and I'm trying to a simple insert into a table in a
> MySQL database.
>
> I'm using the MySQLdb library for connect
Alex Hunsley wrote:
> [EMAIL PROTECTED] wrote:
>
>>Need python Pro at [EMAIL PROTECTED] , if u wanna help,
> [...]
> 2) Why should someone willing to help you enter into a private email
> discussion? [...]
Actually, it's a Google Group mailing list (formerly eGroups):
http://groups.google.de/g
Damjan wrote:
> This is a simplification of the program
>
> c = db.cursor()
> while 1:
> c.execute('select ')
> smtp = SMTP(MAIL_HOST, 25, 'localhost')
> for address, subject, body in c:
> smtp.sendmail()
> smtp.quit()
> time.sleep(60)
>
> now if the select doe
Thomas Bartkus wrote:
> [some posters having the idea that MySQLdb works without a C extension]
> Okay - I neglected to look at the [site-packages] directory itself. Here I
> do find [_mysql.pyd] full of binary code. A MySQLdb related file that
> doesn't seem to have a corresponding file with Pyt
[EMAIL PROTECTED] wrote:
> What should I do to be able to compile C-extensions (with python 2.4,
> winXP)? I get an error message, approximately "The .NET Framework SDK
> needs to be installed"; I tried to get something from the Microsoft web
> site, but maybe not the right version (or didn't se
[EMAIL PROTECTED] wrote:
> Does anyone know if a "distributed caching system" has been developed
> for use with Python? I've seen mention of memcached, but was really
> after something natively python. [...]
Too bad, because memcached implements all the difficult parts already
(like failover if o
vb_bv wrote:
> Does Pyton PL/SQL programming language of Oracle support?
Python supports calling Oracle PL/SQL procedures. Here's an example
using the cx_Oracle database adapter:
>>> import cx_Oracle
>>> con = cx_Oracle.connect("outlinetest/[EMAIL PROTECTED]")
>>> cur = con.cursor()
>>> cur.
infidel wrote:
> vb_bv wrote:
>
>>Does Pyton PL/SQL programming language of Oracle support?
>>
> PL/SQL is only supported *inside* Oracle databases. Python can be used
> to call PL/SQL procedures (I recommend the cx_Oracle module), but you
> can't run Python inside the database like PL/SQL.
If o
infidel wrote:
> I have a stored procedure that has a single output parameter. Why do I
> have to pass it a string big enough to hold the value it is to receive?
> Why can't I pass an empty string or None?
> [...]
> Am I missing something obvious here?
You have to use variable objects to the call
sumi wrote:
> Hi, i am very new to python , it is just 2 days i started reading abt
> it. I did not understand the above statement. what i want to do is , i
> want to login as a super user eg :
> $su xyz , and then i need to enter the passwd, i want to do these steps
> using python , how can i do
mclaugb wrote:
> Is there any way to either restrict the number of variables displayed in the
> Globals or Locals section. It is a pain having to search through this list
> all of the time just to look at the values of variables in my program.
IMO, if you have too many locals or globals then th
Vittorio wrote:
> [...]
> Nonetheless, I was unable to find any documentation about such a
> different behaviour between Pysqlite and Pysqlite2; from my beginner
> point of view the Pysqlite (Magnus' version) paramstyle looks a better
> and more pythonic choice and I don't grasp the Pysqlite2 de
Grig Gheorghiu wrote:
> In my testing, I need to connect to Oracle, SQL Server and DB2 on
> various platforms. I have a base class with all the common code, and
> derived classes for each specific database type using specific database
> modules such as cxOracle, mxODBC and pyDB2. The derived classe
Jandre wrote:
> To anyone that can help
>
> I have 2 MySQL databases that contain large amounts of tables. I need
> to be able to compare the data in the tables with older/newer versions
> of the tables. I figured the easiest way would be to get the info in
> csv format and then run a comparison.
Yves Glodt wrote:
> Hello,
>
> another question rose for me today...
>
> Is there a way to start an external process, in it's own context (not as
> the exec-() functions do), and get it's pid...? [...]
Check out the subprocess module if you're using Python 2.4.
Otherwise, you can always use os
[EMAIL PROTECTED] wrote:
> Hi,
>
> Should execute() be allowed to execute multiple operations? [...]
You best ask such questions on the DB-SIG. I say "no" and I think most
people there will agree.
Most DB-API modules will accept multiple statements, but that's an
implementation artifact, and n
Tin Gherdanarra wrote:
> Hallo,
>
> I'm trying to install pypgsql. However, I get syntax errors
> while compiling the C sources. The following excerpt
> from pgconnection.h looks a little funny to me:
>
> typedef struct {
> PyObject_HEAD /* Here is the syntax error, and rightly so */
> [...]
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Micah Elliott wrote:
> On Dec 02, Dave Hansen wrote:
>
>>Python recognizes the TAB character as valid indentation. TAB
>>characters are evil. They should be banned from Python source code.
>
> AGREE! AGREE! AGREE!
>
>>The interpreter should sto
Glauco wrote:
> [...]
> Gerhard thank you very much, this example explain me some idea, but
> anyway don't resolve the core question.
> In you example when dateVal is a None or textVal is none.
> argument x must be DateTime, not None.
> so i must manipulate for the empty string or None cases
No,
Frank Millman wrote:
> Hi all
>
> I am writing a multi-user accounting/business system. Data is stored in
> a database (PostgreSQL on Linux, SQL Server on Windows). I have written
> a Python program to run on the client, which uses wxPython as a gui,
> and connects to the database via TCP/IP.
>
>
Ed Hotchkiss wrote:
> On 15 Sep 2005 21:31:27 -0700, *gsteff* wrote:
>
> SQLite rocks, its definitely the way to go. Its binary is around 250K,
> but it supports more of the SQL standard than MySQL. It CAN be thread
> safe, but you have to compile it with a threadsafe macro enabled.
[EMAIL PROTECTED] wrote:
H!
I'm trying things with databases and Python 2.4 for windows2000.
And now I want to try pysqlite.
but http://pysqlite.org/ is down
It is in the process of being made an alias for the real new home:
http://initd.org/projects/pysqlite
and http://pysqlite.sourceforge
Timothy Smith wrote:
[...] is there anyway i can check
is it true psycopg is much faster or is it all hyperboll
The overhead of psycopg per cursor row is a lot less. So it makes a
difference if you fetch *a lot* of data.
Anyway, if you don't have a performance problem, you don't need to care ;-)
MarcoL wrote:
Hello,
I am a VB6 programmer and I would like to learn a new high level
language (instead of restarting from scratch with .NET), wich is
opensource and cross-platform, in order to develop cross-platform
business applications
I think Python is the most suitable language for the
kanzen wrote:
I keep telling my friends that Python rocks. Now it's time to put my
money where my mouth is. I'm about to start writing a server for a
phone based game. It needs to handle simlpe requests from some Java
code running on the phone at a fairly low transaction rate. There will
also be a
Larry Bates wrote:
[...] You might want to take a look a Medusa. It is the basis for the
web server that is bundled in Zope.
Medusa is just an asyncore framework, and not something you can develop
web apps with.
-- Gerhard
--
http://mail.python.org/mailman/listinfo/python-list
PA wrote:
On Mar 25, 2005, at 11:04, PA wrote:
What am I doing wrong? Why is the user name being encoded twice?
Ok... turns out that this is/was a bug in the python smtplib as
recently as Dec 6 2004:
Patch #1075928: AUTH PLAIN in smtplib.
"smtplib can not log in to some server using command AUT
Bob Then wrote:
how can i change all files from one extension to another within a direcory?
Using os.listdir, os.path.split and os.rename.
-- Gerhard
--
http://mail.python.org/mailman/listinfo/python-list
NEW FEATURES
- No new features, but tons of bugfixes. These mean that things now work
that
didn't before:
- Transactional DDL now works
- You can use SAVEPOINTs now
BUILD PROCESS
- Python 2.7.x is now required. If trying to use it with Python 3, print a
useful error message. Integrated all
0
> (from versions: 2.5.6, 2.6.0, 2.6.3, 2.7.0)
> Some externally hosted files were ignored as access to them may be
> unreliable (use --allow-external to allow).
> No distributions matching the version for pysqlite==2.8.0
>
>
>
> On Tuesday, August 18, 2015 at 8:17:46 PM U
Bo Peng wrote:
> Dear list,
>
> Is there a better way than doing
>
> try:
>import aModule
> except:
>has_aModule = False
> else:
>has_aModule = True
>
> The main concern here is that loading aModule is unnecessary (and may
> take time).
No, there is not really a better way.
You *c
Lonnie Princehouse wrote:
> Pretty neat =)
>
> But aren't you concerned about security? Letting anybody execute
> arbitrary Python expressions (and therefore also arbitrary system
> commands?!) on your box --- even from within a FreeBSD jail --- seems a
> bit dangerous.
I found out about the Fre
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
pysqlite 2.1.0 released
===
I'm pleased to announce the availability of pysqlite 2.1.0. This is a
major release with many new features and some internal changes. While
the code was tested by a few people who tracked Subversion, use
Alex Martelli wrote:
> Gerhard Häring <[EMAIL PROTECTED]> wrote:
>...
>
>>An optimized shortcut has been enabled to retrieve Unicode strings for
>>non-ASCII data, but bytestrings for non-ASCII text:
>>
>>con.text_factory = sqlite.OptimizedUnicod
Kay Schluehr wrote:
> I wonder why this expression works:
>
decimal.Decimal("5.5")**1024
>
> Decimal("1.353299876254915295189966576E+758")
The result is a Decimal type, which can have *very high* values.
> but this one causes an error
>
> 5.5**1024
>
> Traceback (most recent call last):
>
Tim Parkin wrote:
> Fredrik Lundh wrote:
>
>
>>>Good and congratulations, it shows that the source code is well
>>>formatted/consistent - I wish the rest of the website html/data were so.
>>>If you are suggesting that your skills can do this with the rest of the
>>>site content then please, pleas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Brian Cole wrote:
> I can compile and install cx_Oracle fine by following the manta:
> export ORACLE_HOME=...
> python setup.py install
> export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
> python
>
import cx_Oracle
>
>
> My issue is the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Steve Holden wrote:
> Tim Golden wrote:
>
>>[Steve Holden]
>>
>>| https://svn.python.org/www/trunk/beta.python.org
>>
>>| but I don't know whether anonymous access is enabled. Maybe you can
>>let
>> |me know ...
>>
>>Doesn't look like it. Asking me
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tim Parkin wrote:
> [...] Thanks for installing pyramid! Can
> you give me any feedback on what parts of the install process were
> painful..
There was nothing particularly painful.
I tried to avoid having to install everything manually and to use th
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I've also done some experimentation this weekend, and my solution would
be based on MoinMoin and KID.
Fredrik Lundh wrote:
> [...] and a more
> extensive (but still rough) translation is available here:
>
> http://effbot.org/pydotorg/
>
> the s
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dennis Benzinger wrote:
> [EMAIL PROTECTED] wrote:
>> Is it possible to use this for sending triggers to a sqlite db?Could
>> someone provide me with an example of how to do this please?
>> Thanks
>
> Do you want to implement a trigger for a SQLite da
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello,
the last pyPgSQL release was in July 2003. Now, after a much too long time
I went through all items in the bugtracker and created a release.
pyPgSQL is a Python database adapter for PostgreSQL databases. Its homepage
is at http://pypgsql.sf.ne
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
pysqlite 2.3.0 released
===
I'm pleased to announce the availability of pysqlite 2.3.0. This is a major
release with a few new features.
Go to http://pysqlite.org/ for downloads, online documentation and
reporting bugs.
What is p
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dawid Gajownik wrote:
> Dnia 06/13/2006 08:52 PM, Użytkownik Gerhard Häring napisał:
>
>> pysqlite 2.3.0 released
>
> Great :) I have one more problem, though. It does not compile: [...]
> src/connection.c:31:26: error: sqlitec
Michael Husmann wrote:
>> Michael Husmann wrote:
>>> After upgrading from pysqlite 2.0.5 to pysqlite 2.3.0 writing into a
>>> sqlite database increases memory consumption heavily. A similar program
>>> with Ruby and sqlite-ruby 1.1.0 does not affect memory consumption at
>>> all.
>>> [...]
>>> Pyth
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Gerhard Häring wrote:
> Michael Husmann wrote:
>>> Michael Husmann wrote:
>>>> After upgrading from pysqlite 2.0.5 to pysqlite 2.3.0 writing into a
>>>> sqlite database increases memory consumption heavily. A simil
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Fredrik Lundh wrote:
> bruno at modulix wrote:
>
>> Nope - it's a Python MVC web framework. Like Django, Pylons and
>> Turborgears. And FWIW, there have been recently some discussions about
>> merging Subway and Turbogears.
>
> recently? was that be
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
pysqlite 2.3.1 released
===
I'm pleased to announce the availability of pysqlite 2.3.1. This is a
bugfix release, but it includes important fixes. Users of pysqlite
2.2.1 to 2.3.0 should definitely upgrade.
Go to http://pysqlite.o
Cihal Josef wrote:
> Hi,
>
> how can I connect to oracle database as SYSDBA
>
> as usually: "sqlplus anc/psw as sysdba"
>
> It is a parsing problem? (blanks,etc.?)
>
> or it is not implmented in DCOracle2? [...]
From a quick glance at the code, it does not seem like it is
implemented in
Kay Schluehr wrote:
> [EMAIL PROTECTED] wrote:
>
>> I wouldn't be at all surprised if the pysqlite author operated under that
>> assumption. That the Python developers didn't pick up on the issue is not
>> surprising. I'm not sure how many of them are (py)sqlite users, probably
>> relatively few
Daniel Nogradi wrote:
> A new release of markup.py is available at
>
> http://markup.sourceforge.net/
>
> The markup module is an intuitive, lightweight, easy-to-use,
> customizable and pythonic HTML/XML generator. [...]
It's more than only a bit confusing that there's also
Markup: A toolkit fo
Pankaj wrote:
> [...]
>
> What i tried in python was::
>
>
> f = open( "./1.c", "r")
> fNew = open( "./1_new.c", "w")
> for l in f:
> print l
> lineno = lineno + 1
> strToFind = "for\((.*)\;(.
Murphy Wong wrote:
> Dear all,
>
> I've installed python 2.4.2 and Zope 2.8.5 on a 64-bit Linux. As I'm
> installing FLE (http://fle3.uiah.fi/), I find that it will call the
> rotor module i npython. However, rotor is removed from python 2.4.2
> (http://savannah.nongnu.org/bugs/?func=detailit
Derick van Niekerk wrote:
> [quote]
> d = {"spam": "1", "egg": "2"}
>
> cols = d.keys()
> vals = d.values()
>
> stmt = "INSERT INTO table (%s) VALUES(%s)" % (
> ",".join(cols), ",".join(["?"]*len(vals))
> )
>
> cursor.execute(stmt, tuple(vals))
> [/quote]
>
> I will be using the python-
Gregory Piñero wrote:
> Just thought I'd see if you guys had an answer for this. My website
> analytics page shows that people come to my site after searching for
> "Python drive name" but I don't think I'm offering any help with such
> a thing.
>
> However I would like to help since I'm getting
Sorry for the duplicate email, Keith.
[EMAIL PROTECTED] wrote:
> Hi,
>
> I am trying to use the Python MySQL APIs and have been attempting to
> install the above software.
>
> I am using MySQL 5.0.18-standard with Python 2.4.1
>
> I get errors on the build. Some searching showed that one of the
[EMAIL PROTECTED] wrote:
> I have been reading many of the posting on the GIL and impact on
> threading etc. I have found is confusing and would welcome some
> clarity on this.
>
> I understand that embedding the interpreter in a C/C++ application
> limits it to one CPU. If the application is mu
[EMAIL PROTECTED] wrote:
> I am trying to use Python to do queries on a Oracle database using a
> Solaris box. I have seen tools such as cx_Oracle which would be good
> except that my Solaris box does not have an Oracle installation. Do I
> need to have an Oracle installation on my Solaris box to a
bolly wrote:
> Hi,
> I've been putting Python data into a sqlite3 database as tuples but
> when I retrieve them they come back as unicode data e.g
> 'u(1,2,3,4)'.
Looks like you're using pysqlite 2.x.
> How can I change it back to a tuple so I can use it as a
> Python native datatype?
You canno
Durumdara wrote:
> Hi !
>
> I have a problem.
> I have a little tool that can get data about filesystems and wrote it in
> python.
>
> The main user asked me a GUI for this software.
>
> This user is needed a portable program, so I create this kind of the
> software with Py2Exe.
>
> But it have
Durumdara wrote:
> Hi !
>
> Yes, it is. But that tool is designed for USB PenDrive usage.
> The assessor is collect all tools it needed to see a machine(s) in the
> checked corporation.
> He/she needs little programs, because he need to store the results of
> the checkings too, not the tools onl
Grzegorz Ślusarek wrote:
> Hi All. I need to redirect user in my CGI script, i Try to use prin
> "Location: "+url but this is not working. Can anyone tell me what I'm
> doing wrong?
> Any thanks will be apreciated
I guess you forgot to set the HTTP-Status. Either:
print "Status: 301" # Mov
Max wrote:
> Giovanni Bajo wrote:
>
>>There are also other choices that can be made. For instance, wxWidgets is
>>*HUGE*.
>
> Indeed. Remember Tkinter is built-in. [...]
Tkinter is only built-in in the sense that it's shipped with Python by
default. It is not automatically part of a minimal Pyt
Harald Armin Massa wrote:
> Dietz,
>
> thank you for your answer.
>
>>It's called NLS (national language support),
>>and it is like a locale-setting in python/C. I'm too lazy to google right
>
> Sad thing: I allready googled that and had to learn: you CAN definitely
> change some parameters, tha
[EMAIL PROTECTED] wrote:
> Hi.
>
> I have a Python program that parses a file and inserts records into a
> database with MySQLdb. I recently upgraded to MySQL 5.0.8, and now my
> parser runs *really* slow. Writing out to CSV files is fine, but when I
> try to insert the same records in a MySQL5 da
Magnus Lycka wrote:
> [EMAIL PROTECTED] wrote:
> > I'm not calling COMMIT at all.
>
> Then you must be using autocommit if your records stay in
> the table. An DB-API 2.0 compliant adapter should turn off
> autocommit by default! Does MyISAM even support proper
> commit handling? [...]
No, it d
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
[EMAIL PROTECTED] wrote:
> What would be the next best Oracle database module for Python next to
> cx_oracle?
That would probably be DCOracle2.
> I'd like to compare two and choose one, just for the sake of
> seeing how two modules doing the same th
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Magnus Lycka wrote:
> [EMAIL PROTECTED] wrote:
>
>>Been using the ODBC module for Python 2.1
>
>
> It might well become a problem that you are stuck with
> a five year old Python version. Python 2.1 is no longer
> a supported Python version. Suppor
dcrespo wrote:
>>There are specific python modules for SQLite on Linux.
>
> Which? I thought pysqlite works on Linux.
Sure. What he probably meant was that there are binary installers for
pysqlite from various Linux distributions (Debian, Gentoo, ...).
> My important question is: If I develop a
F. GEIGER wrote:
> Arrgh, sorry for that post!
>
> self._dbc.execute(q, data)
>
> where data is None, works with MySQL. For SQLite I have to write
>
> if data is not None:
> self._dbc.execute(q, data)
> else:
> self._dbc.execute(q)
No, you have to write:
sel
rh0dium wrote:
> Hi all,
>
> I am starting to play with pysqlite, and would like to know if there is
> a function to determine if a table exists or not.
You can try to access the table in a try-catch block, something like:
cur.execute("select * from tablename where 1=2")
and check if it fails.
pysqlite 2.3.4 released
===
I'm pleased to announce the availability of pysqlite 2.3.4. This is a
bugfix release.
Go to http://pysqlite.org/ for downloads, online documentation and
reporting bugs.
What is pysqlite?
pysqlite is a DB-API 2.0-compliant database interface f
Hyuga wrote:
> On Jun 17, 9:16 am, mark carter <[EMAIL PROTECTED]> wrote:
>> Should I also explicitly close the cursor and connection, or is that
>> taken care of "automagically"?
>>
>
> Somebody correct me if I'm wrong, but I'm pretty sure that the Cursor
> and Connection objects properly clean t
[EMAIL PROTECTED] wrote:
> Hello,
>
> Another newbie question: How do I know if there is a table with
> certain name in a sqlite database? What i'm doing now is just create
> the table with that name, if exception occurs, that means the table is
> already created. Am i correct? Any better way? Tha
Rustom Mody wrote:
> I was trying to follow the sqlalchemy tutorial on my debian etch box
> and got stuck with installation. Any help/pointers will be welcome.
>
> First after installing sqlalchemy needed some sqlite package
> synaptic showed me packages python-pysqlite, python-pysqlite1.1 and
>
_spitFIRE wrote:
> [looking up DNS MX records]
> Thanks for the pointer. However, as I said currently, I can't use
> anything other than the standard libraries.
Sure you can. You just need to get rid of the "only standard library"
requirement rule.
That works best by showing the alternatives to
MD wrote:
> Are there any tests that will help me ensure that my Python database
> driver conforms to the Database API v2.0 specification?
There's this:
http://www.initd.org/tracker/psycopg/browser/psycopg2/trunk/tests/dbapi20.py
-- Gerhard
--
http://mail.python.org/mailman/listinfo/python-list
Will McGugan wrote:
> Hi,
>
> Is there a canonical way of storing per-thread data in Python?
Good question.
There's threading.local() which creates a thread-local object for you.
Maybe this Cookbook entry is helpful:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/302088
-- Gerhard
--
loial wrote:
> Is there anyway in pythn to check whether a file is being used/written
> to by another process, e.g like the fuser command?
No, you'll have to use platform-specific methods (like calling fuser
etc. with the subprocess module).
-- Gerhard
--
http://mail.python.org/mailman/listinfo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
pysqlite 2.3.5 released
===
I'm pleased to announce the availability of pysqlite 2.3.5. This is
a bugfix release.
Go to http://pysqlite.org/ for downloads, online documentation and
reporting bugs.
What is pysqlite?
pysqlite
coldpizza wrote:
> Thanks a lot, Roel, adding a single commit() at the end did solve the
> speed problem.
>
> Another question is do I have to explicitly close the DB connection,
> or is it automatically garbage collected? Is it Ok to no have any
> cleanup code?
>
> Another question would be how
VISHAL KANAUJIA wrote:
> Hi all,
> I am new member of this post. I have a C application which uses
> Python(version 2.3) extensively with SWIG wrappers. I want to upgrade
> the Python to latest version2.5.
>
> Is there any compatibility issue between two versions? Does latest
> Python2.5 provide
[EMAIL PROTECTED] wrote:
> [...] Do I need to make a static extension of my imported module to profile
> it ?
I always bit the bullet and finally just did that.
-- Gerhard
--
http://mail.python.org/mailman/listinfo/python-list
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
pysqlite 2.3.1 released
===
I'm pleased to announce the availability of pysqlite 2.3.3. This is a
bugfix release.
Go to http://pysqlite.org/ for downloads, online documentation and
reporting bugs.
What is pysqlite?
pysqlite
Ben Wolfson wrote:
I've got a db some of whose elements have been created automatically
from filesystem data (whose encoding is iso-8859-1). If I try to
select one of those elements using a standard SQL construct, things
work fine:
[...]
How can I get around this? I really want to be able to s
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello,
if you happen to be in Hamburg, Germany at November, 14th, and you'd like
to meet fellow Pythonistas, you should come to Jarrestraße 46 at DDD
design, who are generously hosting us again.
We will start at 19:30 and this time we will have a pre
[EMAIL PROTECTED] wrote:
> Hey, I'm looking for a good Python environment. That is, at least an
> editor and a debugger, and it should run on Windows. Does anyone have
> any idea?
I like ERIC. You can get it at
http://www.die-offenbachs.de/eric/eric4-download.html
Or just download and install PyQ
1 - 100 of 266 matches
Mail list logo