<filename>pysces/kraken/controllers/kill_tentacles.py
import os
import scipy

try:
    input = raw_input  # Py2 compatibility
except NameError:
    pass

from Kraken import time, KrakenController, getBasicController, BLOCK_SIZE

blob = getBasicController()

kin = input('\nKill all idle tentacles? (y/n):\n')
if kin in ['y', 'yes']:
    blob.killTentacles()

<filename>pysces/kraken/controllers/kill_tentacles.py
import os
import scipy

try:
    input = raw_input  # Py2 compatibility
except NameError:
    pass

from Kraken import time, KrakenController, getBasicController, BLOCK_SIZE

blob = getBasicController()

kin = input('\nKill all idle tentacles? (y/n):\n')
if kin in ['y', 'yes']:
    blob.killTentacles()

# Py2 compatibility