The purpose of the ubiquitous "hello world" script is to confirm that your development environment is working properly.
- [Male Voice] The Hello World program…is a traditional first step in learning a new language,…but it's actually more than that.…Here in Komodo, I've opened a working copy of Hello.py…from chapter two of the exercise files.…The purpose of Hello World is to…validate your development environment.…Whenever you set up a new development environment,…it's a good idea to use a simple,…minimal, and functional program…to confirm that your development cycle…functions as you expect,…and that's what Hello World is for.…
So here we have that simple, minimal, functional…program in Python and it basically…has one line of code, this one here says print…and it's called the print function with Hello World string.…And when I run it, you see the output says Hello, World.…So that validates that our tool chain is functioning.…My interpreter is working and the…command output is working.…So if I were to change this,…let's say I add a new line of code,…print something entirely different.…
And I save that and run it.…Now we have two lines of output in…
- Python anatomy
- Types and values
- Conditionals and operators
- Building loops
- Defining functions
- Python data structures: lists, tuples, sets, and more
- Creating classes
- Handling exceptions
- Working with strings
- File input/output (I/O)
- Creating modules
- Integrating a database with Python db-api
Skill Level Intermediate
Python: Programming Efficientlywith Michele Vallisneri2h 15m Intermediate
2. Language Overview
3. Types and Values
8. Structured Data
11. String Objects
12. File I/O
13. Built-in Functions
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.