python study script