{"id":48,"date":"2021-10-17T14:43:22","date_gmt":"2021-10-17T06:43:22","guid":{"rendered":"http:\/\/gladguang.xyz\/?p=48"},"modified":"2021-10-25T18:37:06","modified_gmt":"2021-10-25T10:37:06","slug":"python-os-%e6%96%87%e4%bb%b6-%e7%9b%ae%e5%bd%95%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.gladguang.cn\/index.php\/2021\/10\/17\/python-os-%e6%96%87%e4%bb%b6-%e7%9b%ae%e5%bd%95%e6%96%b9%e6%b3%95\/","title":{"rendered":"Python OS \u6587\u4ef6\/\u76ee\u5f55\u65b9\u6cd5"},"content":{"rendered":"\n<p>os \u6a21\u5757\u63d0\u4f9b\u4e86\u975e\u5e38\u4e30\u5bcc\u7684\u65b9\u6cd5\u7528\u6765\u5904\u7406\u6587\u4ef6\u548c\u76ee\u5f55\u3002\u5e38\u7528\u7684\u65b9\u6cd5\u5982\u4e0b\u8868\u6240\u793a\uff1a<\/p>\n\n\n\n<p>\u5e8f\u53f7 \u65b9\u6cd5\u53ca\u63cf\u8ff0<br>1<br>os.access(path, mode)<\/p>\n\n\n\n<p>\u68c0\u9a8c\u6743\u9650\u6a21\u5f0f<br>2<br>os.chdir(path)<\/p>\n\n\n\n<p>\u6539\u53d8\u5f53\u524d\u5de5\u4f5c\u76ee\u5f55<br>3<br>os.chflags(path, flags)<\/p>\n\n\n\n<p>\u8bbe\u7f6e\u8def\u5f84\u7684\u6807\u8bb0\u4e3a\u6570\u5b57\u6807\u8bb0\u3002<br>4<br>os.chmod(path, mode)<\/p>\n\n\n\n<p>\u66f4\u6539\u6743\u9650<br>5<br>os.chown(path, uid, gid)<\/p>\n\n\n\n<p>\u66f4\u6539\u6587\u4ef6\u6240\u6709\u8005<br>6<br>os.chroot(path)<\/p>\n\n\n\n<p>\u6539\u53d8\u5f53\u524d\u8fdb\u7a0b\u7684\u6839\u76ee\u5f55<br>7<br>os.close(fd)<\/p>\n\n\n\n<p>\u5173\u95ed\u6587\u4ef6\u63cf\u8ff0\u7b26 fd<br>8<br>os.closerange(fd_low, fd_high)<\/p>\n\n\n\n<p>\u5173\u95ed\u6240\u6709\u6587\u4ef6\u63cf\u8ff0\u7b26\uff0c\u4ece fd_low (\u5305\u542b) \u5230 fd_high (\u4e0d\u5305\u542b), \u9519\u8bef\u4f1a\u5ffd\u7565<br>9<br>os.dup(fd)<\/p>\n\n\n\n<p>\u590d\u5236\u6587\u4ef6\u63cf\u8ff0\u7b26 fd<br>10<br>os.dup2(fd, fd2)<\/p>\n\n\n\n<p>\u5c06\u4e00\u4e2a\u6587\u4ef6\u63cf\u8ff0\u7b26 fd \u590d\u5236\u5230\u53e6\u4e00\u4e2a fd2<br>11<br>os.fchdir(fd)<\/p>\n\n\n\n<p>\u901a\u8fc7\u6587\u4ef6\u63cf\u8ff0\u7b26\u6539\u53d8\u5f53\u524d\u5de5\u4f5c\u76ee\u5f55<br>12<br>os.fchmod(fd, mode)<\/p>\n\n\n\n<p>\u6539\u53d8\u4e00\u4e2a\u6587\u4ef6\u7684\u8bbf\u95ee\u6743\u9650\uff0c\u8be5\u6587\u4ef6\u7531\u53c2\u6570fd\u6307\u5b9a\uff0c\u53c2\u6570mode\u662fUnix\u4e0b\u7684\u6587\u4ef6\u8bbf\u95ee\u6743\u9650\u3002<br>13<br>os.fchown(fd, uid, gid)<\/p>\n\n\n\n<p>\u4fee\u6539\u4e00\u4e2a\u6587\u4ef6\u7684\u6240\u6709\u6743\uff0c\u8fd9\u4e2a\u51fd\u6570\u4fee\u6539\u4e00\u4e2a\u6587\u4ef6\u7684\u7528\u6237ID\u548c\u7528\u6237\u7ec4ID\uff0c\u8be5\u6587\u4ef6\u7531\u6587\u4ef6\u63cf\u8ff0\u7b26fd\u6307\u5b9a\u3002<br>14<br>os.fdatasync(fd)<\/p>\n\n\n\n<p>\u5f3a\u5236\u5c06\u6587\u4ef6\u5199\u5165\u78c1\u76d8\uff0c\u8be5\u6587\u4ef6\u7531\u6587\u4ef6\u63cf\u8ff0\u7b26fd\u6307\u5b9a\uff0c\u4f46\u662f\u4e0d\u5f3a\u5236\u66f4\u65b0\u6587\u4ef6\u7684\u72b6\u6001\u4fe1\u606f\u3002<br>15<br>os.fdopen(fd[, mode[, bufsize]])<\/p>\n\n\n\n<p>\u901a\u8fc7\u6587\u4ef6\u63cf\u8ff0\u7b26 fd \u521b\u5efa\u4e00\u4e2a\u6587\u4ef6\u5bf9\u8c61\uff0c\u5e76\u8fd4\u56de\u8fd9\u4e2a\u6587\u4ef6\u5bf9\u8c61<br>16<br>os.fpathconf(fd, name)<\/p>\n\n\n\n<p>\u8fd4\u56de\u4e00\u4e2a\u6253\u5f00\u7684\u6587\u4ef6\u7684\u7cfb\u7edf\u914d\u7f6e\u4fe1\u606f\u3002name\u4e3a\u68c0\u7d22\u7684\u7cfb\u7edf\u914d\u7f6e\u7684\u503c\uff0c\u5b83\u4e5f\u8bb8\u662f\u4e00\u4e2a\u5b9a\u4e49\u7cfb\u7edf\u503c\u7684\u5b57\u7b26\u4e32\uff0c\u8fd9\u4e9b\u540d\u5b57\u5728\u5f88\u591a\u6807\u51c6\u4e2d\u6307\u5b9a\uff08POSIX.1, Unix 95, Unix 98, \u548c\u5176\u5b83\uff09\u3002<br>17<br>os.fstat(fd)<\/p>\n\n\n\n<p>\u8fd4\u56de\u6587\u4ef6\u63cf\u8ff0\u7b26fd\u7684\u72b6\u6001\uff0c\u50cfstat()\u3002<br>18<br>os.fstatvfs(fd)<\/p>\n\n\n\n<p>\u8fd4\u56de\u5305\u542b\u6587\u4ef6\u63cf\u8ff0\u7b26fd\u7684\u6587\u4ef6\u7684\u6587\u4ef6\u7cfb\u7edf\u7684\u4fe1\u606f\uff0c\u50cf statvfs()<br>19<br>os.fsync(fd)<\/p>\n\n\n\n<p>\u5f3a\u5236\u5c06\u6587\u4ef6\u63cf\u8ff0\u7b26\u4e3afd\u7684\u6587\u4ef6\u5199\u5165\u786c\u76d8\u3002<br>20<br>os.ftruncate(fd, length)<\/p>\n\n\n\n<p>\u88c1\u526a\u6587\u4ef6\u63cf\u8ff0\u7b26fd\u5bf9\u5e94\u7684\u6587\u4ef6, \u6240\u4ee5\u5b83\u6700\u5927\u4e0d\u80fd\u8d85\u8fc7\u6587\u4ef6\u5927\u5c0f\u3002<br>21<br>os.getcwd()<\/p>\n\n\n\n<p>\u8fd4\u56de\u5f53\u524d\u5de5\u4f5c\u76ee\u5f55<br>22<br>os.getcwdu()<\/p>\n\n\n\n<p>\u8fd4\u56de\u4e00\u4e2a\u5f53\u524d\u5de5\u4f5c\u76ee\u5f55\u7684Unicode\u5bf9\u8c61<br>23<br>os.isatty(fd)<\/p>\n\n\n\n<p>\u5982\u679c\u6587\u4ef6\u63cf\u8ff0\u7b26fd\u662f\u6253\u5f00\u7684\uff0c\u540c\u65f6\u4e0etty(-like)\u8bbe\u5907\u76f8\u8fde\uff0c\u5219\u8fd4\u56detrue, \u5426\u5219False\u3002<br>24<br>os.lchflags(path, flags)<\/p>\n\n\n\n<p>\u8bbe\u7f6e\u8def\u5f84\u7684\u6807\u8bb0\u4e3a\u6570\u5b57\u6807\u8bb0\uff0c\u7c7b\u4f3c chflags()\uff0c\u4f46\u662f\u6ca1\u6709\u8f6f\u94fe\u63a5<br>25<br>os.lchmod(path, mode)<\/p>\n\n\n\n<p>\u4fee\u6539\u8fde\u63a5\u6587\u4ef6\u6743\u9650<br>26<br>os.lchown(path, uid, gid)<\/p>\n\n\n\n<p>\u66f4\u6539\u6587\u4ef6\u6240\u6709\u8005\uff0c\u7c7b\u4f3c chown\uff0c\u4f46\u662f\u4e0d\u8ffd\u8e2a\u94fe\u63a5\u3002<br>27<br>os.link(src, dst)<\/p>\n\n\n\n<p>\u521b\u5efa\u786c\u94fe\u63a5\uff0c\u540d\u4e3a\u53c2\u6570 dst\uff0c\u6307\u5411\u53c2\u6570 src<br>28<br>os.listdir(path)<\/p>\n\n\n\n<p>\u8fd4\u56depath\u6307\u5b9a\u7684\u6587\u4ef6\u5939\u5305\u542b\u7684\u6587\u4ef6\u6216\u6587\u4ef6\u5939\u7684\u540d\u5b57\u7684\u5217\u8868\u3002<br>29<br>os.lseek(fd, pos, how)<\/p>\n\n\n\n<p>\u8bbe\u7f6e\u6587\u4ef6\u63cf\u8ff0\u7b26 fd\u5f53\u524d\u4f4d\u7f6e\u4e3apos, how\u65b9\u5f0f\u4fee\u6539: SEEK_SET \u6216\u8005 0 \u8bbe\u7f6e\u4ece\u6587\u4ef6\u5f00\u59cb\u7684\u8ba1\u7b97\u7684pos; SEEK_CUR\u6216\u8005 1 \u5219\u4ece\u5f53\u524d\u4f4d\u7f6e\u8ba1\u7b97; os.SEEK_END\u6216\u80052\u5219\u4ece\u6587\u4ef6\u5c3e\u90e8\u5f00\u59cb. \u5728unix\uff0cWindows\u4e2d\u6709\u6548<br>30<br>os.lstat(path)<\/p>\n\n\n\n<p>\u50cfstat(),\u4f46\u662f\u6ca1\u6709\u8f6f\u94fe\u63a5<br>31<br>os.major(device)<\/p>\n\n\n\n<p>\u4ece\u539f\u59cb\u7684\u8bbe\u5907\u53f7\u4e2d\u63d0\u53d6\u8bbe\u5907major\u53f7\u7801 (\u4f7f\u7528stat\u4e2d\u7684st_dev\u6216\u8005st_rdev field)\u3002<br>32<br>os.makedev(major, minor)<\/p>\n\n\n\n<p>\u4ee5major\u548cminor\u8bbe\u5907\u53f7\u7ec4\u6210\u4e00\u4e2a\u539f\u59cb\u8bbe\u5907\u53f7<br>33<br>os.makedirs(path[, mode])<\/p>\n\n\n\n<p>\u9012\u5f52\u6587\u4ef6\u5939\u521b\u5efa\u51fd\u6570\u3002\u50cfmkdir(), \u4f46\u521b\u5efa\u7684\u6240\u6709intermediate-level\u6587\u4ef6\u5939\u9700\u8981\u5305\u542b\u5b50\u6587\u4ef6\u5939\u3002<br>34<br>os.minor(device)<\/p>\n\n\n\n<p>\u4ece\u539f\u59cb\u7684\u8bbe\u5907\u53f7\u4e2d\u63d0\u53d6\u8bbe\u5907minor\u53f7\u7801 (\u4f7f\u7528stat\u4e2d\u7684st_dev\u6216\u8005st_rdev field )\u3002<br>35<br>os.mkdir(path[, mode])<\/p>\n\n\n\n<p>\u4ee5\u6570\u5b57mode\u7684mode\u521b\u5efa\u4e00\u4e2a\u540d\u4e3apath\u7684\u6587\u4ef6\u5939.\u9ed8\u8ba4\u7684 mode \u662f 0777 (\u516b\u8fdb\u5236)\u3002<br>36<br>os.mkfifo(path[, mode])<\/p>\n\n\n\n<p>\u521b\u5efa\u547d\u540d\u7ba1\u9053\uff0cmode \u4e3a\u6570\u5b57\uff0c\u9ed8\u8ba4\u4e3a 0666 (\u516b\u8fdb\u5236)<br>37<br>os.mknod(filename[, mode=0600, device])<br>\u521b\u5efa\u4e00\u4e2a\u540d\u4e3afilename\u6587\u4ef6\u7cfb\u7edf\u8282\u70b9\uff08\u6587\u4ef6\uff0c\u8bbe\u5907\u7279\u522b\u6587\u4ef6\u6216\u8005\u547d\u540dpipe\uff09\u3002<\/p>\n\n\n\n<p>38<br>os.open(file, flags[, mode])<\/p>\n\n\n\n<p>\u6253\u5f00\u4e00\u4e2a\u6587\u4ef6\uff0c\u5e76\u4e14\u8bbe\u7f6e\u9700\u8981\u7684\u6253\u5f00\u9009\u9879\uff0cmode\u53c2\u6570\u662f\u53ef\u9009\u7684<br>39<br>os.openpty()<\/p>\n\n\n\n<p>\u6253\u5f00\u4e00\u4e2a\u65b0\u7684\u4f2a\u7ec8\u7aef\u5bf9\u3002\u8fd4\u56de pty \u548c tty\u7684\u6587\u4ef6\u63cf\u8ff0\u7b26\u3002<br>40<br>os.pathconf(path, name)<\/p>\n\n\n\n<p>\u8fd4\u56de\u76f8\u5173\u6587\u4ef6\u7684\u7cfb\u7edf\u914d\u7f6e\u4fe1\u606f\u3002<br>41<br>os.pipe()<\/p>\n\n\n\n<p>\u521b\u5efa\u4e00\u4e2a\u7ba1\u9053. \u8fd4\u56de\u4e00\u5bf9\u6587\u4ef6\u63cf\u8ff0\u7b26(r, w) \u5206\u522b\u4e3a\u8bfb\u548c\u5199<br>42<br>os.popen(command[, mode[, bufsize]])<\/p>\n\n\n\n<p>\u4ece\u4e00\u4e2a command \u6253\u5f00\u4e00\u4e2a\u7ba1\u9053<br>43<br>os.read(fd, n)<\/p>\n\n\n\n<p>\u4ece\u6587\u4ef6\u63cf\u8ff0\u7b26 fd \u4e2d\u8bfb\u53d6\u6700\u591a n \u4e2a\u5b57\u8282\uff0c\u8fd4\u56de\u5305\u542b\u8bfb\u53d6\u5b57\u8282\u7684\u5b57\u7b26\u4e32\uff0c\u6587\u4ef6\u63cf\u8ff0\u7b26 fd\u5bf9\u5e94\u6587\u4ef6\u5df2\u8fbe\u5230\u7ed3\u5c3e, \u8fd4\u56de\u4e00\u4e2a\u7a7a\u5b57\u7b26\u4e32\u3002<br>44<br>os.readlink(path)<\/p>\n\n\n\n<p>\u8fd4\u56de\u8f6f\u94fe\u63a5\u6240\u6307\u5411\u7684\u6587\u4ef6<br>45<br>os.remove(path)<\/p>\n\n\n\n<p>\u5220\u9664\u8def\u5f84\u4e3apath\u7684\u6587\u4ef6\u3002\u5982\u679cpath \u662f\u4e00\u4e2a\u6587\u4ef6\u5939\uff0c\u5c06\u629b\u51faOSError; \u67e5\u770b\u4e0b\u9762\u7684rmdir()\u5220\u9664\u4e00\u4e2a directory\u3002<br>46<br>os.removedirs(path)<\/p>\n\n\n\n<p>\u9012\u5f52\u5220\u9664\u76ee\u5f55\u3002<br>47<br>os.rename(src, dst)<\/p>\n\n\n\n<p>\u91cd\u547d\u540d\u6587\u4ef6\u6216\u76ee\u5f55\uff0c\u4ece src \u5230 dst<br>48<br>os.renames(old, new)<\/p>\n\n\n\n<p>\u9012\u5f52\u5730\u5bf9\u76ee\u5f55\u8fdb\u884c\u66f4\u540d\uff0c\u4e5f\u53ef\u4ee5\u5bf9\u6587\u4ef6\u8fdb\u884c\u66f4\u540d\u3002<br>49<br>os.rmdir(path)<\/p>\n\n\n\n<p>\u5220\u9664path\u6307\u5b9a\u7684\u7a7a\u76ee\u5f55\uff0c\u5982\u679c\u76ee\u5f55\u975e\u7a7a\uff0c\u5219\u629b\u51fa\u4e00\u4e2aOSError\u5f02\u5e38\u3002<br>50<br>os.stat(path)<\/p>\n\n\n\n<p>\u83b7\u53d6path\u6307\u5b9a\u7684\u8def\u5f84\u7684\u4fe1\u606f\uff0c\u529f\u80fd\u7b49\u540c\u4e8eC API\u4e2d\u7684stat()\u7cfb\u7edf\u8c03\u7528\u3002<br>51<br>os.stat_float_times([newvalue])<br>\u51b3\u5b9astat_result\u662f\u5426\u4ee5float\u5bf9\u8c61\u663e\u793a\u65f6\u95f4\u6233<\/p>\n\n\n\n<p>52<br>os.statvfs(path)<\/p>\n\n\n\n<p>\u83b7\u53d6\u6307\u5b9a\u8def\u5f84\u7684\u6587\u4ef6\u7cfb\u7edf\u7edf\u8ba1\u4fe1\u606f<br>53<br>os.symlink(src, dst)<\/p>\n\n\n\n<p>\u521b\u5efa\u4e00\u4e2a\u8f6f\u94fe\u63a5<br>54<br>os.tcgetpgrp(fd)<\/p>\n\n\n\n<p>\u8fd4\u56de\u4e0e\u7ec8\u7aeffd\uff08\u4e00\u4e2a\u7531os.open()\u8fd4\u56de\u7684\u6253\u5f00\u7684\u6587\u4ef6\u63cf\u8ff0\u7b26\uff09\u5173\u8054\u7684\u8fdb\u7a0b\u7ec4<br>55<br>os.tcsetpgrp(fd, pg)<\/p>\n\n\n\n<p>\u8bbe\u7f6e\u4e0e\u7ec8\u7aeffd\uff08\u4e00\u4e2a\u7531os.open()\u8fd4\u56de\u7684\u6253\u5f00\u7684\u6587\u4ef6\u63cf\u8ff0\u7b26\uff09\u5173\u8054\u7684\u8fdb\u7a0b\u7ec4\u4e3apg\u3002<br>56<br>os.tempnam([dir[, prefix]])<\/p>\n\n\n\n<p>\u8fd4\u56de\u552f\u4e00\u7684\u8def\u5f84\u540d\u7528\u4e8e\u521b\u5efa\u4e34\u65f6\u6587\u4ef6\u3002<br>57<br>os.tmpfile()<\/p>\n\n\n\n<p>\u8fd4\u56de\u4e00\u4e2a\u6253\u5f00\u7684\u6a21\u5f0f\u4e3a(w+b)\u7684\u6587\u4ef6\u5bf9\u8c61 .\u8fd9\u6587\u4ef6\u5bf9\u8c61\u6ca1\u6709\u6587\u4ef6\u5939\u5165\u53e3\uff0c\u6ca1\u6709\u6587\u4ef6\u63cf\u8ff0\u7b26\uff0c\u5c06\u4f1a\u81ea\u52a8\u5220\u9664\u3002<br>58<br>os.tmpnam()<\/p>\n\n\n\n<p>\u4e3a\u521b\u5efa\u4e00\u4e2a\u4e34\u65f6\u6587\u4ef6\u8fd4\u56de\u4e00\u4e2a\u552f\u4e00\u7684\u8def\u5f84<br>59<br>os.ttyname(fd)<\/p>\n\n\n\n<p>\u8fd4\u56de\u4e00\u4e2a\u5b57\u7b26\u4e32\uff0c\u5b83\u8868\u793a\u4e0e\u6587\u4ef6\u63cf\u8ff0\u7b26fd \u5173\u8054\u7684\u7ec8\u7aef\u8bbe\u5907\u3002\u5982\u679cfd \u6ca1\u6709\u4e0e\u7ec8\u7aef\u8bbe\u5907\u5173\u8054\uff0c\u5219\u5f15\u53d1\u4e00\u4e2a\u5f02\u5e38\u3002<br>60<br>os.unlink(path)<\/p>\n\n\n\n<p>\u5220\u9664\u6587\u4ef6\u8def\u5f84<br>61<br>os.utime(path, times)<\/p>\n\n\n\n<p>\u8fd4\u56de\u6307\u5b9a\u7684path\u6587\u4ef6\u7684\u8bbf\u95ee\u548c\u4fee\u6539\u7684\u65f6\u95f4\u3002<br>62<br>os.walk(top[, topdown=True[, onerror=None[, followlinks=False]]])<\/p>\n\n\n\n<p>\u8f93\u51fa\u5728\u6587\u4ef6\u5939\u4e2d\u7684\u6587\u4ef6\u540d\u901a\u8fc7\u5728\u6811\u4e2d\u6e38\u8d70\uff0c\u5411\u4e0a\u6216\u8005\u5411\u4e0b\u3002<br>63<br>os.write(fd, str)<\/p>\n\n\n\n<p>\u5199\u5165\u5b57\u7b26\u4e32\u5230\u6587\u4ef6\u63cf\u8ff0\u7b26 fd\u4e2d. \u8fd4\u56de\u5b9e\u9645\u5199\u5165\u7684\u5b57\u7b26\u4e32\u957f\u5ea6<br>64<br>os.path \u6a21\u5757<\/p>\n\n\n\n<p>\u83b7\u53d6\u6587\u4ef6\u7684\u5c5e\u6027\u4fe1\u606f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>os \u6a21\u5757\u63d0\u4f9b\u4e86\u975e\u5e38\u4e30\u5bcc\u7684\u65b9\u6cd5\u7528\u6765\u5904\u7406\u6587\u4ef6\u548c\u76ee\u5f55\u3002\u5e38\u7528\u7684\u65b9\u6cd5\u5982\u4e0b\u8868\u6240\u793a\uff1a \u5e8f\u53f7 \u65b9\u6cd5\u53ca\u63cf\u8ff01os.access [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,12,6],"tags":[22,23],"class_list":["post-48","post","type-post","status-publish","format-standard","hentry","category-2","category-os","category-python","tag-os","tag-python"],"_links":{"self":[{"href":"https:\/\/www.gladguang.cn\/index.php\/wp-json\/wp\/v2\/posts\/48","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.gladguang.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gladguang.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gladguang.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gladguang.cn\/index.php\/wp-json\/wp\/v2\/comments?post=48"}],"version-history":[{"count":1,"href":"https:\/\/www.gladguang.cn\/index.php\/wp-json\/wp\/v2\/posts\/48\/revisions"}],"predecessor-version":[{"id":185,"href":"https:\/\/www.gladguang.cn\/index.php\/wp-json\/wp\/v2\/posts\/48\/revisions\/185"}],"wp:attachment":[{"href":"https:\/\/www.gladguang.cn\/index.php\/wp-json\/wp\/v2\/media?parent=48"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gladguang.cn\/index.php\/wp-json\/wp\/v2\/categories?post=48"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gladguang.cn\/index.php\/wp-json\/wp\/v2\/tags?post=48"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}