[{"data":1,"prerenderedAt":1500},["ShallowReactive",2],{"navigation_docs":3,"-mime-types-text-x-python":673,"-mime-types-text-x-python-surround":1465,"mdc--oo64zf-key":1466,"mdc--q2o7r5-key":1477},[4,29,123,155,193,222,251,267,408,416,456,462,468],{"title":5,"path":6,"stem":7,"children":8,"icon":28},"Getting Started","\u002Fgetting-started","01.getting-started\u002F1.index",[9,13,18,23],{"title":10,"path":6,"stem":7,"icon":11,"exact":12},"What is Poly?","i-lucide-house",true,{"title":14,"path":15,"stem":16,"icon":17},"Installation","\u002Fgetting-started\u002Finstallation","01.getting-started\u002F2.installation","i-lucide-download",{"title":19,"path":20,"stem":21,"icon":22},"Quickstart","\u002Fgetting-started\u002Fquickstart","01.getting-started\u002F3.quickstart","i-lucide-rocket",{"title":24,"path":25,"stem":26,"icon":27},"Migrate to Poly","\u002Fgetting-started\u002Fmigrate-to-poly","01.getting-started\u002F4.migrate-to-poly","i-lucide-replace",false,{"title":30,"path":31,"stem":32,"children":33,"icon":28},"File Browser","\u002Ffile-browser","02.file-browser\u002F01.index",[34,37,42,47,52,57,62,67,72,113,118],{"title":35,"path":31,"stem":32,"icon":36,"exact":12},"Overview","i-lucide-folder-open",{"title":38,"path":39,"stem":40,"icon":41},"Uploading Files","\u002Ffile-browser\u002Fuploading-your-files","02.file-browser\u002F02.uploading-your-files","i-lucide-upload",{"title":43,"path":44,"stem":45,"icon":46},"Navigating Your Files","\u002Ffile-browser\u002Fnavigating-your-files","02.file-browser\u002F03.navigating-your-files","i-lucide-map",{"title":48,"path":49,"stem":50,"icon":51},"Sidebar","\u002Ffile-browser\u002Fsidebar","02.file-browser\u002F04.sidebar","i-lucide-panel-left",{"title":53,"path":54,"stem":55,"icon":56},"Saved Searches","\u002Ffile-browser\u002Fsaved-searches","02.file-browser\u002F05.saved-searches","i-lucide-folder-search",{"title":58,"path":59,"stem":60,"icon":61},"Supported File Types","\u002Ffile-browser\u002Fsupported-file-types","02.file-browser\u002F06.supported-file-types","i-lucide-file",{"title":63,"path":64,"stem":65,"icon":66},"View Modes","\u002Ffile-browser\u002Fview-modes","02.file-browser\u002F07.view-modes","i-lucide-layout-grid",{"title":68,"path":69,"stem":70,"icon":71},"Quick View (Peek)","\u002Ffile-browser\u002Fquick-view","02.file-browser\u002F08.quick-view","i-lucide-eye",{"title":73,"path":74,"stem":75,"children":76,"icon":78},"Tools Menu","\u002Ffile-browser\u002Ftools-menu","02.file-browser\u002F09.tools-menu\u002F1.index",[77,79,84,89,94,99,104,108],{"title":73,"path":74,"stem":75,"icon":78,"exact":12},"i-lucide-wrench",{"title":80,"path":81,"stem":82,"icon":83},"Agent","\u002Ffile-browser\u002Ftools-menu\u002Fagent","02.file-browser\u002F09.tools-menu\u002F2.agent","i-lucide-bot",{"title":85,"path":86,"stem":87,"icon":88},"Chats","\u002Ffile-browser\u002Ftools-menu\u002Fchats","02.file-browser\u002F09.tools-menu\u002F3.chats","i-lucide-message-square",{"title":90,"path":91,"stem":92,"icon":93},"Outline","\u002Ffile-browser\u002Ftools-menu\u002Foutline","02.file-browser\u002F09.tools-menu\u002F4.outline","i-lucide-list",{"title":95,"path":96,"stem":97,"icon":98},"Details Panel","\u002Ffile-browser\u002Ftools-menu\u002Fdetails","02.file-browser\u002F09.tools-menu\u002F5.details","i-lucide-panel-right",{"title":100,"path":101,"stem":102,"icon":103},"Activity","\u002Ffile-browser\u002Ftools-menu\u002Factivity","02.file-browser\u002F09.tools-menu\u002F6.activity","i-lucide-activity",{"title":105,"path":106,"stem":107,"icon":66},"Waterfall","\u002Ffile-browser\u002Ftools-menu\u002Fwaterfall","02.file-browser\u002F09.tools-menu\u002F7.waterfall",{"title":109,"path":110,"stem":111,"icon":112},"Flashback","\u002Ffile-browser\u002Ftools-menu\u002Fflashback","02.file-browser\u002F09.tools-menu\u002F8.flashback","i-lucide-zap",{"title":114,"path":115,"stem":116,"icon":117},"Keyboard Shortcuts","\u002Ffile-browser\u002Fkeyboard-shortcuts","02.file-browser\u002F10.keyboard-shortcuts","i-lucide-keyboard",{"title":119,"path":120,"stem":121,"icon":122},"Offline Use","\u002Ffile-browser\u002Foffline-use","02.file-browser\u002F11.offline-use","i-lucide-wifi-off",{"title":124,"path":125,"stem":126,"children":127,"icon":28},"Searching","\u002Fsearching","03.searching\u002F1.index",[128,130,135,140,145,150],{"title":35,"path":125,"stem":126,"icon":129,"exact":12},"i-lucide-search",{"title":131,"path":132,"stem":133,"icon":134},"Text Queries","\u002Fsearching\u002Ftext-queries","03.searching\u002F2.text-queries","i-lucide-text-search",{"title":136,"path":137,"stem":138,"icon":139},"Searching by File","\u002Fsearching\u002Fsearching-by-file","03.searching\u002F3.searching-by-file","i-lucide-scan-search",{"title":141,"path":142,"stem":143,"icon":144},"Searching by File Part","\u002Fsearching\u002Fsearching-by-file-part","03.searching\u002F4.searching-by-file-part","i-lucide-crop",{"title":146,"path":147,"stem":148,"icon":149},"Searching by Color","\u002Fsearching\u002Fsearching-by-color","03.searching\u002F5.searching-by-color","i-lucide-palette",{"title":151,"path":152,"stem":153,"icon":154},"Faceted Search & Advanced Search","\u002Fsearching\u002Ffaceted-search","03.searching\u002F6.faceted-search","i-lucide-filter",{"title":156,"path":157,"stem":158,"children":159,"icon":28},"Desktop","\u002Fdesktop","04.desktop\u002F1.index",[160,163,168,173,178,183,188],{"title":161,"path":157,"stem":158,"icon":162,"exact":12},"Intro","i-lucide-monitor",{"title":164,"path":165,"stem":166,"icon":167},"Sync Folder","\u002Fdesktop\u002Fsync-folder","04.desktop\u002F2.sync-folder","i-lucide-folder-sync",{"title":169,"path":170,"stem":171,"icon":172},"CLI","\u002Fdesktop\u002Fcli","04.desktop\u002F3.cli","i-lucide-square-terminal",{"title":174,"path":175,"stem":176,"icon":177},"Tags & Colors","\u002Fdesktop\u002Ftags-and-colors","04.desktop\u002F4.tags-and-colors","i-lucide-tags",{"title":179,"path":180,"stem":181,"icon":182},"Bookmarks","\u002Fdesktop\u002Fbookmarks","04.desktop\u002F5.bookmarks","i-lucide-bookmark",{"title":184,"path":185,"stem":186,"icon":187},"Spotlight & Handoff","\u002Fdesktop\u002Fspotlight-and-handoff","04.desktop\u002F6.spotlight-and-handoff","i-lucide-sparkles",{"title":189,"path":190,"stem":191,"icon":192},"Differences from Web","\u002Fdesktop\u002Fdifferences-from-web","04.desktop\u002F7.differences-from-web","i-lucide-app-window",{"title":80,"path":194,"stem":195,"children":196,"icon":28,"defaultOpen":28},"\u002Fagent","05.agent\u002F1.index",[197,198,203,207,212,217],{"title":35,"path":194,"stem":195,"icon":83,"exact":12},{"title":199,"path":200,"stem":201,"icon":202},"Reading & Summarizing Files","\u002Fagent\u002Freading-and-summarizing","05.agent\u002F2.reading-and-summarizing","i-lucide-book-open",{"title":204,"path":205,"stem":206,"icon":129},"AI-Powered Searching","\u002Fagent\u002Fsearching","05.agent\u002F3.searching",{"title":208,"path":209,"stem":210,"icon":211},"Creating and Editing Files","\u002Fagent\u002Fcreating-and-editing-files","05.agent\u002F4.creating-and-editing-files","i-lucide-file-pen",{"title":213,"path":214,"stem":215,"icon":216},"Organizing Files","\u002Fagent\u002Forganizing-files","05.agent\u002F5.organizing-files","i-lucide-folder-symlink",{"title":218,"path":219,"stem":220,"icon":221},"Complex, Multi-Step Tasks","\u002Fagent\u002Fcomplex-tasks","05.agent\u002F6.complex-tasks","i-lucide-workflow",{"title":223,"path":224,"stem":225,"children":226,"icon":28,"defaultOpen":28},"Recovering Files","\u002Frecovering-files","06.recovering-files\u002F1.index",[227,229,233,236,241,246],{"title":35,"path":224,"stem":225,"icon":228,"exact":12},"i-lucide-history",{"title":230,"path":231,"stem":232,"icon":71},"Viewing Versions","\u002Frecovering-files\u002Fviewing-versions","06.recovering-files\u002F2.viewing-versions",{"title":109,"path":234,"stem":235,"icon":112},"\u002Frecovering-files\u002Fflashback","06.recovering-files\u002F3.flashback",{"title":237,"path":238,"stem":239,"icon":240},"Restoring Versions","\u002Frecovering-files\u002Frestoring-versions","06.recovering-files\u002F4.restoring-versions","i-lucide-rotate-ccw",{"title":242,"path":243,"stem":244,"icon":245},"Reverting Changes","\u002Frecovering-files\u002Freverting-changes","06.recovering-files\u002F5.reverting-changes","i-lucide-undo-2",{"title":247,"path":248,"stem":249,"icon":250},"Limitations","\u002Frecovering-files\u002Flimitations","06.recovering-files\u002F6.limitations","i-lucide-triangle-alert",{"title":252,"path":253,"stem":254,"children":255,"icon":28,"defaultOpen":28},"Sharing","\u002Fsharing","07.sharing\u002F1.index",[256,258,262],{"title":35,"path":253,"stem":254,"icon":257,"exact":12},"i-lucide-share-2",{"title":259,"path":260,"stem":261,"icon":257},"Sharing Files","\u002Fsharing\u002Fsharing-files","07.sharing\u002F2.sharing-files",{"title":263,"path":264,"stem":265,"icon":266},"Shared Drives","\u002Fsharing\u002Fshared-drives","07.sharing\u002F3.shared-drives","i-lucide-users",{"title":169,"path":268,"stem":269,"children":270,"icon":28,"defaultOpen":28},"\u002Fcli","08.cli\u002F1.index",[271,273,278,399,404],{"title":14,"path":268,"stem":269,"icon":272,"exact":12},"i-lucide-terminal",{"title":274,"path":275,"stem":276,"icon":277},"How it Works","\u002Fcli\u002Fhow-it-works","08.cli\u002F2.how-it-works","i-lucide-cog",{"title":279,"path":280,"stem":281,"children":282,"icon":284},"Commands","\u002Fcli\u002Fcommands","08.cli\u002F3.commands\u002F01.index",[283,285,289,293,297,302,307,312,317,322,327,332,337,342,347,351,356,360,365,369,373,377,382,386,390,394],{"title":279,"path":280,"stem":281,"icon":284,"exact":12},"i-lucide-list-tree",{"title":286,"path":287,"stem":288,"icon":93},"ls","\u002Fcli\u002Fcommands\u002Fls","08.cli\u002F3.commands\u002F02.ls",{"title":290,"path":291,"stem":292,"icon":56},"find","\u002Fcli\u002Fcommands\u002Ffind","08.cli\u002F3.commands\u002F03.find",{"title":294,"path":295,"stem":296,"icon":129},"search","\u002Fcli\u002Fcommands\u002Fsearch","08.cli\u002F3.commands\u002F04.search",{"title":298,"path":299,"stem":300,"icon":301},"cp","\u002Fcli\u002Fcommands\u002Fcp","08.cli\u002F3.commands\u002F05.cp","i-lucide-copy",{"title":303,"path":304,"stem":305,"icon":306},"mv","\u002Fcli\u002Fcommands\u002Fmv","08.cli\u002F3.commands\u002F06.mv","i-lucide-move",{"title":308,"path":309,"stem":310,"icon":311},"rm","\u002Fcli\u002Fcommands\u002Frm","08.cli\u002F3.commands\u002F07.rm","i-lucide-trash-2",{"title":313,"path":314,"stem":315,"icon":316},"mkdir","\u002Fcli\u002Fcommands\u002Fmkdir","08.cli\u002F3.commands\u002F08.mkdir","i-lucide-folder-plus",{"title":318,"path":319,"stem":320,"icon":321},"mkurl","\u002Fcli\u002Fcommands\u002Fmkurl","08.cli\u002F3.commands\u002F09.mkurl","i-lucide-link",{"title":323,"path":324,"stem":325,"icon":326},"mksearch","\u002Fcli\u002Fcommands\u002Fmksearch","08.cli\u002F3.commands\u002F10.mksearch","i-lucide-search-code",{"title":328,"path":329,"stem":330,"icon":331},"mkdrive","\u002Fcli\u002Fcommands\u002Fmkdrive","08.cli\u002F3.commands\u002F11.mkdrive","i-lucide-hard-drive",{"title":333,"path":334,"stem":335,"icon":336},"rmdrive","\u002Fcli\u002Fcommands\u002Frmdrive","08.cli\u002F3.commands\u002F12.rmdrive","i-lucide-trash",{"title":338,"path":339,"stem":340,"icon":341},"wget","\u002Fcli\u002Fcommands\u002Fwget","08.cli\u002F3.commands\u002F13.wget","i-lucide-cloud-download",{"title":343,"path":344,"stem":345,"icon":346},"file show","\u002Fcli\u002Fcommands\u002Ffile-show","08.cli\u002F3.commands\u002F14.file-show","i-lucide-info",{"title":348,"path":349,"stem":350,"icon":202},"file read","\u002Fcli\u002Fcommands\u002Ffile-read","08.cli\u002F3.commands\u002F15.file-read",{"title":352,"path":353,"stem":354,"icon":355},"file write","\u002Fcli\u002Fcommands\u002Ffile-write","08.cli\u002F3.commands\u002F16.file-write","i-lucide-pencil",{"title":357,"path":358,"stem":359,"icon":211},"file update","\u002Fcli\u002Fcommands\u002Ffile-update","08.cli\u002F3.commands\u002F17.file-update",{"title":361,"path":362,"stem":363,"icon":364},"file search","\u002Fcli\u002Fcommands\u002Ffile-search","08.cli\u002F3.commands\u002F18.file-search","i-lucide-file-search",{"title":366,"path":367,"stem":368,"icon":228},"file history","\u002Fcli\u002Fcommands\u002Ffile-history","08.cli\u002F3.commands\u002F19.file-history",{"title":370,"path":371,"stem":372,"icon":240},"file restore","\u002Fcli\u002Fcommands\u002Ffile-restore","08.cli\u002F3.commands\u002F20.file-restore",{"title":374,"path":375,"stem":376,"icon":245},"file revert","\u002Fcli\u002Fcommands\u002Ffile-revert","08.cli\u002F3.commands\u002F21.file-revert",{"title":378,"path":379,"stem":380,"icon":381},"file open","\u002Fcli\u002Fcommands\u002Ffile-open","08.cli\u002F3.commands\u002F22.file-open","i-lucide-external-link",{"title":383,"path":384,"stem":385,"icon":17},"file download","\u002Fcli\u002Fcommands\u002Ffile-download","08.cli\u002F3.commands\u002F23.file-download",{"title":387,"path":388,"stem":389,"icon":257},"file share","\u002Fcli\u002Fcommands\u002Ffile-share","08.cli\u002F3.commands\u002F24.file-share",{"title":391,"path":392,"stem":393,"icon":192},"app","\u002Fcli\u002Fcommands\u002Fapp","08.cli\u002F3.commands\u002F25.app",{"title":395,"path":396,"stem":397,"icon":398},"auth","\u002Fcli\u002Fcommands\u002Fauth","08.cli\u002F3.commands\u002F26.auth","i-lucide-key-round",{"title":400,"path":401,"stem":402,"icon":403},"Global Flags","\u002Fcli\u002Fglobal-flags","08.cli\u002F4.global-flags","i-lucide-sliders-horizontal",{"title":405,"path":406,"stem":407,"icon":83},"Agent Skill","\u002Fcli\u002Fagent-skill","08.cli\u002F5.agent-skill",{"title":409,"path":410,"stem":411,"children":412,"icon":28,"defaultOpen":28},"Privacy & Security","\u002Fprivacy-and-security","09.privacy-and-security\u002F1.index",[413],{"title":414,"path":410,"stem":411,"icon":415,"exact":12},"Our Privacy Commitment","i-lucide-shield-check",{"title":417,"path":418,"stem":419,"children":420,"icon":28,"defaultOpen":28},"Integrations & MCP","\u002Fintegrations","10.integrations\u002F1.index",[421,423,428,433,438,442,447,452],{"title":35,"path":418,"stem":419,"icon":422,"exact":12},"i-lucide-plug",{"title":424,"path":425,"stem":426,"icon":427},"Claude Code","\u002Fintegrations\u002Fclaude-code","10.integrations\u002F2.claude-code","i-simple-icons-claude",{"title":429,"path":430,"stem":431,"icon":432},"Claude CoWork (Desktop)","\u002Fintegrations\u002Fclaude-cowork","10.integrations\u002F3.claude-cowork","i-simple-icons-anthropic",{"title":434,"path":435,"stem":436,"icon":437},"ChatGPT Work (Desktop)","\u002Fintegrations\u002Fchatgpt-work","10.integrations\u002F4.chatgpt-work","i-simple-icons-openai",{"title":439,"path":440,"stem":441,"icon":437},"ChatGPT","\u002Fintegrations\u002Fchatgpt","10.integrations\u002F5.chatgpt",{"title":443,"path":444,"stem":445,"icon":446},"Gemini","\u002Fintegrations\u002Fgemini","10.integrations\u002F6.gemini","i-simple-icons-googlegemini",{"title":448,"path":449,"stem":450,"icon":451},"VS Code & Cursor","\u002Fintegrations\u002Fvscode-cursor","10.integrations\u002F7.vscode-cursor","i-simple-icons-visualstudiocode",{"title":453,"path":454,"stem":455,"icon":78},"Using MCP","\u002Fintegrations\u002Fusing-mcp","10.integrations\u002F8.using-mcp",{"title":457,"path":458,"stem":459,"children":460,"icon":28,"defaultOpen":28},"Troubleshooting","\u002Ftroubleshooting","11.troubleshooting\u002F1.index",[461],{"title":457,"path":458,"stem":459,"icon":78,"exact":12},{"title":463,"path":464,"stem":465,"children":466,"icon":28,"defaultOpen":28},"Roadmap","\u002Froadmap","12.roadmap\u002F1.index",[467],{"title":463,"path":464,"stem":465,"icon":46,"exact":12},{"title":469,"icon":28,"defaultOpen":28,"path":470,"stem":471,"children":472,"page":28},"Releases","\u002Freleases","13.releases",[473,477],{"title":474,"path":475,"stem":476},"Latest","\u002Freleases\u002Fall-releases\u002F2026-09-01-v0-beta-09-01","13.releases\u002F1.latest",{"title":478,"icon":28,"defaultOpen":28,"path":479,"stem":480,"children":481,"page":28},"All releases","\u002Freleases\u002Fall-releases","13.releases\u002F2.all-releases",[482,489,497,505,513,521,529,537,545,553,561,569,577,585,593,601,609,617,625,633,641,649,657,665],{"title":483,"path":475,"stem":484,"release-notes":485},"v0.beta.2026.09.01","13.releases\u002F2.all-releases\u002F2026-09-01-v0-beta-09-01",{"date":486,"banner":487,"icon":488,"version":483},"2026-09-01","https:\u002F\u002Ffiles.poly.app\u002Fassets\u002Frelease-notes\u002F2026-09-01\u002Fbanner.jpg","https:\u002F\u002Ffiles.poly.app\u002Fassets\u002Frelease-notes\u002F2026-09-01\u002Fsticker.png",{"title":490,"path":491,"stem":492,"release-notes":493},"v0.beta.2026.08.27","\u002Freleases\u002Fall-releases\u002F2026-08-27-v0-beta-08-27","13.releases\u002F2.all-releases\u002F2026-08-27-v0-beta-08-27",{"date":494,"banner":495,"icon":496,"version":490},"2026-08-27","https:\u002F\u002Ffiles.poly.app\u002Fassets\u002Frelease-notes\u002F2026-08-27\u002Fbanner.jpg","https:\u002F\u002Ffiles.poly.app\u002Fassets\u002Frelease-notes\u002F2026-08-27\u002Ficon.png",{"title":498,"path":499,"stem":500,"release-notes":501},"v0.beta.2026.08.18","\u002Freleases\u002Fall-releases\u002F2026-08-18-v0-beta-08-18","13.releases\u002F2.all-releases\u002F2026-08-18-v0-beta-08-18",{"date":502,"banner":503,"icon":504,"version":498},"2026-08-18","https:\u002F\u002Ffiles.poly.app\u002Fassets\u002Frelease-notes\u002F2026-08-18\u002Fbanner.png","https:\u002F\u002Ffiles.poly.app\u002Fassets\u002Frelease-notes\u002F2026-08-18\u002Fsticker.png",{"title":506,"path":507,"stem":508,"release-notes":509},"v0.beta.2026.08.11","\u002Freleases\u002Fall-releases\u002F2026-08-11-v0-beta-08-11","13.releases\u002F2.all-releases\u002F2026-08-11-v0-beta-08-11",{"date":510,"banner":511,"icon":512,"version":506},"2026-08-11","https:\u002F\u002Ffiles.poly.app\u002Fassets\u002Frelease-notes\u002F2026-08-11\u002Fbanner.png","https:\u002F\u002Ffiles.poly.app\u002Fassets\u002Frelease-notes\u002F2026-08-11\u002FUnknown-12.png",{"title":514,"path":515,"stem":516,"release-notes":517},"v0.beta.2026.01.22","\u002Freleases\u002Fall-releases\u002F2026-01-22-v0-beta-01-22","13.releases\u002F2.all-releases\u002F2026-01-22-v0-beta-01-22",{"date":518,"banner":519,"icon":520,"version":514},"2026-01-22","https:\u002F\u002Ffiles.poly.app\u002Fassets\u002Frelease-notes\u002F2026-01-22\u002Fbanner.jpg","https:\u002F\u002Ffiles.poly.app\u002Fassets\u002Frelease-notes\u002F2026-01-22\u002Ficon.webp",{"title":522,"path":523,"stem":524,"release-notes":525},"v0.beta.2026.01.13","\u002Freleases\u002Fall-releases\u002F2026-01-13-v0-beta-01-13","13.releases\u002F2.all-releases\u002F2026-01-13-v0-beta-01-13",{"date":526,"banner":527,"icon":528,"version":522},"2026-01-13","https:\u002F\u002Ffiles.poly.app\u002Fassets\u002Frelease-notes\u002F2026-01-13\u002Fbanner.jpg","https:\u002F\u002Ffiles.poly.app\u002Fassets\u002Frelease-notes\u002F2026-01-13\u002Ficon.webp",{"title":530,"path":531,"stem":532,"release-notes":533},"v0.beta.2026.01.09","\u002Freleases\u002Fall-releases\u002F2026-01-09-v0-beta-01-09","13.releases\u002F2.all-releases\u002F2026-01-09-v0-beta-01-09",{"date":534,"banner":535,"icon":536,"version":530},"2026-01-09","https:\u002F\u002Ffiles.poly.app\u002Fassets\u002Frelease-notes\u002F2026-01-09\u002Fbanner.jpg","https:\u002F\u002Ffiles.poly.app\u002Fassets\u002Frelease-notes\u002F2026-01-09\u002Ficon.webp",{"title":538,"path":539,"stem":540,"release-notes":541},"v0.beta.2025.12.31","\u002Freleases\u002Fall-releases\u002F2025-12-31-v0-beta-12-31","13.releases\u002F2.all-releases\u002F2025-12-31-v0-beta-12-31",{"date":542,"banner":543,"icon":544,"version":538},"2025-12-31","https:\u002F\u002Ffiles.poly.app\u002Fassets\u002Frelease-notes\u002F2025-12-31\u002Fbanner.jpg","https:\u002F\u002Ffiles.poly.app\u002Fassets\u002Frelease-notes\u002F2025-12-31\u002Ficon.webp",{"title":546,"path":547,"stem":548,"release-notes":549},"v0.beta.2025.12.26","\u002Freleases\u002Fall-releases\u002F2025-12-26-v0-beta-12-26","13.releases\u002F2.all-releases\u002F2025-12-26-v0-beta-12-26",{"date":550,"banner":551,"icon":552,"version":546},"2025-12-26","https:\u002F\u002Ffiles.poly.app\u002Fassets\u002Frelease-notes\u002F2025-12-26\u002Fbanner.jpg","https:\u002F\u002Ffiles.poly.app\u002Fassets\u002Frelease-notes\u002F2025-12-26\u002Ficon.webp",{"title":554,"path":555,"stem":556,"release-notes":557},"v0.beta.2025.12.16","\u002Freleases\u002Fall-releases\u002F2025-12-16-v0-beta-12-16","13.releases\u002F2.all-releases\u002F2025-12-16-v0-beta-12-16",{"date":558,"banner":559,"icon":560,"version":554},"2025-12-16","https:\u002F\u002Ffiles.poly.app\u002Fassets\u002Frelease-notes\u002F2025-12-16\u002Fbanner.jpg","https:\u002F\u002Ffiles.poly.app\u002Fassets\u002Frelease-notes\u002F2025-12-16\u002Ficon.webp",{"title":562,"path":563,"stem":564,"release-notes":565},"v0.beta.2025.12.12","\u002Freleases\u002Fall-releases\u002F2025-12-12-v0-beta-12-12","13.releases\u002F2.all-releases\u002F2025-12-12-v0-beta-12-12",{"date":566,"banner":567,"icon":568,"version":562},"2025-12-12","https:\u002F\u002Ffiles.poly.app\u002Fassets\u002Frelease-notes\u002F2025-12-12\u002Fbanner.jpg","https:\u002F\u002Ffiles.poly.app\u002Fassets\u002Frelease-notes\u002F2025-12-12\u002Ficon.webp",{"title":570,"path":571,"stem":572,"release-notes":573},"v0.beta.2025.12.03","\u002Freleases\u002Fall-releases\u002F2025-12-03-v0-beta-12-03","13.releases\u002F2.all-releases\u002F2025-12-03-v0-beta-12-03",{"date":574,"banner":575,"icon":576,"version":570},"2025-12-03","https:\u002F\u002Ffiles.poly.app\u002Fassets\u002Frelease-notes\u002F2025-12-03\u002Fbanner.jpg","https:\u002F\u002Ffiles.poly.app\u002Fassets\u002Frelease-notes\u002F2025-12-03\u002Ficon.webp",{"title":578,"path":579,"stem":580,"release-notes":581},"v0.beta.2025.11.26","\u002Freleases\u002Fall-releases\u002F2025-11-26-v0-beta-11-26","13.releases\u002F2.all-releases\u002F2025-11-26-v0-beta-11-26",{"date":582,"banner":583,"icon":584,"version":578},"2025-11-26","https:\u002F\u002Ffiles.poly.app\u002Fassets\u002Frelease-notes\u002F2025-11-26\u002Fbanner.jpg","https:\u002F\u002Ffiles.poly.app\u002Fassets\u002Frelease-notes\u002F2025-11-26\u002Ficon.webp",{"title":586,"path":587,"stem":588,"release-notes":589},"v0.beta.2025.11.19","\u002Freleases\u002Fall-releases\u002F2025-11-19-v0-beta-11-19","13.releases\u002F2.all-releases\u002F2025-11-19-v0-beta-11-19",{"date":590,"banner":591,"icon":592,"version":586},"2025-11-19","https:\u002F\u002Ffiles.poly.app\u002Fassets\u002Frelease-notes\u002F2025-11-19\u002Fbanner.jpg","https:\u002F\u002Ffiles.poly.app\u002Fassets\u002Frelease-notes\u002F2025-11-19\u002Ficon.webp",{"title":594,"path":595,"stem":596,"release-notes":597},"v0.beta.2025.11.13","\u002Freleases\u002Fall-releases\u002F2025-11-13-v0-beta-11-13","13.releases\u002F2.all-releases\u002F2025-11-13-v0-beta-11-13",{"date":598,"banner":599,"icon":600,"version":594},"2025-11-13","https:\u002F\u002Ffiles.poly.app\u002Fassets\u002Frelease-notes\u002F2025-11-13\u002Fbanner.jpg","https:\u002F\u002Ffiles.poly.app\u002Fassets\u002Frelease-notes\u002F2025-11-13\u002Ficon.webp",{"title":602,"path":603,"stem":604,"release-notes":605},"v0.beta.2025.11.05","\u002Freleases\u002Fall-releases\u002F2025-11-05-v0-beta-11-05","13.releases\u002F2.all-releases\u002F2025-11-05-v0-beta-11-05",{"date":606,"banner":607,"icon":608,"version":602},"2025-11-05","https:\u002F\u002Ffiles.poly.app\u002Fassets\u002Frelease-notes\u002F2025-11-05\u002Fbanner.jpg","https:\u002F\u002Ffiles.poly.app\u002Fassets\u002Frelease-notes\u002F2025-11-05\u002Ficon.webp",{"title":610,"path":611,"stem":612,"release-notes":613},"v0.beta.2025.10.29","\u002Freleases\u002Fall-releases\u002F2025-10-29-v0-beta-10-29","13.releases\u002F2.all-releases\u002F2025-10-29-v0-beta-10-29",{"date":614,"banner":615,"icon":616,"version":610},"2025-10-29","https:\u002F\u002Ffiles.poly.app\u002Fassets\u002Frelease-notes\u002F2025-10-29\u002Fbanner.jpg","https:\u002F\u002Ffiles.poly.app\u002Fassets\u002Frelease-notes\u002F2025-10-29\u002Ficon.webp",{"title":618,"path":619,"stem":620,"release-notes":621},"v0.beta.2025.10.21","\u002Freleases\u002Fall-releases\u002F2025-10-21-v0-beta-10-21","13.releases\u002F2.all-releases\u002F2025-10-21-v0-beta-10-21",{"date":622,"banner":623,"icon":624,"version":618},"2025-10-21","https:\u002F\u002Ffiles.poly.app\u002Fassets\u002Frelease-notes\u002F2025-10-21\u002Fbanner.jpg","https:\u002F\u002Ffiles.poly.app\u002Fassets\u002Frelease-notes\u002F2025-10-21\u002Ficon.webp",{"title":626,"path":627,"stem":628,"release-notes":629},"v0.beta.2025.10.14","\u002Freleases\u002Fall-releases\u002F2025-10-14-v0-beta-10-14","13.releases\u002F2.all-releases\u002F2025-10-14-v0-beta-10-14",{"date":630,"banner":631,"icon":632,"version":626},"2025-10-14","https:\u002F\u002Ffiles.poly.app\u002Fassets\u002Frelease-notes\u002F2025-10-14\u002Fbanner.jpg","https:\u002F\u002Ffiles.poly.app\u002Fassets\u002Frelease-notes\u002F2025-10-14\u002Ficon.webp",{"title":634,"path":635,"stem":636,"release-notes":637},"v0.beta.2025.10.08","\u002Freleases\u002Fall-releases\u002F2025-10-08-v0-beta-10-08","13.releases\u002F2.all-releases\u002F2025-10-08-v0-beta-10-08",{"date":638,"banner":639,"icon":640,"version":634},"2025-10-08","https:\u002F\u002Ffiles.poly.app\u002Fassets\u002Frelease-notes\u002F2025-10-08\u002Fbanner.jpg","https:\u002F\u002Ffiles.poly.app\u002Fassets\u002Frelease-notes\u002F2025-10-08\u002Ficon.webp",{"title":642,"path":643,"stem":644,"release-notes":645},"v0.beta.2025.10.01","\u002Freleases\u002Fall-releases\u002F2025-10-01-v0-beta-10-01","13.releases\u002F2.all-releases\u002F2025-10-01-v0-beta-10-01",{"date":646,"banner":647,"icon":648,"version":642},"2025-10-01","https:\u002F\u002Ffiles.poly.app\u002Fassets\u002Frelease-notes\u002F2025-10-01\u002Fbanner.jpg","https:\u002F\u002Ffiles.poly.app\u002Fassets\u002Frelease-notes\u002F2025-10-01\u002Ficon.webp",{"title":650,"path":651,"stem":652,"release-notes":653},"v0.beta.2025.09.23","\u002Freleases\u002Fall-releases\u002F2025-09-23-v0-beta-09-23","13.releases\u002F2.all-releases\u002F2025-09-23-v0-beta-09-23",{"date":654,"banner":655,"icon":656,"version":650},"2025-09-23","https:\u002F\u002Ffiles.poly.app\u002Fassets\u002Frelease-notes\u002F2025-09-23\u002Fbanner.jpg","https:\u002F\u002Ffiles.poly.app\u002Fassets\u002Frelease-notes\u002F2025-09-23\u002Ficon.webp",{"title":658,"path":659,"stem":660,"release-notes":661},"v0.beta.2025.09.16","\u002Freleases\u002Fall-releases\u002F2025-09-16-v0-beta-09-16","13.releases\u002F2.all-releases\u002F2025-09-16-v0-beta-09-16",{"date":662,"banner":663,"icon":664,"version":658},"2025-09-16","https:\u002F\u002Ffiles.poly.app\u002Fassets\u002Frelease-notes\u002F2025-09-16\u002Fbanner.jpg","https:\u002F\u002Ffiles.poly.app\u002Fassets\u002Frelease-notes\u002F2025-09-16\u002Ficon.webp",{"title":666,"path":667,"stem":668,"release-notes":669},"v0.beta.2025.09.03","\u002Freleases\u002Fall-releases\u002F2025-09-03-v0-beta-09-03","13.releases\u002F2.all-releases\u002F2025-09-03-v0-beta-09-03",{"date":670,"banner":671,"icon":672,"version":666},"2025-09-03","https:\u002F\u002Ffiles.poly.app\u002Fassets\u002Frelease-notes\u002F2025-09-03\u002Fbanner.jpg","https:\u002F\u002Ffiles.poly.app\u002Fassets\u002Frelease-notes\u002F2025-09-03\u002Ficon.webp",{"id":674,"title":675,"body":676,"description":1437,"extension":1438,"file-extension":1439,"links":1439,"meta":1440,"mime-type":1441,"navigation":28,"path":1459,"release-notes":1439,"seo":1460,"stem":1463,"__hash__":1464},"docs\u002Fmime-types\u002Ftext\u002Fx-python.md","Python Source MIME Type",{"type":677,"value":678,"toc":1422},"minimark",[679,689,721,751,773,780,784,803,814,854,880,887,899,927,937,944,947,985,1000,1009,1013,1023,1026,1029,1041,1044,1134,1150,1154,1157,1201,1204,1208,1211,1215,1218,1418],[680,681,683,684,688],"h2",{"id":682},"what-does-textx-python-mean","What does ",[685,686,687],"code",{},"text\u002Fx-python"," mean?",[690,691,692,694,695,702,703,709,710],"p",{},[685,693,687],{}," is a widely used, unregistered media type for Python source code. The freedesktop.org shared MIME database associates it with Python scripts and the ",[696,697,699],"a",{"href":698},"\u002Ffile-extensions\u002Fpy",[685,700,701],{},".py"," and ",[696,704,706],{"href":705},"\u002Ffile-extensions\u002Fwsgi",[685,707,708],{},".wsgi"," filename extensions. It also recognizes a Python interpreter line, often called a shebang, as supporting evidence when identifying a file.",[711,712,713],"sup",{},[696,714,720],{"href":715,"ariaDescribedBy":716,"dataFootnoteRef":718,"id":719},"#user-content-fn-1",[717],"footnote-label","","user-content-fnref-1","1",[690,722,723,724,732,733,736,737,739,740,742,743],{},"The type does not appear in IANA's official media type registry.",[711,725,726],{},[696,727,731],{"href":728,"ariaDescribedBy":729,"dataFootnoteRef":718,"id":730},"#user-content-fn-2",[717],"user-content-fnref-2","2"," The ",[685,734,735],{},"x-"," prefix reflects the older practice of marking unstandardized names. The IETF now discourages creating new ",[685,738,735],{}," names, but it does not require established names such as ",[685,741,687],{}," to disappear.",[711,744,745],{},[696,746,750],{"href":747,"ariaDescribedBy":748,"dataFootnoteRef":718,"id":749},"#user-content-fn-3",[717],"user-content-fnref-3","3",[752,753,754,756,757,761,762,768,769,772],"note",{},[685,755,687],{}," is a useful interoperability convention, not a Python language standard. Software may instead report a ",[696,758,759],{"href":698},[685,760,701],{}," file as ",[696,763,765],{"href":764},"\u002Fmime-types\u002Ftext\u002Fplain",[685,766,767],{},"text\u002Fplain",", and a generic download may arrive as ",[685,770,771],{},"application\u002Foctet-stream",".",[690,774,775,776,779],{},"There is no reliable magic number for Python source. A shebang such as ",[685,777,778],{},"#!\u002Fusr\u002Fbin\u002Fenv python3"," is optional, and many other text files can begin with comments, imports, or function definitions. File extensions, supplied metadata, and content-aware inspection are therefore more useful together than any single byte signature.",[680,781,783],{"id":782},"how-python-source-files-are-structured","How Python source files are structured",[690,785,786,787,791,792,772,795],{},"A ",[696,788,789],{"href":698},[685,790,701],{}," file contains source text that Python tokenizes and compiles before execution. It can be a top-level script, an importable module, or part of a package. CPython can execute a script by path with a command such as ",[685,793,794],{},"python example.py",[711,796,797],{},[696,798,802],{"href":799,"ariaDescribedBy":800,"dataFootnoteRef":718,"id":801},"#user-content-fn-4",[717],"user-content-fnref-4","4",[690,804,805,806],{},"Python source defaults to UTF-8. A source encoding can instead be declared in a specially formatted comment on the first or second line. The declaration applies to the whole file, and Python rejects source that it cannot decode with the selected encoding.",[711,807,808],{},[696,809,813],{"href":810,"ariaDescribedBy":811,"dataFootnoteRef":718,"id":812},"#user-content-fn-5",[717],"user-content-fnref-5","5",[815,816,820],"pre",{"className":817,"code":818,"language":819,"meta":718,"style":718},"language-python shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","#!\u002Fusr\u002Fbin\u002Fenv python3\n# -*- coding: utf-8 -*-\n\ndef greet(name: str) -> str:\n    return f\"Hello, {name}!\"\n","python",[685,821,822,830,836,842,848],{"__ignoreMap":718},[823,824,827],"span",{"class":825,"line":826},"line",1,[823,828,829],{},"#!\u002Fusr\u002Fbin\u002Fenv python3\n",[823,831,833],{"class":825,"line":832},2,[823,834,835],{},"# -*- coding: utf-8 -*-\n",[823,837,839],{"class":825,"line":838},3,[823,840,841],{"emptyLinePlaceholder":12},"\n",[823,843,845],{"class":825,"line":844},4,[823,846,847],{},"def greet(name: str) -> str:\n",[823,849,851],{"class":825,"line":850},5,[823,852,853],{},"    return f\"Hello, {name}!\"\n",[690,855,856,857,861,862,865,866,868,869,871,872],{},"The ",[696,858,859],{"href":698},[685,860,701],{}," extension identifies source, not compiled bytecode. Python may cache imported modules as ",[685,863,864],{},".pyc"," files, which contain bytecode and are not text. Renaming a ",[685,867,864],{}," file to ",[685,870,701],{}," does not turn it back into source.",[711,873,874],{},[696,875,879],{"href":876,"ariaDescribedBy":877,"dataFootnoteRef":718,"id":878},"#user-content-fn-6",[717],"user-content-fnref-6","6",[680,881,883,884,886],{"id":882},"where-did-textx-python-come-from","Where did ",[685,885,687],{}," come from?",[690,888,889,890,898],{},"Guido van Rossum began creating Python at CWI in December 1989 as a successor to ABC.",[711,891,892],{},[696,893,897],{"href":894,"ariaDescribedBy":895,"dataFootnoteRef":718,"id":896},"#user-content-fn-7",[717],"user-content-fnref-7","7"," Early public Python releases followed in 1991, which is the date commonly used for the language's first release.",[690,900,901,902,904,905,702,909,913,914,702,917,920,921],{},"The MIME label developed later as desktop environments and applications needed a shared way to classify source files. The current freedesktop.org database defines ",[685,903,687],{},", gives ",[696,906,907],{"href":698},[685,908,701],{},[696,910,911],{"href":705},[685,912,708],{}," high-priority filename matches, and defines ",[685,915,916],{},"text\u002Fx-python2",[685,918,919],{},"text\u002Fx-python3"," as more specific variants.",[711,922,923],{},[696,924,720],{"href":715,"ariaDescribedBy":925,"dataFootnoteRef":718,"id":926},[717],"user-content-fnref-1-2",[690,928,929,930,932,933,936],{},"Those version-specific types are classification hints, not proof that a file is compatible with only one interpreter. A generic ",[685,931,701],{}," filename can match all three entries, while a versioned shebang or extension such as ",[685,934,935],{},".py3"," gives the shared database more specific evidence. The Python grammar and dependencies still determine whether the program runs.",[680,938,940,941,943],{"id":939},"how-to-open-a-py-file","How to open a ",[685,942,701],{}," file",[690,945,946],{},"Any plain-text editor can display Python source. A Python-aware editor is more useful because indentation is syntactically significant and tools can provide completion, diagnostics, formatting, navigation, testing, and debugging.",[948,949,950,962,973],"ul",{},[951,952,953,954],"li",{},"Visual Studio Code supports editing, running, linting, testing, and debugging Python when a Python interpreter and the Python extension are installed.",[711,955,956],{},[696,957,961],{"href":958,"ariaDescribedBy":959,"dataFootnoteRef":718,"id":960},"#user-content-fn-8",[717],"user-content-fnref-8","8",[951,963,964,965],{},"PyCharm provides a Python-focused editor, interpreter configuration, code analysis, testing, and debugging.",[711,966,967],{},[696,968,972],{"href":969,"ariaDescribedBy":970,"dataFootnoteRef":718,"id":971},"#user-content-fn-9",[717],"user-content-fnref-9","9",[951,974,975,976,772,979],{},"The Python interpreter can run a trusted script from a terminal with ",[685,977,978],{},"python path\u002Fto\u002Fscript.py",[711,980,981],{},[696,982,802],{"href":799,"ariaDescribedBy":983,"dataFootnoteRef":718,"id":984},[717],"user-content-fnref-4-2",[690,986,987,988,990,991,995,996,999],{},"A current browser can usually display a URL served as ",[685,989,687],{}," as source text. Browsers do not treat it as a web scripting language, so it will not execute like ",[696,992,994],{"href":993},"\u002Fmime-types\u002Ftext\u002Fjavascript","JavaScript"," loaded by a page. If the goal is a predictable download rather than an inline view, the server should also send an appropriate ",[685,997,998],{},"Content-Disposition"," header.",[1001,1002,1003,1004,1008],"tip",{},"If a ",[696,1005,1006],{"href":698},[685,1007,701],{}," file contains accented text or other non-ASCII characters, keep it as UTF-8 unless a project has a specific legacy requirement. This avoids mismatches between the editor, web server, and Python's decoder.",[680,1010,1012],{"id":1011},"support-in-poly","Support in Poly",[690,1014,1015,1016,702,1018,1022],{},"Poly recognizes both ",[685,1017,687],{},[696,1019,1020],{"href":698},[685,1021,701],{}," files as Python source. You can open the source with Python syntax highlighting, word wrap, and in-file search. Exact text search can find names and expressions, while semantic search can find code by purpose even when the query uses different wording.",[690,1024,1025],{},"The Poly agent can read and explain the source, trace visible control flow, summarize functions and classes, and suggest changes. Poly does not execute the program. This keeps inspection separate from runtime behavior, but it also means that dynamic imports, environment variables, generated code, network responses, and dependency behavior are not automatically available. Add the relevant project files when those details matter.",[690,1027,1028],{},"Source saved in an unusual legacy encoding may not preview as intended. Converting it carefully to UTF-8 usually improves portability, but preserve the original and update or remove its encoding declaration only after verifying that the decoded text is unchanged.",[680,1030,1032,1033,1035,1036,1040],{"id":1031},"is-textx-python-the-same-as-textplain","Is ",[685,1034,687],{}," the same as ",[696,1037,1038],{"href":764},[685,1039,767],{},"?",[690,1042,1043],{},"They can describe the same bytes, but they communicate different intent.",[1045,1046,1047,1067],"table",{},[1048,1049,1050],"thead",{},[1051,1052,1053,1057,1061],"tr",{},[1054,1055,1056],"th",{},"Property",[1054,1058,1059],{},[685,1060,687],{},[1054,1062,1063],{},[696,1064,1065],{"href":764},[685,1066,767],{},[1068,1069,1070,1082,1093,1113,1124],"tbody",{},[1051,1071,1072,1076,1079],{},[1073,1074,1075],"td",{},"Meaning",[1073,1077,1078],{},"Python source code",[1073,1080,1081],{},"Unformatted text with no more specific type",[1051,1083,1084,1087,1090],{},[1073,1085,1086],{},"IANA registration",[1073,1088,1089],{},"Unregistered convention",[1073,1091,1092],{},"Registered standard type",[1051,1094,1095,1098,1104],{},[1073,1096,1097],{},"Typical extension",[1073,1099,1100],{},[696,1101,1102],{"href":698},[685,1103,701],{},[1073,1105,1106,1112],{},[696,1107,1109],{"href":1108},"\u002Ffile-extensions\u002Ftxt",[685,1110,1111],{},".txt"," or unspecified",[1051,1114,1115,1118,1121],{},[1073,1116,1117],{},"Language-aware tools",[1073,1119,1120],{},"Can select Python directly",[1073,1122,1123],{},"Usually need filename or content detection",[1051,1125,1126,1129,1132],{},[1073,1127,1128],{},"Safe to execute automatically",[1073,1130,1131],{},"No",[1073,1133,1131],{},[690,1135,1136,1137,1139,1140,1144,1145,1149],{},"Use ",[685,1138,687],{}," when the receiving system understands it and the Python classification is useful. Use ",[696,1141,1142],{"href":764},[685,1143,767],{}," when only generic text handling is available. In either case, keep the ",[696,1146,1147],{"href":698},[685,1148,701],{}," filename when tools depend on extension-based language detection.",[680,1151,1153],{"id":1152},"converting-python-source","Converting Python source",[690,1155,1156],{},"Python source rarely needs a format conversion. The useful operation depends on the goal:",[948,1158,1159,1166,1176,1195],{},[951,1160,1161,1165],{},[1162,1163,1164],"strong",{},"Normalize text encoding."," Decode the original with its declared encoding, save as UTF-8, and verify non-ASCII strings and comments.",[951,1167,1168,1171,1172,1175],{},[1162,1169,1170],{},"Create a notebook."," A tool can split source into cells for an ",[685,1173,1174],{},".ipynb"," workflow, but notebook outputs and execution state are separate from the original script.",[951,1177,1178,1181,1182,1185,1186,1188,1189],{},[1162,1179,1180],{},"Compile bytecode."," Python's ",[685,1183,1184],{},"py_compile"," module can produce ",[685,1187,864],{}," bytecode. Bytecode is interpreter-specific runtime material, not a portable source replacement.",[711,1190,1191],{},[696,1192,879],{"href":876,"ariaDescribedBy":1193,"dataFootnoteRef":718,"id":1194},[717],"user-content-fnref-6-2",[951,1196,1197,1200],{},[1162,1198,1199],{},"Publish documentation."," Documentation tools can render docstrings and API references as HTML or PDF, but the result does not preserve a runnable source file.",[690,1202,1203],{},"Do not convert Python source merely by changing its extension or MIME label. The content must remain valid Python, and code that depends on a particular interpreter version or package environment may still fail elsewhere.",[680,1205,1207],{"id":1206},"security-and-privacy-considerations","Security and privacy considerations",[690,1209,1210],{},"Python source is readable, but it is also executable code. A script can read or alter files, access credentials available to the process, connect to networks, launch other programs, and import more code. A familiar extension or MIME type says nothing about trustworthiness.",[1212,1213,1214],"warning",{},"Review unfamiliar Python source before running it, and use an isolated environment with minimal permissions when execution is necessary. Pay particular attention to installation scripts, imported dependencies, dynamic execution, subprocess calls, and network downloads.",[690,1216,1217],{},"Source files can also disclose secrets without being run. Check for API keys, passwords, internal URLs, customer data, local paths, and comments that were never meant for publication. Poly's preview and agent-reading support help with inspection, but neither is a security certification or a substitute for a dedicated code and dependency review.",[1219,1220,1223,1228],"section",{"className":1221,"dataFootnotes":718},[1222],"footnotes",[680,1224,1227],{"className":1225,"id":717},[1226],"sr-only","Footnotes",[1229,1230,1231,1268,1285,1306,1330,1345,1369,1386,1402],"ol",{},[951,1232,1234,1235,1244,1245,1247,1248,1247,1250,1252,1253,1260,1261],{"id":1233},"user-content-fn-1","freedesktop.org. ",[696,1236,1240],{"href":1237,"rel":1238},"https:\u002F\u002Fgitlab.com\u002Ffreedesktop-sdk\u002Fmirrors\u002Ffreedesktop\u002Fxdg\u002Fshared-mime-info\u002F-\u002Fraw\u002Fmaster\u002Fdata\u002Ffreedesktop.org.xml.in",[1239],"nofollow",[1241,1242,1243],"em",{},"Shared MIME Info Database: Python Source Definitions",". The current database defines ",[685,1246,687],{},", ",[685,1249,701],{},[685,1251,708],{},", shebang patterns, and the Python 2 and Python 3 subtypes. ",[696,1254,1259],{"href":1255,"ariaLabel":1256,"className":1257,"dataFootnoteBackref":718},"#user-content-fnref-1","Back to reference 1",[1258],"data-footnote-backref","↩"," ",[696,1262,1259,1266],{"href":1263,"ariaLabel":1264,"className":1265,"dataFootnoteBackref":718},"#user-content-fnref-1-2","Back to reference 1-2",[1258],[711,1267,731],{},[951,1269,1271,1272,1279,1280],{"id":1270},"user-content-fn-2","Internet Assigned Numbers Authority. ",[696,1273,1276],{"href":1274,"rel":1275},"https:\u002F\u002Fwww.iana.org\u002Fassignments\u002Fmedia-types\u002Fmedia-types.xhtml",[1239],[1241,1277,1278],{},"Media Types Registry",". The text registry does not include a Python subtype. ",[696,1281,1259],{"href":1282,"ariaLabel":1283,"className":1284,"dataFootnoteBackref":718},"#user-content-fnref-2","Back to reference 2",[1258],[951,1286,1288,1289,1300,1301],{"id":1287},"user-content-fn-3","Saint-Andre, P., Crocker, D., and M. Nottingham. ",[696,1290,1293],{"href":1291,"rel":1292},"https:\u002F\u002Fwww.rfc-editor.org\u002Frfc\u002Frfc6648",[1239],[1241,1294,1295,1296,1299],{},"RFC 6648: Deprecating the ",[685,1297,1298],{},"X-"," Prefix and Similar Constructs in Application Protocols",". Internet Engineering Task Force, June 2012. ",[696,1302,1259],{"href":1303,"ariaLabel":1304,"className":1305,"dataFootnoteBackref":718},"#user-content-fnref-3","Back to reference 3",[1258],[951,1307,1309,1310,1317,1318,1260,1323],{"id":1308},"user-content-fn-4","Python Software Foundation. ",[696,1311,1314],{"href":1312,"rel":1313},"https:\u002F\u002Fdocs.python.org\u002F3\u002Fusing\u002Fcmdline.html",[1239],[1241,1315,1316],{},"The Python Command Line and Environment",". ",[696,1319,1259],{"href":1320,"ariaLabel":1321,"className":1322,"dataFootnoteBackref":718},"#user-content-fnref-4","Back to reference 4",[1258],[696,1324,1259,1328],{"href":1325,"ariaLabel":1326,"className":1327,"dataFootnoteBackref":718},"#user-content-fnref-4-2","Back to reference 4-2",[1258],[711,1329,731],{},[951,1331,1309,1333,1317,1340],{"id":1332},"user-content-fn-5",[696,1334,1337],{"href":1335,"rel":1336},"https:\u002F\u002Fdocs.python.org\u002F3\u002Freference\u002Flexical_analysis.html#encoding-declarations",[1239],[1241,1338,1339],{},"Lexical Analysis: Encoding Declarations",[696,1341,1259],{"href":1342,"ariaLabel":1343,"className":1344,"dataFootnoteBackref":718},"#user-content-fnref-5","Back to reference 5",[1258],[951,1346,1309,1348,1317,1357,1260,1362],{"id":1347},"user-content-fn-6",[696,1349,1352],{"href":1350,"rel":1351},"https:\u002F\u002Fdocs.python.org\u002F3\u002Flibrary\u002Fpy_compile.html",[1239],[1241,1353,1354,1356],{},[685,1355,1184],{},": Compile Python Source Files",[696,1358,1259],{"href":1359,"ariaLabel":1360,"className":1361,"dataFootnoteBackref":718},"#user-content-fnref-6","Back to reference 6",[1258],[696,1363,1259,1367],{"href":1364,"ariaLabel":1365,"className":1366,"dataFootnoteBackref":718},"#user-content-fnref-6-2","Back to reference 6-2",[1258],[711,1368,731],{},[951,1370,1372,1373,1380,1381],{"id":1371},"user-content-fn-7","van Rossum, G. ",[696,1374,1377],{"href":1375,"rel":1376},"https:\u002F\u002Fwww.python.org\u002Fdoc\u002Fessays\u002Fforeword\u002F",[1239],[1241,1378,1379],{},"Foreword for Programming Python, First Edition",". Python.org, May 1996. ",[696,1382,1259],{"href":1383,"ariaLabel":1384,"className":1385,"dataFootnoteBackref":718},"#user-content-fnref-7","Back to reference 7",[1258],[951,1387,1389,1390,1317,1397],{"id":1388},"user-content-fn-8","Microsoft. ",[696,1391,1394],{"href":1392,"rel":1393},"https:\u002F\u002Fcode.visualstudio.com\u002Fdocs\u002Flanguages\u002Fpython",[1239],[1241,1395,1396],{},"Python in Visual Studio Code",[696,1398,1259],{"href":1399,"ariaLabel":1400,"className":1401,"dataFootnoteBackref":718},"#user-content-fnref-8","Back to reference 8",[1258],[951,1403,1405,1406,1317,1413],{"id":1404},"user-content-fn-9","JetBrains. ",[696,1407,1410],{"href":1408,"rel":1409},"https:\u002F\u002Fwww.jetbrains.com\u002Fhelp\u002Fpycharm\u002Fpython.html",[1239],[1241,1411,1412],{},"Python in PyCharm",[696,1414,1259],{"href":1415,"ariaLabel":1416,"className":1417,"dataFootnoteBackref":718},"#user-content-fnref-9","Back to reference 9",[1258],[1419,1420,1421],"style",{},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":718,"searchDepth":832,"depth":832,"links":1423},[1424,1426,1427,1429,1431,1432,1434,1435,1436],{"id":682,"depth":832,"text":1425},"What does text\u002Fx-python mean?",{"id":782,"depth":832,"text":783},{"id":882,"depth":832,"text":1428},"Where did text\u002Fx-python come from?",{"id":939,"depth":832,"text":1430},"How to open a .py file",{"id":1011,"depth":832,"text":1012},{"id":1031,"depth":832,"text":1433},"Is text\u002Fx-python the same as text\u002Fplain?",{"id":1152,"depth":832,"text":1153},{"id":1206,"depth":832,"text":1207},{"id":717,"depth":832,"text":1227},"Learn what `text\u002Fx-python` means, how `.py` files are identified and opened, and how Poly supports Python source code.","md",null,{},{"name":687,"extensions":1442,"alternate-versions":1443,"invented-date":1444,"inventor-name":1445,"in-use":12,"browser-support":1446,"example-applications":1452,"poly-support":1455,"poly-indexed":1456,"poly-preview":1457,"poly-agent":1458},[701,708],[916,919],"1991","Guido van Rossum",[1447,1448,1449,1450,1451],"Chrome","Edge","Firefox","Opera","Safari",[1453,1454],"Visual Studio Code","PyCharm","Yes. Poly recognizes Python source by the `text\u002Fx-python` label and `.py` filename extension, and makes readable source available throughout the app.","Yes. Poly indexes readable Python source for exact and semantic search. It does not run the program or index runtime output.","Yes. Python source opens in Poly's code editor with syntax highlighting, word wrap, and in-file search.","Yes. The Poly agent can read and reason about Python source without executing it. Related modules, dependencies, and generated files need to be provided separately.","\u002Fmime-types\u002Ftext\u002Fx-python",{"title":1461,"description":1462},"text\u002Fx-python MIME Type: Python Source Files and Support","A practical guide to text\u002Fx-python, including .py files, registration status, source encodings, browser behavior, security, and Poly support.","mime-types\u002Ftext\u002Fx-python","2maECZIcaoVZrsxGRtsOe0-ZqSLbUgnS7_IvHkSkKJQ",[1439,1439],{"data":1467,"body":1468},{},{"type":1469,"children":1470},"root",[1471],{"type":1472,"tag":690,"props":1473,"children":1474},"element",{},[1475],{"type":1476,"value":675},"text",{"data":1478,"body":1479},{},{"type":1469,"children":1480},[1481],{"type":1472,"tag":690,"props":1482,"children":1483},{},[1484,1486,1491,1493,1498],{"type":1476,"value":1485},"Learn what ",{"type":1472,"tag":685,"props":1487,"children":1489},{"className":1488},[],[1490],{"type":1476,"value":687},{"type":1476,"value":1492}," means, how ",{"type":1472,"tag":685,"props":1494,"children":1496},{"className":1495},[],[1497],{"type":1476,"value":701},{"type":1476,"value":1499}," files are identified and opened, and how Poly supports Python source code.",1788325917402]