Version 5 (modified by 3 days ago) ( diff ) | ,
---|
HPC Workshop Fall 2025
Module 3 of 5 - How to run Python on Cypress
What is Python?
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 2 or 3
Python 3 was incompatible with Python 2.
Python2
The last version of Python 2, released in 2010, was Python 2.7. The support for this version ended on January 1, 2020.
# HELLO PYTHON import datetime import socket now = datetime.datetime.now() print 'Hello, world!' print now.isoformat() print socket.gethostname()
Python3
Python 3 was not just another version of Python 2 code. Python 3 came with a new syntax intended to prevent redundant or repetitive code.
# HELLO PYTHON import datetime import socket now = datetime.datetime.now() print('Hello, world!') print(now.isoformat()) print(socket.gethostname())
How to run Python on Cypress
Creating CONDA Virtual Environment and Installing Packages
Jupyter Notebook
Download Samples by:
git clone https://hidekiCCS:@bitbucket.org/hidekiCCS/hpc-workshop.git