CUDA tutorial

Hi, everyone, I am new to CUDA, and I followed the tutorial here:

But when i import some modules, it gives me the error, and I goolged, it seems that some of the modules have already been deprecated, so do you have some the newest page to follow the tutorial?
Any advice would be appreciated
Merci
Hao