Excerpt |
---|
Screen is a widely used high-level, general-purpose, interpreted programming language . It is often used as the "glue" within the High Performance Computing community. |
For more information about Spark and PySpark, you can visit the following resources:
https://www.python
. |
https://en.wikipedia.org/wiki/Python_(programming_language)
Getting Started with Python
You can access and start using Python with the following steps:
...
Load the Python module with the following command:
Code Block |
---|
module load python |
Note that you can see a list of all available modules (potentially including different versions of Python) by typing:
Code Block |
---|
module avail |
You can specify a specific version of Python with the module load command or use the generic module name (python) to load the latest version.
...
Start a Python session by typing:
Code Block |
---|
python |
Code Block |
---|
print("Hello, World!") |
Python related:
How can I verify if a particular Python package is installed?
Add-on tools such as numpy and scipy are installed. Others would be under the install tree located at:
/opt/shared/python/
in the version specific site-packages directory. Another approach uses pip.
> module load python/2.7.6 > pip list |
---|
For a more detailed overview of Python Screen and how it relates to Big Data or can be used on the Tufts High Performance Computing (HPC) please contact tts-research@tufts.edu for for further information regarding future workshops.