OK, glad we could help so far.
1. Keep asking questions until the answers start to become familiar.
2. Create small scripts to begin and test them until you find no further errors.
3. Follow other threads on this (and other) forums looking for concepts you can incorporate into your own programs.
4. Try to modularize or functionalize as much as possible so you can re-use code at a later time.