更改Anaconda notebook默认目录

news/2024/7/4 22:33:50

不知为什么本人win10 64位电脑使用网上更改配置文件的方法改不成功,所以只好采用更改快捷方式属性的方法了orz

  1. 创建 jupyter notebook 新的路径,例如:创建新的文件夹 F:\code\Jupyter;
  2. 右键桌面快捷方式,选择属性;
    在这里插入图片描述
  3. 删掉 “目录” 里面的 %USERPROFILE%和起始位置中的%HOMEPATH%这是用户目录下的个人账户,应用→确定。
  4. 在删掉字母的位置填写上自己定义的新的目录,即实现了目录的更改。
    在这里插入图片描述

http://www.niftyadmin.cn/n/4714821.html

相关文章

Numpy矩阵基础

与操作 vectornumpy.array([5,10,15,20]) equal_to_ten_and_five(vector10)&(vector5) print(equal_to_ten_and_five)运行结果: 或操作 equal_to_ten_or_five(vector10)|(vector5) print(equal_to_ten_or_five)运行结果: 类型转换 vectornumpy.a…

编译和测试环境——VMware:简介和教程

因为开发过程是非常依赖开发环境的,比如我们使用的是Windows,如果要开发Unix的软件,往往要到Unix环境才行。至少要在该环境下测试一下,看看有没有问题。但是,通常我们只有一台或几台电脑,不可能每个环境都有…

Visual Studio 2010并行编程及调试诊断功能

Visual Studio2010 Beta 1发布后,开发人员从其新特性,新功能中得到了不少的帮助。这里将介绍Visual Studio 2010并行编程方面的改进,较Visual Studio 2008有了极大的提高。 每当出现新的编程模型时,开发人员便需要一个用来学习、…

微软Windows操作系统发展史

Windows发展史古人云:名满天下,谤亦随之。微软Windows操作系统获得巨大成功的同时,批判声总不绝于耳。下面,笔者将和大家一道回顾Windows的发展历程。MS-DOS 1.01981年8月,IBM公司推出了运行微软16位操作系统MS-DOS 1.…

Numpy矩阵的常用操作

开方 import numpy as np Bnp.arange(3) print(B) print(np.exp(B)) print(np.sqrt(B))运行结果: floor向下取整 anp.floor(10*np.random.random((3,4))) print(a) print(----) # 把矩阵变成向量 print(a.ravel()) print(----) a.shape(6,2) print(a) print(----)…

不同复制操作对比

复制 anp.arange(12) ba print(b is a) b.shape3,4 print(a.shape) print(id(a)) print(id(b))运行结果: 浅复制 ca.view() print(c is a) c.shape2,6 print(a.shape) c[0,4]1234 print(a) print(id(a)) print(id(c))运行结果: 深复制 da.copy() pri…

Pandas数据读取+索引计算

读csv文件 import pandas food_infopandas.read_csv(food_info.csv) print(type(food_info)) print(food_info.dtypes) print(help(pandas.read_csv))运行结果: 显示前5行 food_info.head()运行结果: food_info.head(3)运行结果: 显示后…

pandas数据预处理实例

排序,默认从小到大排 #By default, pandas will sort the data by the column we specify in ascending order and return a new DataFrame # Sorts the DataFrame in-place, rather than returning a new DataFrame. #print food_info["Sodium_(mg)"] fo…