Python is powerful... and fast; plays well with others; runs everywhere; is friendly & easy to learn; is Open.
I've been writing Python more often at work, but I feel that it's easier to read than Java because it can be implemented unexpectedly without any knowledge.
https://www.python.org/about/ On the above Python official homepage
Python is powerful, fast, works well elsewhere, can be run anywhere, is friendly, easy to learn, and open.
I think it's a self-proclaimed language for the time being, it's a simple and cool language. My knowledge of Python is vague and it's a good opportunity, so I'll try it for the first time in earnest.
Try installing Python 3.4.3 by referring to the link below. https://www.youtube.com/watch?v=aYUH08BM37g
Open Terminal with [Ctrl] + [alt] + [t].
Step1. Install the OpenSSL package
sudo apt-get install libssl-dev openssl
Step2. Move to the opt directory
cd /opt
Step3. Download the latest Python compressed file from the official Python homepage
sudo wget python.org/ftp/python/3.4.3/Python-3.4.3.tgz
Step4. Unzip
sudo tar -xzvf Python-3.4.3.tgz
Step5. Move to Python-3.4.3 directory
cd Python-3.4.3
Step6. Execute configure to create Makefile
./configure
Step7. Compile
make
Step8. Install
sudo make install
Step9. Create a hard link
sudo ln -fs /opt/Python-3.4.3/python /usr/bin/python
Done!
Step1. Create a trial python script.
sample.py
#!/usr/bin/env python
def main():
print("Nanka nemui")
if __name__ == '__main__':
main()
Step2. Run in Terminal
yuta@Aspire:~/Desktop$ python sample.py
Nanka nemui
Deta
-There are Python ver 2.x and ver 3.x, but what's the difference? It seems that the 2.x series has been a minor update, so I'm not sure.