I would suggest you to mess around with already done particles (like from testbed). Helps to understand it.
Also use
this script and create some particles with that, doesn´t matter how they look like. Than get the code and also mess around with that. Should help for the beginning
