4. Executing one script

Once you've got the scripts loaded you can start to execute scripts in cssed. As example we'll create the mandatory hello-world-like script and run it.

To create the script open a new document - Control + N - an write the following text.


		import cssed
	
		cssed.error_message("Hello from python", "Gee, it works !")
		

Once you've finished click the menu "Plugins" > "Python scripts" > "Run current document". It will be show n the cssed's error dialog with a funny message.