Modules & Functions

Python 3    |    Beginner
  • 5 Videos | 35m 22s
  • Includes Assessment
  • Earns a Badge
Likes 80 Likes 80
Python lets you reuse code in a program using modules and functions. Discover how to work with modules, functions, and scripts in a Python program.

WHAT YOU WILL LEARN

  • create and import a module at the Python REPL
    define a function in Python
    describe the difference in operation between Python scripts, programs and modules
  • run a module as a script using the __name__ == __main__ syntax in Python
    create a main function that takes command line arguments in Python

IN THIS COURSE

  • Playable
    1. 
    Importing a Module at the REPL
    6m 19s
    UP NEXT
  • Playable
    2. 
    Defining a Function
    10m 3s
  • Locked
    3. 
    Python Scripts, Modules, and Programs
    6m 41s
  • Locked
    4. 
    Running a Module as a Script
    6m 56s
  • Locked
    5. 
    Command Line Arguments
    5m 25s

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform

Digital badges are yours to keep, forever.

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Likes 29 Likes 29  
Likes 1176 Likes 1176