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.

1

1 Answer 1

1

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

Sign up to request clarification or add additional context in comments.

2 Comments

Hello,thank you for answering me. How can I save pictures to database in this case? Is there any other solution?
I did it with sqlite3 and it works. Thank you so much

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.