Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 13981

How to make a new file name every time i run a program?

$
0
0

I want to make a program which takes photos, but every time I run the code it replaces the old image with the new one. This is because the file name is always the same.

Is it possible to make the program change a file name every time I run the program? So that the code makes a new file name automatically for every time I run the code.

the code I have for now


Viewing all articles
Browse latest Browse all 13981

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>