Checking a string for a valid id
24 Sep
2001
24 Sep
'01
2:41 p.m.
Hi, Is there a Zope APII can use in a Python script that checks if a string is a valid object id ? Or should I hard code it (and what's the rules ?) TIA --Gilles
24 Sep
24 Sep
7:34 p.m.
New subject: [Zope] Checking a string for a valid id
Gilles Lenfant writes:
Is there a Zope APII can use in a Python script that checks if a string is a valid object id ? Or should I hard code it (and what's the rules ?) See "OFS.ObjectManager.ObjectManager".
The checking method is probably private. You will need an external method/file-system Python code. Dieter
8960
Age (days ago)
8960
Last active (days ago)
1 comments
2 participants
participants (2)
-
Dieter Maurer -
Gilles Lenfant