美文网首页
Python工具--Spyder(三)

Python工具--Spyder(三)

作者: 无剑_君 | 来源:发表于2020-02-27 11:29 被阅读0次

一、Spyder简介

    Spyder(Scientific PYthon Development EnviRonment)是一个强大的交互式 Python 语言开发环境,提供高级的代码编辑、交互测试、调试等特性,支持包括 Windows、Linux 和 OS X 系统。

二、基本设置

(一)模板设置

模板设置
# -*- coding: utf-8 -*-
"""
创建时间 %(date)s 

@作者: 侯建军
"""

(二)主题设置

主题设置

(三)配置Python路径

配置Python路径

(四)虚拟环境中使用

image.png
(tensorflow_env) C:\Users\Administrator>spyder
image.png

测试代码

import tensorflow as tf

hello = tf.constant("Hello World, TensorFlow!")
sess = tf.Session()
print(sess.run(hello))
tensorflow测试

相关文章

网友评论

      本文标题:Python工具--Spyder(三)

      本文链接:https://www.haomeiwen.com/subject/oyuyiqtx.html