Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Persistent Python Win95?

Status
Not open for further replies.

Kudagai

Programmer
Oct 25, 1998
19
US
Does anyone know how to get shelve-s working on Win95. I presume that I would need a dbm version, but gdbm seems to exist for Win95. Still, it seems to me that there are some pieces missing. And pickle appears insufficient.<br>
<br>
I am quite new to Python, so I am not sure exactly what I am doing, but I would like to use some sort of database that I could package up and send out with an installer, and GadFly seems to be ram-resident. (&lt;any of the machines that I will need my application to run on are several years old, and weren't top-of-the-line when new. I feel that I can expect limited memory.) I suppose that I could allow virtual memory to take care of things, but that feels sloppy (GadFly warns that it will slow down in such a situation). <br>
<br>
Any suggestions as to the appropriate method of proceeding? I want to convert a small database from MS Access to Python...I'm not sure that this is a good idea, but neither do I feel that staying with Access is a good idea. The database is small enough that it would be able to be RAM resident on most machines, which make this a good candidate to start with, but follow on projects could be expected to be larger if this is successful, so a file-based approach rather than strictly RAM based seems desireable. OTOH, if Python can do direct-access IO, I haven't run into it. Is Python for Windows compatible with code compiled by Ming32W, lcc, or gcc? All of the documentation keeps referring to VC++, which I find worrisome.<br>

 
I am not familar with Access so what I am going to tell you may be incorrect...but since you asked...<br>
<br>
Do you have the Windows 32 bit extensions installed (win32all)? If so, look at the classes provided in there. They should have Active X, MAPI, etc. or at least the tools to start.<br>
<br>
By the way, there is an article in the March issue of Software Development that discusses using Python to connect to Excel and VB. Their site is <A HREF=" TARGET="_new"> but when I checked, they only had Feb. issue up. <p>James P. Cottingham<br><a href=mailto:main@ivcusa.com>main@ivcusa.com</a><br><a href= Veneer Co., Inc.</a><br>All opinions are mine alone and do not necessarily reflect those of my employer.
 
Ummm... I want to convert *from* Access, not to use it. I'm looking for a replacement that would be more cross-platform, and, ideally, that would be free (and easy) to install with an application on the machine of another person (well, about 15 other persons). I would only have access to about 3 of those machines, the rest would be at remote sites and operated by non-technical users. I know that a version of dbm (gdbm) is available for Win95, but the Python that I downloaded doesn't seem to have support for dbm, as near as I can tell. What I'm really after is pointers on how to get that working.<br>

 
MS Access is a DB and Python is a scripting language. Are you proposing to write a DB with Python? Seems a little extreme, especially for someone new to Python.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top