码迷,mamicode.com
首页 > 编程语言 > 详细

cygwin使用Windows下的python

时间:2018-11-25 20:02:09      阅读:774      评论:0      收藏:0      [点我收藏+]

标签:-o   love   class   bash   http   stat   cond   test   htm   

在cygwin下使用python:

安装cygwin,找到.bash_profile (在用户目录下 比如 C:\Cygwin\home\username\)

alias python="C:\ProgramData\Anaconda3/python.exe"
export python

运行时,

python C:/Users/Administrator/Desktop/1.py

 

参考1

安装GCC

安装git

cygwin使用Windows下的python

标签:-o   love   class   bash   http   stat   cond   test   htm   

原文地址:https://www.cnblogs.com/andy-0212/p/10016150.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!