it's just a blog, and i have no idea what it is about... i just wanna share... hope you can get something from here...
Monday, July 18, 2011
Python - HelloMaster (program)
hello master, how are u? :D
then, i'm still learning python and i wanted to share it with you all.
the first program we are usually write is about helloworld program, and in this
case we are now have a file named helloMaster.py,
i just a little bit modify from usual helloworld program, because in python
it will be very easy to write hello world on screen(terminal, console)
we just type python to enter the python environment and then
>>> print 'hello world'
but in this case i make it more difficult, i'm going to show u how to use it first...
as usual we use python in front on our script name and then our scripname.py
but, the difference is , we are already use a parameter here. what is parameter?
use can search it on search engine just be independent.wkwkwk :D
as we can see the parameter here is dwi.juli.prabowo, the program should have
at least a parameter to work.
then i'll show you the code
and that's it, you can try ... sorry not explaining the code because it will be a very
long story if i tell it here ... so , if there is any question let me know...
thanks for the attention.... ^_^
Labels:
programming,
python
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment