Skip to content

Writing a JSON Fragment using the Microsoft Store Python does not work as Python can't write to AppData #939

@phil-blain

Description

@phil-blain

Type of issue

Missing information

Feedback

Hi,

in trying to create a Windows Terminal JSON Fragment (using a Python script to create SSH profiles: https://gist.github.com/phil-blain/2e5a294b79ec26a1729aedab010a9369), I found out that the Microsoft Store version of Python can't be used for this purpose, as it can't write to a path under $env:localappdata (cf python/cpython#122057).

Since Python is used in the examples in the doc page about JSON Fragment Extensions (https://learn.microsoft.com/en-us/windows/terminal/json-fragment-extensions), I think it might be nice to add a warning about this limitation of the Store Python.

Page URL

https://learn.microsoft.com/en-us/windows/terminal/json-fragment-extensions

Content source URL

https://github.com/MicrosoftDocs/terminal/blob/main/TerminalDocs/json-fragment-extensions.md

Author

@mattwojo

Document Id

341f8755-2701-601f-5b91-98527354b3e8

Platform Id

79ad6d4e-3ee6-26b1-f415-7d251b7927f9

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions