Creating a New Project

This is an example of script to create a new project in Iota:

''' This scripts starts a new session and create a new project called Backhoe optimization'''

import sys                              
import os
import iota
sys.path.append(os.getenv('IOTA_PATH'))                                         # Add iota directory to Python paths

username = 'stephen'                                                            # Set Iota username
home_path = 'C:/Users/stephen/'                                                 # Set user's home directory

my_session = iota.session(username,home_path + 'ParticleAnalytics/config.ini')  # Start new session

my_new_project = my_session.create_project('Backhoe optimization')              # Create new project

Last updated

Was this helpful?