wiki:python

Version 1 (modified by Leon Kos, 13 years ago) (diff)

Prvi program

Python

Prvi program

  1. Odpremo IDLE (Python GUI) in odtipkamo naslednjo vrstico
    print "Hello, world!"
    
  2. Pred shranjevanjem v IDLE še nastavimo Options->Configure Idle->General->Sefault Source Encoding->UTF-8.
  3. Shranimo datoteko z ukazom File->Save->hello.py
  4. Poženemo skript z F5 ali Run->Run Module

Attachments (26)