Skip to content

Latest commit

 

History

History
31 lines (29 loc) · 500 Bytes

Run_Python_Script.md

File metadata and controls

31 lines (29 loc) · 500 Bytes

Run Python Script

  • open Anaconda Prompt
  • type
activate <nameOfEnvironment>
  • run the script by typing
python C:\Path\to\your\script\script.py 2 3
  • change directory to C:\Path\to\your\script\
  • type
python
  • type
import script
  • type
help(script)
  • type
help(script.myfunction)

Task

Create a python script that prints out information unsing format(), has at least 4 functions, uses at least 2 if-statements, 2 lists, and 3 loops