What is python? How to create a python program?
Python is an interpreted, object-oriented, high-level programming language with dynamic semantics. Its high-level built in data structures, combined with dynamic typing and dynamic binding, make it very attractive for Rapid Application Development, as well as for use as a scripting or glue language to connect existing components together. Python's simple, easy to learn syntax emphasizes readability and therefore reduces the cost of program maintenance. Python supports modules and packages, which encourages program modularity and code reuse. The Python interpreter and the extensive standard library are available in source or binary form without charge for all major platforms, and can be freely distributed. (Source: www.python.org)
From the description then we know python different with c/c++,pascal, and other programming language using IDE. After installing python you will just get the interpreter and an IDLE, you can start write program using that. Here the steps:
1. Open windows search and search for keyword "IDLE" you will get result IDLE(Python GUI) - just open it.
2. The window shuld be like this
you won't able to write the syntax because it is the shell. If you want to create a program you should create a new file, just go to File - New or press CTRL+N.
Now you will get a new window.
3. Start write a simple program
print "Hello world"
4. Run the program using F5 or tab Run. You need to save the file on .py formatting before running the program. After save sucess full, the shell will launch again to showing the result.
5. DONE. Just practice for other syntax to advance your skill
- A wiseman always write a comment #Mine *awkward quotes xD
Menu
Fanspage
Categories
Android
(7)
Anime
(1)
Design
(19)
Design tutorial
(10)
Design web
(3)
Downloader
(1)
Drawing
(1)
Editor
(13)
Fanart tutorial
(1)
Firmware
(1)
Game
(7)
Game Offline
(3)
Game Online
(6)
Internet
(14)
Iphone OS
(1)
Landscape
(1)
Linux
(3)
Media Player
(8)
Network
(1)
OS X
(1)
Other Game
(1)
Paint tool SAI
(10)
PC tutorial
(32)
Programming
(10)
Pygame
(2)
Python
(3)
Recorder
(1)
Science
(1)
Security
(2)
Social Media
(1)
Technology
(4)
Trick and Tips
(13)
Web
(3)
0 comments:
Post a Comment