0

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.

atlan
  • 41
  • 6
  • What have you tried so far? If you want so save files with unique file names, you can look at this post: http://stackoverflow.com/questions/2961509/python-how-to-create-a-unique-file-name – ma3oun Apr 13 '17 at 09:25

1 Answers1

1

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

jmk
  • 466
  • 1
  • 4
  • 21