+ 1

Generate an id with python

How to generate random code of 125 numbers, string an specialchar

3rd Apr 2018, 3:21 PM
Stephcyrille
Stephcyrille - avatar
4 ответов
+ 10
I am not really sure what you mean by transaction mode, but you can generate a 125-char string the way I proposed alright :)
3rd Apr 2018, 4:44 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
3rd Apr 2018, 3:33 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 1
I'd use a randomizer function and a custom generated seed for it to make it random. Using the default seed(kerneltime, systime etc) won't generate a *random* output
3rd Apr 2018, 5:17 PM
Markus Kaleton
Markus Kaleton - avatar
0
Can I use that for id id my transaction model?
3rd Apr 2018, 3:51 PM
Stephcyrille
Stephcyrille - avatar