Efficiently generate a 16-character, alphanumeric string

前端 未结 0 920
醉酒成梦
醉酒成梦 2020-12-23 04:41

I\'m looking for a very quick way to generate an alphanumeric unique id for a primary key in a table.

Would something like this work?

def genKey():
          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题