
Introduction to programming
What are the basic concepts for programming scripts?
There are several reasons to learn and use scripts for your research:
Among the very long list of programming languages, Python is one of the most popular in the world, with strong peer support and helpful documentation. Python offers a wide range of libraries that can be used across various applications, including machine learning, statistics, data analysis, etc.
Python’s simple syntax, combined with its large set of libraries, help us do more with less efforts.
http://www.python.org
It is assumed that a version of Python is installed and configured. It is also assumed that the Python IDLE is ready-to-use. For more details about Python.
What are the basic concepts for programming scripts?
What are the basics of python programming?
Under construction... Other SPPAS packages will be documented asap.
The SPPAS API is available in the "sppas" directory of the SPPAS package. For any script that will use it, we've to tell python where to find it! It can be done with the following lines:
import os import sys # If there's a SPPAS environment variable SPPAS = os.getenv("SPPAS") if SPPAS is None: SPPAS = "path/to/your/SPPAS-package" sys.path.append(SPPAS) import sppas
An API to deal with the annotated data.
import sppas.src.anndata