Getting Started with Python

amitmund June 02, 2026

Lets Start

  • Ask each student all the different language (1 each)

  • Explain about the language type

  • VSCode Installation (While downloading, ask about type of processor arch and OS )

  • Browser user agent (vscode knowing from which OS the request is coming from )

  • Installation on python (About different version about the python )

  • Creating A directory

  • Guiding file naming convention, for easy learning. Example (001_helloworld.py, 002_comment.py)

  • A "Hello World" program.


001_helloworld.py

print("Hello World")

Few more example

print("Hello, δΈ–η•Œ")
print("Emoji: 😊")
print("\u03C0")   # Greek letter pi: Ο€
print("\U0001F600") # Smiling face emoji: πŸ˜€
print('\u0B05')

Unicode example:


  • https://symbl.cc/en/unicode-table/#oriya

  • https://www.unicode.org/charts/


Few possible mistakes from beginner

print(hello world)

output:

  File "/tmp/ipykernel_489/2497053111.py", line 1
    print(hello world)
          ^
SyntaxError: invalid syntax. Perhaps you forgot a comma?


Print("Hello World")

output:

NameError                                 Traceback (most recent call last)
/tmp/ipykernel_489/320528285.py in <cell line: 0>()
----> 1 Print("Hello World")

NameError: name 'Print' is not defined

print"(hello world")

output:

  File "/tmp/ipykernel_7926/218280264.py", line 1
    print"(hello world")
                       ^
SyntaxError: unmatched ')'

print("hello world')

output:

  File "/tmp/ipykernel_7926/842549119.py", line 1
    print("hello world')
          ^
SyntaxError: unterminated string literal (detected at line 1)

0 Likes
10 Views

Filters

No filters available for this view.

Reset All