Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 17 results for
zodb
- Page 1
ZEO ZODB run local
Programming
Software Development
10 Years Ago
by Andrei_1
…i run the client part : from ZEO import ClientStorage from
ZODB
import DB import transaction storage = ClientStorage.ClientStorage(('localhost', 9000…), wait=False) db =
ZODB
.DB(storage) here i get this error message: Traceback (most…
Help with Python code and accessing ZODB
Programming
Software Development
16 Years Ago
by gratefulluke
…/lib/python/') >>> >>> from
ZODB
import FileStorage, DB Traceback (most recent call last): File "…line 1, in <module> ImportError: No module named
ZODB
>>> >>> # set this to …point to your
ZODB
... # NOTE: Zope/Plone needs to be stopped first ... # ... storage =…
Re: Help with Python code and accessing ZODB
Programming
Software Development
16 Years Ago
by gratefulluke
…;> >>> # set this to point to your
ZODB
... # NOTE: Zope/Plone needs to be stopped first ... # ...… File "C:\Program Files\Plone 2\Zope\lib\python\
ZODB
\FileStorage\FileStorage.py ", line 112, in __init__ self… File "C:\Program Files\Plone 2\Zope\lib\python\
ZODB
\lock_file.py", line 60, in __init__ self._fp …
Re: Help with Python code and accessing ZODB
Programming
Software Development
16 Years Ago
by BearofNH
…usr/bin/python2.3[/COLOR] ... >>> from
ZODB
import FileStorage, DB Traceback (most recent call last): File "…in <module> [COLOR=Red] ImportError: No module named
ZODB
[/COLOR] >>> ... My configuration is as follows: [… problem stems from not having the right version of
ZODB
installed in the right place, or not running the…
Can ZoDB be used in place of MySQL?
Programming
Databases
11 Years Ago
by amweasel
1. Can
ZoDB
replace MySQl or both of them serve different purposes? 2. If yes, is
ZoDB
as good as MySQL for handling a dynamic website?
Re: Can ZoDB be used in place of MySQL?
Programming
Databases
11 Years Ago
by amweasel
> From first glance it's for Python only. See some comparisons. Thank you for the link. I understand,
ZoDB
is for Python. But, since MySQL can also be used with Python, so it has become hard for me to choose.
problem facing at the time of creating project in pyramid
Programming
Software Development
12 Years Ago
by subhra1234
… generate sample projects. For this tutorial, we will use the
ZODB
-oriented scaffold named pyramid_zodb. The below instructions assume your current…
Re: Persistent to file dictionary using Python module shelve
Programming
Software Development
10 Years Ago
by Gribouillis
… are a few more necessary imports with
zodb
from
ZODB
.FileStorage import FileStorage from
ZODB
.DB import DB import transaction from BTrees.OOBTree…Peter Power 765-8344 ------------------------------ ''' Next step: comparative benchmarks :). Notice that
zodb
*does not load* the whole dictionary when it is accessed…
Re: choose the best "container"
Programming
Software Development
11 Years Ago
by Gribouillis
…your case is the [
ZODB
](http://
zodb
.org/documentation/guide/prog-
zodb
.html#
zodb
-programming) module, a … from persistent.list import PersistentList @contextmanager def
zodb
(path, create = False): """…["mylist"] = mylist else: with
zodb
(datafile) as root: print(root["mylist&…
Re: SQL vs Internal Data Structures
Programming
Software Development
13 Years Ago
by Gribouillis
A nice alternative is to use a
ZODB
, or "Zope object database". In such a database, …'t need Zope to install and use
ZODB
: they form a standalone database module.
ZODB
are not relational databases, so you don…'t need SQL either. See the doc here [url]http://www.
zodb
.org…
Re: Catching Changes to a Mutable Object
Programming
Software Development
12 Years Ago
by Gribouillis
… dicts. Such classes exist in some modules. For exemple the
ZODB
module implements persistent lists and dicts which catch all changes… perhaps it would be a good idea to look in
ZODB
's source code to see how these types are implemented…
Re: choose the best "container"
Programming
Software Development
11 Years Ago
by Gribouillis
I read that for large lists, the module [zc.blist](http://pypi.python.org/pypi/zc.blist) would be a useful addon to your use of
ZODB
. It hides a B-tree storage structure behind a list interface. A Pypi search with '
zodb
' may reveal other goodies.
Re: SQL vs Internal Data Structures
Programming
Software Development
13 Years Ago
by griswolf
… disk; or you might want to go with something like
ZODB
or some other third party product. 1000 records is very…
Re: Help with Python code and accessing ZODB
Programming
Software Development
16 Years Ago
by sharma_vivek82
i think you are working with zope/plone environment, so my suggession is to use external method.
Re: Can ZoDB be used in place of MySQL?
Programming
Databases
11 Years Ago
by pritaeas
From first glance it's for Python only. See [some comparisons](http://vschart.com/compare/zope-object-database/vs/mysql).
Re: Can ZoDB be used in place of MySQL?
Programming
Databases
11 Years Ago
by bradly.spicer
You'l find that certain databases are good for one thing and not so much the other. Give MYSQL a go. It's really not that bad
Re: Can ZoDB be used in place of MySQL?
Programming
Databases
11 Years Ago
by amweasel
Thanks. Made up my mind. I'll go for MySQL.
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC