Subscribe For Free Updates!

We'll not spam mate! We promise.

Tuesday, February 19, 2013

Python ( Py Script ) Installer 2.73


http://t2.gstatic.com/images?q=tbn:ANd9GcQ6u7wRlKeyimDqxV5ZcvVftcQ5DQecD3OSergaQbjL_IzY8bWurA

ညီကိုေမာင္ႏွမမ်ားအားလုံးမဂၤလာပါ.. Script ေတြတည္းမွာ ကြ်န္ေတာ္
အၾကိဳက္ဆုံးျဖစ္တဲ့ perl (pl) , Python(py) ေတြဘဲျဖစ္ပါတယ္.. အခုပာာေလးကေတာ့ Py ေတြကိုသုံးဖုိ ့အတြက္ Python Installer ေလး ကိုေဒါင္းျပီး Install လုပ္ေပးဖုိ ့လုိ္ပါတယ္။ ဒါမွသာ Python Script ေတြကို run နုိင္မွာ ျဖစ္ပါတယ္။ Installer ကိုေတာ့ေအာက္ဆုံးမွာေဒါင္းလုိက္ပါ။ install လုပ္ျပီးရင္ေတာ့ python.exe ေလးပါပါတယ္..အဲ့ကေန သုံးလု ိ့ရပါတယ္။ ကြ်န္ေတာ္ကေတာ့ Command (cmd) ကေန ဘဲသုံးေလ့ရွိပါတယ္..
ခုေျပာမွာကေတာ့ Python (py) ေတြကို cmd ကေန သုံးလုိ ့၇ေအာင္လုပ္နည္းေလးပါဘဲ။ အရင္ဆုံး Download ရယူျပီး ပုံမွန္အတုိင္း Install လုပ္လုိက္ပါ။ ျပီးရင္ေတာ့ Control Pannel တည္းကိုသြားလုိက္ပါ။ အဲ့တည္းကေနမွ system and security ဆုိတာေလးကိုေရႊးလုိက္ပါ။
ျပီးရင္ ေခါင္းစဥ္ခြဲေတြကိုသင္တုိ ့ျမင္ရပါမယ္။
အဲ့မွာမွ System ဆုိတာေလးတည္းကိုထပ္၀င္လုိက္ပါ။

View basic your computer information page ကုိေ၇ာက္သြားပါမယ္။ အဲ့ဒါရဲ ့ဘယ္ဘက္ေဘးနားမွာ၇ွိတဲ့
Advanced System settings ကိုကလစ္နုိပ္လုိက္ပါ ေဘာက္ေလးတစ္ခုက်လာပါမယ္။
အဲ့မွာမွ Environment Variables ဆုိတာေလးပါပါတယ္။ ကလစ္တစ္ခ်က္နုိပ္လုိက္ပါ။
User variables for (User) ဆုိတာေလးကိုျမင္ရပါမယ္..အဲ့ေအာက္က
system variables ဆိုတဲ့ ေဘာက္ေလးတည္းမွာ Path ဆုိတာေလးကိုေတြ ့ရပါမယ္.. ကလစ္ေထာက္ျပီး edit ကုိနုိပ္လုိက္ပါ။

system32\WindowsPowerShell\v1.0\

ဆုိျပီးျမင္ရပါမယ္.. အဲ့ ေနာက္မွာ 

;C:\Python27\   ဆုိတာေလးထပ္ထည့္လိုက္ပါ.. ေအာက္ကလုိ ျဖစ္သြားပါမယ္..

System32\WindowsPowerShell\v1.0\
;C:\Python27\

ဒါဆုိ အုိေကပါျပီ...

Perl Script အတြက္ Active Perl ကုိတင္ထားတဲ့ညီကိုေတြဆီမွာေတာ့...ေအာက္ကလိုသြားေပၚပါမယ္..
C:\Perl\site\bin;C:\Perl\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\
System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\
;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\

အဲ့ေနရာမွာ.. WindowsPowerShell\v1.0\ ကို၇ွာပါ။
ျပီးရင္အဲ့ၾကားတည္းမွာ  ;C:\Python27\ ေလးကုိကပ္ထည့္လုိက္ပါ..ေအာက္ကအတုိင္းျဖစ္သြားပါမယ္..

C:\Perl\site\bin;C:\Perl\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\
System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\
;C:\Python27\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\

ဒါဆုိ ေကအို  အုိေက ပါျပီ OK ကုိနုိပ္လုိက္ပါ အားလုံးျပီးပါျပီ...
cmd ကုိေခၚလုိက္ပါ...
python လုိ ့ထည့္လိုက္ပါ...

Python 2.7.3 (default, Apr 10 2012, ...........
Type "help", "copyright",.........

လုိ ့ေပၚလာရင္ရပါျပီခင္ဗ်ာ..
မေသခ်ာရင္ import this လုိ ့ ရိုက္ထည့္လုိက္ပါ..

The Zen of Python,by Tim Peters

လုိ ့က်လာရင္အုိေကပါျပီခင္ဗ်ာ.. ေနာက္ပိုင္း ကြ်န္ေတာ့ဆုိဒ္မွာ Python (py) Script ေတြကုိ သုံးျပီး ျပဳ ့လုပ္ရမယ့္နည္းေတြကုိ တင္ေပးမွာမို ့ ေဒါင္းထားေစခ်င္ပါတယ္...

Download : Mediafire  SolidFiles Ziddu  ShareBeast

Please Give Us Your 1 Minute In Sharing This Post!
SOCIALIZE IT →
FOLLOW US →
SHARE IT →
Powered By: BloggerYard.Com

0 comments:

Post a Comment