cmc-csci040 icon indicating copy to clipboard operation
cmc-csci040 copied to clipboard

Interactive Python Command

Open charlottegjordan opened this issue 9 months ago • 1 comments

What's the syntax for opening interactive python in files that are inside other folders?

charlottegjordan avatar Mar 04 '25 01:03 charlottegjordan

The syntax is always

$ python3 -i path/to/file

The part you are probably struggling with is figuring out what the correct value should be for path/to/file. There are many options, but you can always use the absolute path (which you get by right clicking and selecting copy path).

mikeizbicki avatar Mar 04 '25 04:03 mikeizbicki