Recently, Python programming language is used in drilling and geoscience engineering, taught in many universities worldwide, and used in the energy sector for digitalization and automation purposes (machine learning and artificial intelligence). In this book basic to advanced concepts in writing Python codes and using different methods of artificial intelligence and machine learning have been discussed, and an attempt has been made to teach additional packages. We will discuss this language in advanced geoscience and drilling engineering topics such as Pandas, NumPy, matplotlib, Scikit-Learn, and Seaborn. In this book, various case studies and exercises of drilling and geoscience engineering have been used for better understanding. This book can improve the ability to analyze, provide solutions, and solve problems while improving the coding skills in drilling and geoscience engineering. The end goal here will be performing the operation remotely from the onshore and making the operational sequences automatic. This will reduce the operational time, reducing the cost and CO2 footprint in the environment.