python -c 'import uuid; print uuid.uuid4()'

returns: 

8f1dad2d-2eec-4da7-b484-63a7e7549824

Not that that’s canonical, just offering another sample.


> On Apr 23, 2017, at 10:03 PM, Keisuke Miyako via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> I wasn't aware of the argument that they should always be lowercase.
> 
> it's true that the native function on Windows (UuidCreate, UuidToString) 
> creates lowercase,
> but on Mac (NSUUID.UUIDString, CFUUIDCreate/CFUUIDCreateString) they are 
> uppercase and also hyphenated.
> 
> uppercase-non-hyphenated seems like a reasonable cross-platform solution.
> 
>> 2017/04/24 4:21、Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> のメール:
>> 
>> I was looking up something else yesterday and came across some comments and
>> directions regarding UUIDs and saying that they should always be lowercase.
>> But this isn't a hard rule, apparently. And 4D prefers to uppercase them -
>> which I find harder to read.
>> Just curious what that's about and if there's some important distinction
>> here I'm not aware of.
> 
> 

**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to