Installing Scripts

After installing Narda Script Launcher, you should run it at least once to automatically create the required script folder structure.

  • “D:\Narda_SignalShark\Scripting\userscripts”

UserScript Folder

The folder userscripts is the base folder for scripts.

Script

A script for SignalShark is a Python file based on the “UserScript” template that can be executed by the Narda Script Launcher. It has the file extension “.py”.

Such a file is called a module in Python.

To write own scripts see Scripting Tutorial in the next section.

Packages:

You can create additional subfolders to organize the scripts.

Such a subfolder is called a package in Python.

Note

There must be an empty file named __init__.py in each subfolder so that Narda Script Launcher can recognize the scripts it contains.

Module and Package Names

For the naming of modules and packages, special rules (naming conventions) must be observed.

  • Modules should have short, all-lowercase names.

  • Underscores can be used in the module name if it improves readability.

  • Packages should also have short, all-lowercase names, although the use of underscores is discouraged.