- Hands-On Data Science and Python Machine Learning
- Frank Kane
- 176字
- 2021-07-15 17:15:04
More options than just the IPython/Jupyter Notebook
I want to make sure that you know there's more than one way to run Python code. Now, throughout this book, we'll be using the IPython/Jupyter Notebook format but in the real world, you're not going to be running your code as a notebook. You're going to be running it as a standalone Python script. So I just want to make sure you know how to do that and see how it works.

So let's go back to this first example that we ran in the book, just to illustrate the importance of whitespace. We can just select and copy that code out of the notebook format and paste it into a new file.
This can be done by clicking on the New button at the extreme left. So let's make a new file and paste it in and let's save this file and call it, test.py, where py is the usual extension that we give to Python scripts. Now, I can run this in a few different ways.
- Mastering Concurrency Programming with Java 8
- 編程的修煉
- Learning Spring 5.0
- Big Data Analytics
- INSTANT Django 1.5 Application Development Starter
- Python Data Analysis Cookbook
- C語言程序設計教程
- 匯編語言編程基礎:基于LoongArch
- ASP.NET程序開發范例寶典
- 大學計算機基礎
- UI動效設計從入門到精通
- 城市信息模型平臺頂層設計與實踐
- Learning Gerrit Code Review
- 編程風格:程序設計與系統構建的藝術(原書第2版)
- Raspberry Pi By Example