atlan
atlan

Reputation: 41

Create IDs in python

I am a beginner in python. The program I want to create in python, allows me to take photos and save the photos with a unique id. When I run the program again, the program continues to take pictures and save them with different ids to the previous ones. Please help me how I can create variable id. Do I have to make a memory allocation? The python version is: 2.7.9 Thank you in advance.

Upvotes: 0

Views: 250

Answers (1)

jmk
jmk

Reputation: 486

What you're really trying to do is create a database. Take a look at the guide for sqlite3 (Python Standard Library).

Upvotes: 1

Related Questions