如何使用jupyter notebook与Github

jupyter notebook的使用

1. python的安装

2. jupyter notebook的安装

  • 键入win+R回车
  • 键入powershell回车
  • 键入pip install jupyter,回车
  • 键入jupyter notebook,回车

3. jupyter notebook的使用

  • 点new
  • 点python3
  • 点击Untitled页面
  • 敲下面代码
    print('hello world')
    print(100)
    print(123.7)
  • 点击执行图标或按CTRL+ENTER编译代码
  • 键入h,查看快捷键帮助
  • 点击help下面的markdown中的基本语法
  • 回到notebook,进入Markdown模式,输入一些基本语法例子

Github的使用

  • 注册一个github账户
  • 点击头像进入your profile
  • Create a new repository
  • 尝试操作
    • fork一个项目
    • 提请pull request
    • upload files

In [ ]: