Jump to content

Files

From Slow Like Wiki
Revision as of 10:56, 21 April 2024 by Rob (talk | contribs) (Created page with "Note: VC Code does not, by default, run python files in the directory where they are saved. To change this behavior, click Code > Settings > Settings, search for "python.terminal.executeInFileDir", and enable it. == Read from a File == <syntaxhighlight lang="python" line> </syntaxhighlight> == Write to a File == <syntaxhighlight lang="python" line> </syntaxhighlight> <syntaxhighlight lang="python" line> </syntaxhighlight> <syntaxhighlight lang="python" line> </syn...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Note: VC Code does not, by default, run python files in the directory where they are saved. To change this behavior, click Code > Settings > Settings, search for "python.terminal.executeInFileDir", and enable it.

Read from a File


Write to a File