හන්තාන 17 තුලදී python 3 වැඩ කරන්නේ කෙසේද?

12 views
Skip to first unread message

Lakshman Thilakarathna

unread,
May 25, 2013, 2:13:49 AM5/25/13
to Hanthana Community
හන්තාන 17 දී terminal එකේ python ලෙස ලබාදුන් විට ක්‍රියාත්මක වන්නේ python 2.7 යි. නමුත් පරිගණකය තුල python 3 ස්ථාපනය වි ඇත. එය add/remove program තුලට ගිය විට පෙන්වයි. python 3 සදහා  පිවිසෙන්නේ කෙසේද?

--
ලක්ෂ්මන් තිලකරත්න


Danishka Navin

unread,
May 25, 2013, 2:20:42 AM5/25/13
to Hanthana Community
HanthanaDocs වල ඇති

python3 විධානය දෙන්න


2013/5/25 Lakshman Thilakarathna <laxdhee...@gmail.com>
හන්තාන 17 දී terminal එකේ python ලෙස ලබාදුන් විට ක්‍රියාත්මක වන්නේ python 2.7 යි. නමුත් පරිගණකය තුල python 3 ස්ථාපනය වි ඇත. එය add/remove program තුලට ගිය විට පෙන්වයි. python 3 සදහා  පිවිසෙන්නේ කෙසේද?

--
ලක්ෂ්මන් තිලකරත්න


--
--
-----------------------------------------------------------------------------------------------------------------------
 
You received this message because you are subscribed Hanthana User Group.
To post to this group, send email to hanthana-...@googlegroups.com
To unsubscribe from this group, send email to
hanthana-commun...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/hanthana-community?hl=en
 
ඔබට මෙම ලිපිය ලැබෙන්නේ ඔබ හන්තාන පරිශීලක සමූහයට එක්වි ඇති නිසයි.
මෙම සමූහයට ලිපියක් යැවීමට hanthana-...@googlegroups.com ඊමේල් ලිපිනය භාවිත කරන්න.
මෙම සමූහයෙන් ඉවත් වීමට hanthana-commun...@googlegroups.com වෙත ලියන්න.
 
 
~ Feel The Freedom ~
Web Site: http://www.hanthana.org
Blog : http://blog.hanthana.org
Identi.ca : http://identi.ca/hanthana
Twitter : http://twitter.com/hanthana
 
---
You received this message because you are subscribed to the Google Groups "Hanthana Linux User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hanthana-commun...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Danishka Navin
http://danishkanavin.blogspot.com
http://twitter.com/danishkanavin
http://www.flickr.com/photos/danishkanavin/



Danishka Navin

unread,
May 25, 2013, 2:21:34 AM5/25/13
to Hanthana Community
python කියල ටර්මිනල් එකෙ ගහල ටැබ් එක දෙවරක් ඔබන්න එතකොට පෙන්වයි python3.2 පවා තිබෙන බව


2013/5/25 Danishka Navin <dani...@gmail.com>

The_Ace

unread,
May 25, 2013, 2:34:35 AM5/25/13
to hanthana-...@googlegroups.com
terminal එකේ python3 කියලා ගැහුවොත් මොකද වෙන්නෙ‌?



2013/5/25 Lakshman Thilakarathna <laxdhee...@gmail.com>
හන්තාන 17 දී terminal එකේ python ලෙස ලබාදුන් විට ක්‍රියාත්මක වන්නේ python 2.7 යි. නමුත් පරිගණකය තුල python 3 ස්ථාපනය වි ඇත. එය add/remove program තුලට ගිය විට පෙන්වයි. python 3 සදහා  පිවිසෙන්නේ කෙසේද?

--
ලක්ෂ්මන් තිලකරත්න


--
--
-----------------------------------------------------------------------------------------------------------------------
 
You received this message because you are subscribed Hanthana User Group.
To post to this group, send email to hanthana-...@googlegroups.com
To unsubscribe from this group, send email to
hanthana-commun...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/hanthana-community?hl=en
 
ඔබට මෙම ලිපිය ලැබෙන්නේ ඔබ හන්තාන පරිශීලක සමූහයට එක්වි ඇති නිසයි.
මෙම සමූහයට ලිපියක් යැවීමට hanthana-...@googlegroups.com ඊමේල් ලිපිනය භාවිත කරන්න.
මෙම සමූහයෙන් ඉවත් වීමට hanthana-commun...@googlegroups.com වෙත ලියන්න.
 
 
~ Feel The Freedom ~
Web Site: http://www.hanthana.org
Blog : http://blog.hanthana.org
Identi.ca : http://identi.ca/hanthana
Twitter : http://twitter.com/hanthana
 
---
You received this message because you are subscribed to the Google Groups "Hanthana Linux User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hanthana-commun...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
The mysteries of the Universe are revealed when you break stuff.

Danishka Navin

unread,
May 25, 2013, 2:44:16 AM5/25/13
to Hanthana Community
python 2.7 සඳහා ලියු වැඩසටහනක් ක්‍රියාත්මක කරන්න

$python myprogram.py
 
python 3 සඳහා ලියු වැඩසටහනක් ක්‍රියාත්මක කරන්න

$python myprogram.py

python 3.2 සඳහා ලියු වැඩසටහනක් ක්‍රියාත්මක කරන්න

$python3.2 myprogram.py

python 3.3 සඳහා ලියු වැඩසටහනක් ක්‍රියාත්මක කරන්න

$python3.3 myprogram.py




---------------------------------------------------------------------------------------------------------------------------

[danishka@localhost ~]$ python3
Python 3.3.0 (default, Sep 29 2012, 22:07:38)
[GCC 4.7.2 20120921 (Red Hat 4.7.2-2)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
>>>
>>>
>>> exit()
[danishka@localhost ~]$
[danishka@localhost ~]$ python
Python 2.7.3 (default, Aug  9 2012, 17:23:57)
[GCC 4.7.1 20120720 (Red Hat 4.7.1-5)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
>>> exit()
[danishka@localhost ~]$
[danishka@localhost ~]$ python3.3
Python 3.3.0 (default, Sep 29 2012, 22:07:38)
[GCC 4.7.2 20120921 (Red Hat 4.7.2-2)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
>>> exit()



2013/5/25 The_Ace <mihira...@gmail.com>



--

Lakshman Thilakarathna

unread,
May 31, 2013, 2:08:38 AM5/31/13
to hanthana-...@googlegroups.com
ස්තුතියි Danishka, The_Ace  ඔබ දෙදෙනාටම.
Reply all
Reply to author
Forward
0 new messages