tag:blogger.com,1999:blog-2374446609565222827.post7756036995938766896..comments2023-10-26T12:57:03.839+05:30Comments on Technical Stuff: How to convert UUID to String in Python!!!Chanduthedev phttp://www.blogger.com/profile/07353449039569824158noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-2374446609565222827.post-2193386636957672782021-05-10T16:58:21.304+05:302021-05-10T16:58:21.304+05:30Hire Java Developers in india<a href="http://keensolution.in/hire-java-programmer/" rel="nofollow">Hire Java Developers</a> in indiaKeen Solutionhttps://www.blogger.com/profile/01386555811374556222noreply@blogger.comtag:blogger.com,1999:blog-2374446609565222827.post-23113015625162878722020-03-02T14:54:28.751+05:302020-03-02T14:54:28.751+05:30AnyConv is very easy to use. Just visit their webs...AnyConv is very easy to use. Just visit their website, upload your original files, choose the format you want to convert them to, and then hit Convert Now. Converted files can be downloaded immediately. <a href="https://anyconv.com/" rel="nofollow">AnyConv</a><br />marksonhttps://www.blogger.com/profile/03798322600734426599noreply@blogger.comtag:blogger.com,1999:blog-2374446609565222827.post-75844712525764370792019-03-15T19:26:42.062+05:302019-03-15T19:26:42.062+05:30Thanks dude for this. Helped me out.Thanks dude for this. Helped me out.David Okwiihttps://www.blogger.com/profile/11560966238391266507noreply@blogger.comtag:blogger.com,1999:blog-2374446609565222827.post-43783693229518121122019-02-12T10:56:22.585+05:302019-02-12T10:56:22.585+05:30I get this:
b'\xf43\x97\x17\xcc\x17\xaeD\xaa\x...I get this:<br />b'\xf43\x97\x17\xcc\x17\xaeD\xaa\xe7=M\x16\xbe\x1d\xb0'<br />when I query Oracle in Python 3 it for field that is a guid. The actual GUID looks should be this: <br />F4339717CC17AE44AAE73D4D16BE1DB0<br />From this post it seems I should be able to do this:<br />str('\xf43\x97\x17\xcc\x17\xaeD\xaa\xe7=M\x16\xbe\x1d\xb0')<br />to get back to the original. But what I get is this:<br /> WÕxueEŒ /¿ v<br />Which is not useful at all.<br /><br />Any thoughts?MuddyWathttps://www.blogger.com/profile/03146375365746089661noreply@blogger.comtag:blogger.com,1999:blog-2374446609565222827.post-77005039172074946592017-05-26T22:38:47.920+05:302017-05-26T22:38:47.920+05:30I felt off my chain just reading this, you manuall...I felt off my chain just reading this, you manually trip characters from a string? Just use str function, it totally works<br /><br />here is sample even with JSONpretty dump added<br /><br /><br />import uuid<br />import json<br /><br />mydict = { "myuuid" : str(uuid.uuid1()) }<br />json.dumps(mydict)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2374446609565222827.post-85609342288717358682015-02-03T19:27:06.962+05:302015-02-03T19:27:06.962+05:30Thanks Alex for simple way to get uid in string fo...Thanks Alex for simple way to get uid in string format.<br />Chanduthedev phttps://www.blogger.com/profile/07353449039569824158noreply@blogger.comtag:blogger.com,1999:blog-2374446609565222827.post-91801759323420392532015-02-03T19:17:07.407+05:302015-02-03T19:17:07.407+05:30simply
str(uid)
is enoughsimply<br /><br /> str(uid)<br /><br />is enoughAnonymoushttps://www.blogger.com/profile/09491340002181923998noreply@blogger.com