Quote:
Originally Posted by theducks
Identifiers: usually consists of 2 parts (the colon is the separator)
1) whose: amazon:
2) the string
|
Yes, you're right. That is. But my books have a "custom" identifier to identify every one. And the value for this identifier was generated as {'my_id:':'%08d'%book_id}.
Now, I want to save those books using the identifier, but I want to remove left zeros. And if you're thinking about using book_id instead of my_id, not, that doesn't work, because the books are translated to another library so now my_id is not the same as the book_id...