how to install vscode with Python extension in ubuntu 16

本文详细介绍如何在Ubuntu系统中安装VSCode编辑器及其Python扩展。步骤包括从官网下载deb包并使用终端命令进行安装,启动VSCode后通过扩展菜单安装Python扩展。此外还介绍了如何创建简单的Python程序。
摘要由CSDN通过智能技术生成
VSCODE is a very nice editor with a style like Sublime,

following explain how to  install vscode and Python extension in Ubuntu 

1) install vscode

	1.1) download the deb from :
		
		https://code.visualstudio.com/docs/?dv=linux64_deb
		
		then you have code_1.17.2-1508162334_amd64.deb in folder ~/Downloads
		
	1.2) open terminal, run following command to install : 
		
		sudo dpkg -i code_1.17.2-1508162334_amd64.deb
		
2) lauch vscode, run command :  code

	
3) install python extension in vscode

	3.1) click menu "View"->"Extensions" or left-side toolbar "Extension", 
             type in "python" to filter the extension list,
		 
	3.2) choose  "Python" of author "Don Jayamanne", 
		 click the "install" button to install, 

	3.3) now you can create a simple python program by:
		3.3.1) create new file : "File"->"New File"
		3.3.2) type in your python code like :
				v1 = "hello world"
				print v1
		3.3.3) save it with file name like : sample.py
		3.3.4) editor may promote you install "pylint" if not existed yet
			   you just click "install" button
			   
 


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值