{"id":73,"date":"2025-10-03T15:32:38","date_gmt":"2025-10-03T15:32:38","guid":{"rendered":"https:\/\/theroyalscode.com\/students\/a_ploss\/?p=73"},"modified":"2025-10-03T15:32:38","modified_gmt":"2025-10-03T15:32:38","slug":"10-3-25","status":"publish","type":"post","link":"https:\/\/theroyalscode.com\/students\/a_ploss\/2025\/10\/03\/10-3-25\/","title":{"rendered":"10-3-25"},"content":{"rendered":"\n<p>today i made a qrcode(or tried to atleast) uhmm the codes done but just some errors i still need to fix here is some screenshots, code and the video i used<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"646\" height=\"256\" src=\"https:\/\/theroyalscode.com\/students\/a_ploss\/wp-content\/uploads\/2025\/10\/image.png\" alt=\"\" class=\"wp-image-74\" style=\"width:609px;height:auto\" srcset=\"https:\/\/theroyalscode.com\/students\/a_ploss\/wp-content\/uploads\/2025\/10\/image.png 646w, https:\/\/theroyalscode.com\/students\/a_ploss\/wp-content\/uploads\/2025\/10\/image-300x119.png 300w\" sizes=\"auto, (max-width: 646px) 100vw, 646px\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-code\"><code>import qrcode \nfrom PIL import image\nqr=qrcode.QRCode(version=1,\n                   error_correction=qrcode.constants.ERROR_CORRECT_H,\n                   box_size=10,border=10,)\n\nqr.add_data(\"https:\/\/www.youtube.com\/watch?v=vQZ_I16zO0I&amp;t=770s\")\nqr.make(fit=True)\nimg=qr.make_image(fill_color=\"red\", back_color=\"blue\")\nimg.save(\"wscube_youtube.png\")<\/code><\/pre>\n\n\n\n<p>so basically the code is supposed to make a qrcode for you to scan to your phone and send you to a youtube video(a video for a sonic game) but its not working properly and needs a lil(or a lot) of improvements here&#8217;s the link to the video i used and I stopped at 16:38 <\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"How to Create QR Code Generator in Python | Python Project Complete Tutorial\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/FOGRHBp6lvM?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>today i made a qrcode(or tried to atleast) uhmm the codes done but just some errors i still need to fix here is some screenshots, code and the video i used so basically the code is supposed to make a qrcode for you to scan to your phone and send you to a youtube video(a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-73","post","type-post","status-publish","format-standard","hentry","category-free-friday"],"_links":{"self":[{"href":"https:\/\/theroyalscode.com\/students\/a_ploss\/wp-json\/wp\/v2\/posts\/73","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theroyalscode.com\/students\/a_ploss\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/theroyalscode.com\/students\/a_ploss\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/a_ploss\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/a_ploss\/wp-json\/wp\/v2\/comments?post=73"}],"version-history":[{"count":1,"href":"https:\/\/theroyalscode.com\/students\/a_ploss\/wp-json\/wp\/v2\/posts\/73\/revisions"}],"predecessor-version":[{"id":75,"href":"https:\/\/theroyalscode.com\/students\/a_ploss\/wp-json\/wp\/v2\/posts\/73\/revisions\/75"}],"wp:attachment":[{"href":"https:\/\/theroyalscode.com\/students\/a_ploss\/wp-json\/wp\/v2\/media?parent=73"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/a_ploss\/wp-json\/wp\/v2\/categories?post=73"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/a_ploss\/wp-json\/wp\/v2\/tags?post=73"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}