You can manage and send your ussd code with ussdpad .its simple and easy to use gui program written by use python and qt4 - Shashika Layan
* Install Method (ArchLinux)
It's Available on Arch User Repository (AUR) so you can install it use yaourt
$ yaourt -S ussdpad
A msn messenger gateway for mobile using emails and web server.
It can be use with imode and gprs phone.
The goal of this project is to use a minimum of bandwidth.
It massively use Twisted matrix framework (you will need to install twisted matrix).