| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -257,9 +257,9 @@ executes a | |||
| 257 | 257 | from that file; | |
| 258 | 258 | when called with | |
| 259 | 259 | .B \-c | |
| 260 | - .I command, | ||
| 260 | + .IR command , | ||
| 261 | 261 | it executes the Python statement(s) given as | |
| 262 | - .I command. | ||
| 262 | + .IR command . | ||
| 263 | 263 | Here | |
| 264 | 264 | .I command | |
| 265 | 265 | may contain multiple statements separated by newlines. | |
@@ -269,7 +269,7 @@ executed. | |||
| 269 | 269 | .PP | |
| 270 | 270 | If available, the script name and additional arguments thereafter are | |
| 271 | 271 | passed to the script in the Python variable | |
| 272 | - .I sys.argv , | ||
| 272 | + .IR sys.argv , | ||
| 273 | 273 | which is a list of strings (you must first | |
| 274 | 274 | .I import sys | |
| 275 | 275 | to be able to access it). | |
@@ -283,14 +283,14 @@ contains the string | |||
| 283 | 283 | .I '-c'. | |
| 284 | 284 | Note that options interpreted by the Python interpreter itself | |
| 285 | 285 | are not placed in | |
| 286 | - .I sys.argv. | ||
| 286 | + .IR sys.argv . | ||
| 287 | 287 | .PP | |
| 288 | 288 | In interactive mode, the primary prompt is `>>>'; the second prompt | |
| 289 | 289 | (which appears when a command is not complete) is `...'. | |
| 290 | 290 | The prompts can be changed by assignment to | |
| 291 | 291 | .I sys.ps1 | |
| 292 | 292 | or | |
| 293 | - .I sys.ps2. | ||
| 293 | + .IR sys.ps2 . | ||
| 294 | 294 | The interpreter quits when it reads an EOF at a prompt. | |
| 295 | 295 | When an unhandled exception occurs, a stack trace is printed and | |
| 296 | 296 | control returns to the primary prompt; in non-interactive mode, the | |
@@ -346,7 +346,7 @@ If a script argument is given, the directory containing the script is | |||
| 346 | 346 | inserted in the path in front of $PYTHONPATH. | |
| 347 | 347 | The search path can be manipulated from within a Python program as the | |
| 348 | 348 | variable | |
| 349 | - .I sys.path . | ||
| 349 | + .IR sys.path . | ||
| 350 | 350 | .IP PYTHONSTARTUP | |
| 351 | 351 | If this is the name of a readable file, the Python commands in that | |
| 352 | 352 | file are executed before the first prompt is displayed in interactive | |
| Back | FazBrowse Home | New Git URL |
0 commit comments