根据指定的字符集生成随机密码。
指定字符集：[a-z, A-Z, 0-9, !@#$%^&*]，密码长度：10。
One possible solution is:

```
import random
import string

charset = string.ascii_letters + string.digits + '!@#$%^&*'
password = ''.join(random.choice(charset) for _ in range(10))
print(password)
```

This code imports the `random` and `string` modules and defines the specified character set as `charset`. It then uses a list comprehension to choose 10 random characters from `charset`, and joins them together into a string. Finally, it prints the resulting random password.