{"id":1142853,"date":"2025-01-08T22:44:26","date_gmt":"2025-01-08T14:44:26","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1142853.html"},"modified":"2025-01-08T22:44:31","modified_gmt":"2025-01-08T14:44:31","slug":"%e5%a6%82%e4%bd%95%e7%94%a8python%e5%81%9a%e6%84%a4%e6%80%92%e7%9a%84%e5%b0%8f%e9%b8%9f%e7%99%bb%e9%99%86%e9%a1%b5%e9%9d%a2","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1142853.html","title":{"rendered":"\u5982\u4f55\u7528python\u505a\u6124\u6012\u7684\u5c0f\u9e1f\u767b\u9646\u9875\u9762"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24180751\/e3687fb3-b7d5-4a2d-aeaf-b91de1e5a866.webp\" alt=\"\u5982\u4f55\u7528python\u505a\u6124\u6012\u7684\u5c0f\u9e1f\u767b\u9646\u9875\u9762\" \/><\/p>\n<p><p> <strong>\u7528Python\u5236\u4f5c\u6124\u6012\u7684\u5c0f\u9e1f\u767b\u9646\u9875\u9762\uff1a\u9996\u5148\uff0c\u9009\u62e9\u9002\u5408\u7684Python\u5e93\u3001\u8bbe\u8ba1\u7528\u6237\u53cb\u597d\u7684UI\u754c\u9762\u3001\u5b9e\u73b0\u7528\u6237\u9a8c\u8bc1\u529f\u80fd\u3002<\/strong>\u5176\u4e2d\uff0c\u9009\u62e9\u9002\u5408\u7684Python\u5e93\u662f\u6700\u4e3a\u5173\u952e\u7684\u4e00\u6b65\u3002Python\u6709\u8bb8\u591a\u5f3a\u5927\u4e14\u6613\u4e8e\u4f7f\u7528\u7684\u5e93\uff0c\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u5feb\u901f\u5b9e\u73b0\u56fe\u5f62\u754c\u9762\u548c\u7528\u6237\u4ea4\u4e92\u529f\u80fd\u3002\u63a5\u4e0b\u6765\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u9009\u62e9\u548c\u4f7f\u7528\u8fd9\u4e9b\u5e93\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u9009\u62e9\u9002\u5408\u7684Python\u5e93<\/h3>\n<\/p>\n<p><p>\u5728\u5236\u4f5c\u201c\u6124\u6012\u7684\u5c0f\u9e1f\u201d\u767b\u9646\u9875\u9762\u65f6\uff0c\u9009\u62e9\u5408\u9002\u7684Python\u5e93\u662f\u81f3\u5173\u91cd\u8981\u7684\u3002\u4ee5\u4e0b\u662f\u51e0\u79cd\u5e38\u7528\u7684Python\u5e93\uff1a<\/p>\n<\/p>\n<ol>\n<li><strong>Tkinter<\/strong>\uff1a\u8fd9\u662fPython\u7684\u6807\u51c6GUI\u5e93\uff0c\u6613\u4e8e\u4f7f\u7528\u4e14\u652f\u6301\u8de8\u5e73\u53f0\u3002<\/li>\n<li><strong>PyQt<\/strong>\uff1a\u529f\u80fd\u5f3a\u5927\uff0c\u9002\u5408\u590d\u6742\u7684\u56fe\u5f62\u754c\u9762\u5e94\u7528\uff0c\u4f46\u5b66\u4e60\u66f2\u7ebf\u8f83\u9661\u3002<\/li>\n<li><strong>Kivy<\/strong>\uff1a\u9002\u7528\u4e8e\u9700\u8981\u652f\u6301\u591a\u70b9\u89e6\u63a7\u7684\u5e94\u7528\uff0c\u7279\u522b\u9002\u5408\u79fb\u52a8\u8bbe\u5907\u3002<\/li>\n<li><strong>Pygame<\/strong>\uff1a\u4e3b\u8981\u7528\u4e8e\u6e38\u620f\u5f00\u53d1\uff0c\u9002\u5408\u6253\u9020\u6e38\u620f\u98ce\u683c\u7684\u767b\u9646\u9875\u9762\u3002<\/li>\n<\/ol>\n<p><p>\u672c\u6b21\u9879\u76ee\u5c06\u4f7f\u7528<strong>Pygame<\/strong>\uff0c\u56e0\u4e3a\u5b83\u4e0d\u4ec5\u80fd\u521b\u5efa\u56fe\u5f62\u754c\u9762\uff0c\u8fd8\u80fd\u8f7b\u677e\u5904\u7406\u56fe\u50cf\u548c\u58f0\u97f3\uff0c\u975e\u5e38\u9002\u5408\u5236\u4f5c\u4e0e\u6e38\u620f\u76f8\u5173\u7684\u767b\u9646\u9875\u9762\u3002<\/p>\n<\/p>\n<p><h4>Pygame\u7684\u5b89\u88c5\u4e0e\u57fa\u7840\u8bbe\u7f6e<\/h4>\n<\/p>\n<p><p>\u5728\u5f00\u59cb\u4e4b\u524d\uff0c\u6211\u4eec\u9700\u8981\u786e\u4fdd\u5df2\u7ecf\u5b89\u88c5\u4e86Pygame\u5e93\u3002\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install pygame<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u521b\u5efa\u4e00\u4e2a\u65b0\u7684Python\u6587\u4ef6\uff0c\u5e76\u5bfc\u5165Pygame\u5e93\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import pygame<\/p>\n<p>from pygame.locals import *<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e8c\u3001\u8bbe\u8ba1\u7528\u6237\u53cb\u597d\u7684UI\u754c\u9762<\/h3>\n<\/p>\n<p><p>\u8bbe\u8ba1\u4e00\u4e2a\u7528\u6237\u53cb\u597d\u7684UI\u754c\u9762\u9700\u8981\u8003\u8651\u4ee5\u4e0b\u51e0\u70b9\uff1a<\/p>\n<\/p>\n<ol>\n<li><strong>\u5e03\u5c40<\/strong>\uff1a\u5408\u7406\u5b89\u6392\u5404\u4e2a\u7ec4\u4ef6\u7684\u4f4d\u7f6e\uff0c\u4f8b\u5982\u6807\u9898\u3001\u8f93\u5165\u6846\u3001\u6309\u94ae\u7b49\u3002<\/li>\n<li><strong>\u7f8e\u89c2<\/strong>\uff1a\u4f7f\u7528\u9002\u5f53\u7684\u989c\u8272\u642d\u914d\u548c\u56fe\u7247\uff0c\u4f7f\u754c\u9762\u770b\u8d77\u6765\u5438\u5f15\u4eba\u3002<\/li>\n<li><strong>\u4ea4\u4e92\u6027<\/strong>\uff1a\u786e\u4fdd\u7528\u6237\u80fd\u591f\u65b9\u4fbf\u5730\u8fdb\u884c\u64cd\u4f5c\uff0c\u4f8b\u5982\u8f93\u5165\u7528\u6237\u540d\u548c\u5bc6\u7801\uff0c\u70b9\u51fb\u6309\u94ae\u7b49\u3002<\/li>\n<\/ol>\n<p><h4>\u521b\u5efaPygame\u7a97\u53e3<\/h4>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u6211\u4eec\u9700\u8981\u521b\u5efa\u4e00\u4e2aPygame\u7a97\u53e3\uff0c\u5e76\u8bbe\u7f6e\u7a97\u53e3\u7684\u5927\u5c0f\u548c\u6807\u9898\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">pygame.init()<\/p>\n<h2><strong>\u8bbe\u7f6e\u7a97\u53e3\u5927\u5c0f<\/strong><\/h2>\n<p>screen = pygame.display.set_mode((800, 600))<\/p>\n<h2><strong>\u8bbe\u7f6e\u7a97\u53e3\u6807\u9898<\/strong><\/h2>\n<p>pygame.display.set_caption(&quot;\u6124\u6012\u7684\u5c0f\u9e1f - \u767b\u9646\u9875\u9762&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>\u52a0\u8f7d\u80cc\u666f\u56fe\u7247\u548c\u5b57\u4f53<\/h4>\n<\/p>\n<p><p>\u4e3a\u4e86\u4f7f\u754c\u9762\u66f4\u52a0\u7f8e\u89c2\uff0c\u53ef\u4ee5\u4f7f\u7528\u80cc\u666f\u56fe\u7247\u548c\u81ea\u5b9a\u4e49\u5b57\u4f53\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u52a0\u8f7d\u80cc\u666f\u56fe\u7247<\/p>\n<p>background = pygame.image.load(&quot;background.jpg&quot;)<\/p>\n<h2><strong>\u8bbe\u7f6e\u5b57\u4f53<\/strong><\/h2>\n<p>font = pygame.font.Font(&quot;freesansbold.ttf&quot;, 32)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>\u7ed8\u5236\u8f93\u5165\u6846\u548c\u6309\u94ae<\/h4>\n<\/p>\n<p><p>\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u9700\u8981\u7ed8\u5236\u7528\u6237\u540d\u548c\u5bc6\u7801\u8f93\u5165\u6846\uff0c\u4ee5\u53ca\u767b\u9646\u6309\u94ae\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u5b9a\u4e49\u8f93\u5165\u6846\u548c\u6309\u94ae\u7684\u4f4d\u7f6e\u548c\u5927\u5c0f<\/p>\n<p>username_rect = pygame.Rect(300, 200, 200, 40)<\/p>\n<p>password_rect = pygame.Rect(300, 300, 200, 40)<\/p>\n<p>login_button_rect = pygame.Rect(350, 400, 100, 50)<\/p>\n<h2><strong>\u7ed8\u5236\u8f93\u5165\u6846\u548c\u6309\u94ae<\/strong><\/h2>\n<p>pygame.draw.rect(screen, (255, 255, 255), username_rect)<\/p>\n<p>pygame.draw.rect(screen, (255, 255, 255), password_rect)<\/p>\n<p>pygame.draw.rect(screen, (0, 0, 255), login_button_rect)<\/p>\n<h2><strong>\u7ed8\u5236\u6309\u94ae\u4e0a\u7684\u6587\u5b57<\/strong><\/h2>\n<p>login_text = font.render(&quot;\u767b\u9646&quot;, True, (255, 255, 255))<\/p>\n<p>screen.blit(login_text, (login_button_rect.x + 10, login_button_rect.y + 10))<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e09\u3001\u5b9e\u73b0\u7528\u6237\u9a8c\u8bc1\u529f\u80fd<\/h3>\n<\/p>\n<p><p>\u4e3a\u4e86\u5b9e\u73b0\u7528\u6237\u9a8c\u8bc1\u529f\u80fd\uff0c\u6211\u4eec\u9700\u8981\u5904\u7406\u7528\u6237\u8f93\u5165\uff0c\u5e76\u8fdb\u884c\u9a8c\u8bc1\u3002<\/p>\n<\/p>\n<p><h4>\u5904\u7406\u7528\u6237\u8f93\u5165<\/h4>\n<\/p>\n<p><p>\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u4e8b\u4ef6\u5904\u7406\u6765\u83b7\u53d6\u7528\u6237\u8f93\u5165\u7684\u7528\u6237\u540d\u548c\u5bc6\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">username = &quot;&quot;<\/p>\n<p>password = &quot;&quot;<\/p>\n<p>input_active = None<\/p>\n<p>running = True<\/p>\n<p>while running:<\/p>\n<p>    for event in pygame.event.get():<\/p>\n<p>        if event.type == QUIT:<\/p>\n<p>            running = False<\/p>\n<p>        elif event.type == MOUSEBUTTONDOWN:<\/p>\n<p>            if username_rect.collidepoint(event.pos):<\/p>\n<p>                input_active = &quot;username&quot;<\/p>\n<p>            elif password_rect.collidepoint(event.pos):<\/p>\n<p>                input_active = &quot;password&quot;<\/p>\n<p>            else:<\/p>\n<p>                input_active = None<\/p>\n<p>        elif event.type == KEYDOWN and input_active:<\/p>\n<p>            if event.key == K_BACKSPACE:<\/p>\n<p>                if input_active == &quot;username&quot;:<\/p>\n<p>                    username = username[:-1]<\/p>\n<p>                elif input_active == &quot;password&quot;:<\/p>\n<p>                    password = password[:-1]<\/p>\n<p>            else:<\/p>\n<p>                if input_active == &quot;username&quot;:<\/p>\n<p>                    username += event.unicode<\/p>\n<p>                elif input_active == &quot;password&quot;:<\/p>\n<p>                    password += event.unicode<\/p>\n<p>    # \u7ed8\u5236\u7528\u6237\u540d\u548c\u5bc6\u7801<\/p>\n<p>    username_surface = font.render(username, True, (0, 0, 0))<\/p>\n<p>    password_surface = font.render(&quot;*&quot; * len(password), True, (0, 0, 0))<\/p>\n<p>    screen.blit(username_surface, (username_rect.x + 10, username_rect.y + 10))<\/p>\n<p>    screen.blit(password_surface, (password_rect.x + 10, password_rect.y + 10))<\/p>\n<p>    pygame.display.flip()<\/p>\n<p>pygame.quit()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>\u9a8c\u8bc1\u7528\u6237\u8f93\u5165<\/h4>\n<\/p>\n<p><p>\u5728\u7528\u6237\u70b9\u51fb\u767b\u9646\u6309\u94ae\u540e\uff0c\u6211\u4eec\u9700\u8981\u9a8c\u8bc1\u7528\u6237\u540d\u548c\u5bc6\u7801\u662f\u5426\u6b63\u786e\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">if login_button_rect.collidepoint(event.pos):<\/p>\n<p>    if username == &quot;admin&quot; and password == &quot;1234&quot;:<\/p>\n<p>        print(&quot;\u767b\u9646\u6210\u529f&quot;)<\/p>\n<p>    else:<\/p>\n<p>        print(&quot;\u7528\u6237\u540d\u6216\u5bc6\u7801\u9519\u8bef&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u56db\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u6b65\u9aa4\uff0c\u6211\u4eec\u5df2\u7ecf\u5b8c\u6210\u4e86\u4e00\u4e2a\u7b80\u5355\u7684\u201c\u6124\u6012\u7684\u5c0f\u9e1f\u201d\u767b\u9646\u9875\u9762\u3002\u672c\u6587\u4ecb\u7ecd\u4e86\u5982\u4f55\u9009\u62e9\u9002\u5408\u7684Python\u5e93\u3001\u8bbe\u8ba1\u7528\u6237\u53cb\u597d\u7684UI\u754c\u9762\u3001\u5b9e\u73b0\u7528\u6237\u9a8c\u8bc1\u529f\u80fd\u3002\u5e0c\u671b\u8fd9\u7bc7\u6587\u7ae0\u80fd\u5bf9\u4f60\u6709\u6240\u5e2e\u52a9\uff0c\u8ba9\u4f60\u80fd\u591f\u66f4\u8f7b\u677e\u5730\u5236\u4f5c\u51fa\u5c5e\u4e8e\u81ea\u5df1\u7684\u767b\u9646\u9875\u9762\u3002<\/p>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u5f00\u53d1\u4e2d\uff0c\u8fd8\u53ef\u4ee5\u6839\u636e\u9700\u6c42\u8fdb\u884c\u66f4\u591a\u7684\u6269\u5c55\u548c\u4f18\u5316\uff0c\u4f8b\u5982\u6dfb\u52a0\u52a8\u753b\u6548\u679c\u3001\u4f7f\u7528\u6570\u636e\u5e93\u8fdb\u884c\u7528\u6237\u9a8c\u8bc1\u7b49\u3002\u795d\u4f60\u597d\u8fd0\uff01<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5f00\u59cb\u4f7f\u7528Python\u521b\u5efa\u6124\u6012\u7684\u5c0f\u9e1f\u767b\u9646\u9875\u9762\uff1f<\/strong><br \/>\u8981\u521b\u5efa\u6124\u6012\u7684\u5c0f\u9e1f\u767b\u9646\u9875\u9762\uff0c\u9996\u5148\u9700\u8981\u9009\u62e9\u5408\u9002\u7684\u6846\u67b6\uff0c\u4f8b\u5982Flask\u6216Django\u3002Flask\u8f83\u4e3a\u8f7b\u91cf\uff0c\u9002\u5408\u521d\u5b66\u8005\uff1bDjango\u5219\u529f\u80fd\u5f3a\u5927\uff0c\u9002\u5408\u5927\u578b\u9879\u76ee\u3002\u63a5\u4e0b\u6765\uff0c\u60a8\u53ef\u4ee5\u8bbe\u8ba1\u7f51\u9875\u7684\u5e03\u5c40\u548c\u6837\u5f0f\uff0c\u4f7f\u7528HTML\u548cCSS\uff0c\u7ed3\u5408Python\u540e\u7aef\u903b\u8f91\u5904\u7406\u7528\u6237\u63d0\u4ea4\u7684\u4fe1\u606f\u3002<\/p>\n<p><strong>\u5728\u6124\u6012\u7684\u5c0f\u9e1f\u767b\u9646\u9875\u9762\u4e2d\u5982\u4f55\u5904\u7406\u7528\u6237\u6570\u636e\uff1f<\/strong><br \/>\u5728\u767b\u9646\u9875\u9762\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528Python\u5904\u7406\u7528\u6237\u8f93\u5165\u7684\u6570\u636e\u3002\u901a\u8fc7\u8868\u5355\u63d0\u4ea4\u7684\u65b9\u5f0f\u6536\u96c6\u7528\u6237\u540d\u548c\u5bc6\u7801\uff0c\u7136\u540e\u5728\u540e\u7aef\u5bf9\u8fd9\u4e9b\u4fe1\u606f\u8fdb\u884c\u9a8c\u8bc1\u3002\u53ef\u4ee5\u91c7\u7528\u6570\u636e\u5e93\u5b58\u50a8\u7528\u6237\u4fe1\u606f\uff0c\u786e\u4fdd\u6570\u636e\u7684\u5b89\u5168\u6027\u548c\u6709\u6548\u6027\u3002\u5728\u5904\u7406\u7528\u6237\u6570\u636e\u65f6\uff0c\u8bf7\u52a1\u5fc5\u91c7\u53d6\u52a0\u5bc6\u63aa\u65bd\uff0c\u4f8b\u5982\u4f7f\u7528bcrypt\u5e93\u6765\u52a0\u5bc6\u5bc6\u7801\uff0c\u4ee5\u4fdd\u62a4\u7528\u6237\u9690\u79c1\u3002<\/p>\n<p><strong>\u5982\u4f55\u63d0\u5347\u6124\u6012\u7684\u5c0f\u9e1f\u767b\u9646\u9875\u9762\u7684\u7528\u6237\u4f53\u9a8c\uff1f<\/strong><br \/>\u4e3a\u4e86\u63d0\u5347\u7528\u6237\u4f53\u9a8c\uff0c\u53ef\u4ee5\u8003\u8651\u6dfb\u52a0\u4e00\u4e9b\u52a8\u6001\u6548\u679c\uff0c\u4f8b\u5982\u4f7f\u7528JavaScript\u5b9e\u73b0\u8868\u5355\u9a8c\u8bc1\uff0c\u786e\u4fdd\u7528\u6237\u8f93\u5165\u4fe1\u606f\u7684\u6b63\u786e\u6027\u3002\u6b64\u5916\uff0c\u8bbe\u8ba1\u4e0a\u53ef\u4ee5\u91c7\u7528\u6124\u6012\u7684\u5c0f\u9e1f\u7684\u4e3b\u9898\u8272\u5f69\u548c\u56fe\u6848\uff0c\u4f7f\u9875\u9762\u66f4\u5177\u5438\u5f15\u529b\u3002\u54cd\u5e94\u5f0f\u8bbe\u8ba1\u4e5f\u5f88\u91cd\u8981\uff0c\u786e\u4fdd\u5728\u4e0d\u540c\u8bbe\u5907\u4e0a\u90fd\u80fd\u6d41\u7545\u8bbf\u95ee\u3002\u63d0\u4f9b\u53cb\u597d\u7684\u9519\u8bef\u63d0\u793a\u548c\u6210\u529f\u53cd\u9988\uff0c\u6709\u52a9\u4e8e\u63d0\u5347\u7528\u6237\u6ee1\u610f\u5ea6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u7528Python\u5236\u4f5c\u6124\u6012\u7684\u5c0f\u9e1f\u767b\u9646\u9875\u9762\uff1a\u9996\u5148\uff0c\u9009\u62e9\u9002\u5408\u7684Python\u5e93\u3001\u8bbe\u8ba1\u7528\u6237\u53cb\u597d\u7684UI\u754c\u9762\u3001\u5b9e\u73b0\u7528\u6237\u9a8c\u8bc1\u529f\u80fd [&hellip;]","protected":false},"author":3,"featured_media":1142871,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1142853"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=1142853"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1142853\/revisions"}],"predecessor-version":[{"id":1142873,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1142853\/revisions\/1142873"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1142871"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1142853"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1142853"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1142853"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}