New to Linux - Installing and Using a Text Editor for Using Python and PyTorch

Clash Royale CLAN TAG#URR8PPP up vote
0
down vote
favorite
I'm new to using Linux (Ubuntu 16.04) and I've installed Vim to use as a text editor, in order to use python and pytorch.
However, I haven't been able to open anything resembling a text editor. I've opened Vim in the terminal but not in an way in which I can save or edit files. I'm familiar with Komodo for Windows 10 so I feel I would know it if I see it.
I haven't been able to find any online guide or instructions on how to actually go about using Vim, but I'm certainly open to using other editors.
In particular I need to make use of .ipynb and .py files.
Any advice on how to begin would be amazing, or being pointed to any available resources or guides!
Thanks in advance!
python text-editor
add a comment |Â
up vote
0
down vote
favorite
I'm new to using Linux (Ubuntu 16.04) and I've installed Vim to use as a text editor, in order to use python and pytorch.
However, I haven't been able to open anything resembling a text editor. I've opened Vim in the terminal but not in an way in which I can save or edit files. I'm familiar with Komodo for Windows 10 so I feel I would know it if I see it.
I haven't been able to find any online guide or instructions on how to actually go about using Vim, but I'm certainly open to using other editors.
In particular I need to make use of .ipynb and .py files.
Any advice on how to begin would be amazing, or being pointed to any available resources or guides!
Thanks in advance!
python text-editor
1
linfo.org/vi/index.html /That's the link of a good vi tutorial. Besides, you can use gedit as @Rinzwind said. Just open your terminal and type gedit.
â Codito ergo sum
Jun 5 at 14:39
komodo is available for Linux 64 bits; download it, unpack it, don't forget to add permission at executable main file withchmod +x komodo.shand run it with./komodo.shto install it (komodo.shis the name of the executable main file)
â damadam
Jun 5 at 14:57
Atom is good as general GUI editor for any programming language. Vim has steep learning curve, but once you get the basic down, it flows. If you insist on command line one, usenano- it's simple enough
â Sergiy Kolodyazhnyy
Jun 5 at 16:52
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm new to using Linux (Ubuntu 16.04) and I've installed Vim to use as a text editor, in order to use python and pytorch.
However, I haven't been able to open anything resembling a text editor. I've opened Vim in the terminal but not in an way in which I can save or edit files. I'm familiar with Komodo for Windows 10 so I feel I would know it if I see it.
I haven't been able to find any online guide or instructions on how to actually go about using Vim, but I'm certainly open to using other editors.
In particular I need to make use of .ipynb and .py files.
Any advice on how to begin would be amazing, or being pointed to any available resources or guides!
Thanks in advance!
python text-editor
I'm new to using Linux (Ubuntu 16.04) and I've installed Vim to use as a text editor, in order to use python and pytorch.
However, I haven't been able to open anything resembling a text editor. I've opened Vim in the terminal but not in an way in which I can save or edit files. I'm familiar with Komodo for Windows 10 so I feel I would know it if I see it.
I haven't been able to find any online guide or instructions on how to actually go about using Vim, but I'm certainly open to using other editors.
In particular I need to make use of .ipynb and .py files.
Any advice on how to begin would be amazing, or being pointed to any available resources or guides!
Thanks in advance!
python text-editor
asked Jun 5 at 14:32
IC Stokes
1
1
1
linfo.org/vi/index.html /That's the link of a good vi tutorial. Besides, you can use gedit as @Rinzwind said. Just open your terminal and type gedit.
â Codito ergo sum
Jun 5 at 14:39
komodo is available for Linux 64 bits; download it, unpack it, don't forget to add permission at executable main file withchmod +x komodo.shand run it with./komodo.shto install it (komodo.shis the name of the executable main file)
â damadam
Jun 5 at 14:57
Atom is good as general GUI editor for any programming language. Vim has steep learning curve, but once you get the basic down, it flows. If you insist on command line one, usenano- it's simple enough
â Sergiy Kolodyazhnyy
Jun 5 at 16:52
add a comment |Â
1
linfo.org/vi/index.html /That's the link of a good vi tutorial. Besides, you can use gedit as @Rinzwind said. Just open your terminal and type gedit.
â Codito ergo sum
Jun 5 at 14:39
komodo is available for Linux 64 bits; download it, unpack it, don't forget to add permission at executable main file withchmod +x komodo.shand run it with./komodo.shto install it (komodo.shis the name of the executable main file)
â damadam
Jun 5 at 14:57
Atom is good as general GUI editor for any programming language. Vim has steep learning curve, but once you get the basic down, it flows. If you insist on command line one, usenano- it's simple enough
â Sergiy Kolodyazhnyy
Jun 5 at 16:52
1
1
linfo.org/vi/index.html /That's the link of a good vi tutorial. Besides, you can use gedit as @Rinzwind said. Just open your terminal and type gedit.
â Codito ergo sum
Jun 5 at 14:39
linfo.org/vi/index.html /That's the link of a good vi tutorial. Besides, you can use gedit as @Rinzwind said. Just open your terminal and type gedit.
â Codito ergo sum
Jun 5 at 14:39
komodo is available for Linux 64 bits; download it, unpack it, don't forget to add permission at executable main file with
chmod +x komodo.sh and run it with ./komodo.sh to install it (komodo.sh is the name of the executable main file)â damadam
Jun 5 at 14:57
komodo is available for Linux 64 bits; download it, unpack it, don't forget to add permission at executable main file with
chmod +x komodo.sh and run it with ./komodo.sh to install it (komodo.sh is the name of the executable main file)â damadam
Jun 5 at 14:57
Atom is good as general GUI editor for any programming language. Vim has steep learning curve, but once you get the basic down, it flows. If you insist on command line one, use
nano - it's simple enoughâ Sergiy Kolodyazhnyy
Jun 5 at 16:52
Atom is good as general GUI editor for any programming language. Vim has steep learning curve, but once you get the basic down, it flows. If you insist on command line one, use
nano - it's simple enoughâ Sergiy Kolodyazhnyy
Jun 5 at 16:52
add a comment |Â
3 Answers
3
active
oldest
votes
up vote
1
down vote
gedit is the native text editor and it has tools dedicated to python, like python console
Or if you want a python specific editor try "anaconda". It is in the ubuntu software center :)
add a comment |Â
up vote
1
down vote
A very simple to use editor is gedit
If you want to use an IDE for python, you can use
pycharm.A link which describes How to install pycharm
Note: If you'd like to use it - I'd suggest using theumakeinstall methodIf you need to use
.ipynb(ipython notebook) - you might focus on The Jupyter Notebookjupyter install
Installing Jupyter using Anaconda
We strongly recommend installing Python and Jupyter using the Anaconda Distribution, which includes Python, the Jupyter Notebook, and other commonly used packages for scientific computing and data science.
See this Q&A regarding how to install Anaconda
After you installed Anaconda, run the following command from the command line:
jupyter notebook
Note: vi isn't editor for beginners (some references):
- (Stack Overflow: Helping One Million Developers Exit Vim)
- A (fake) book focus on Exiting Vim

add a comment |Â
up vote
0
down vote
Vim is a very powerful text editor having lots of features in it.
To can get a basic understanding of vim you can use vimtutor.
To run vimtutor open your terminal and type the command
vimtutor
You can also customize your vim editor as per your needs using a .vimrc file. You can use the below link to get a deep knowledge about vim.
http://learnvimscriptthehardway.stevelosh.com/
add a comment |Â
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
gedit is the native text editor and it has tools dedicated to python, like python console
Or if you want a python specific editor try "anaconda". It is in the ubuntu software center :)
add a comment |Â
up vote
1
down vote
gedit is the native text editor and it has tools dedicated to python, like python console
Or if you want a python specific editor try "anaconda". It is in the ubuntu software center :)
add a comment |Â
up vote
1
down vote
up vote
1
down vote
gedit is the native text editor and it has tools dedicated to python, like python console
Or if you want a python specific editor try "anaconda". It is in the ubuntu software center :)
gedit is the native text editor and it has tools dedicated to python, like python console
Or if you want a python specific editor try "anaconda". It is in the ubuntu software center :)
answered Jun 5 at 14:39
Rinzwind
195k25373504
195k25373504
add a comment |Â
add a comment |Â
up vote
1
down vote
A very simple to use editor is gedit
If you want to use an IDE for python, you can use
pycharm.A link which describes How to install pycharm
Note: If you'd like to use it - I'd suggest using theumakeinstall methodIf you need to use
.ipynb(ipython notebook) - you might focus on The Jupyter Notebookjupyter install
Installing Jupyter using Anaconda
We strongly recommend installing Python and Jupyter using the Anaconda Distribution, which includes Python, the Jupyter Notebook, and other commonly used packages for scientific computing and data science.
See this Q&A regarding how to install Anaconda
After you installed Anaconda, run the following command from the command line:
jupyter notebook
Note: vi isn't editor for beginners (some references):
- (Stack Overflow: Helping One Million Developers Exit Vim)
- A (fake) book focus on Exiting Vim

add a comment |Â
up vote
1
down vote
A very simple to use editor is gedit
If you want to use an IDE for python, you can use
pycharm.A link which describes How to install pycharm
Note: If you'd like to use it - I'd suggest using theumakeinstall methodIf you need to use
.ipynb(ipython notebook) - you might focus on The Jupyter Notebookjupyter install
Installing Jupyter using Anaconda
We strongly recommend installing Python and Jupyter using the Anaconda Distribution, which includes Python, the Jupyter Notebook, and other commonly used packages for scientific computing and data science.
See this Q&A regarding how to install Anaconda
After you installed Anaconda, run the following command from the command line:
jupyter notebook
Note: vi isn't editor for beginners (some references):
- (Stack Overflow: Helping One Million Developers Exit Vim)
- A (fake) book focus on Exiting Vim

add a comment |Â
up vote
1
down vote
up vote
1
down vote
A very simple to use editor is gedit
If you want to use an IDE for python, you can use
pycharm.A link which describes How to install pycharm
Note: If you'd like to use it - I'd suggest using theumakeinstall methodIf you need to use
.ipynb(ipython notebook) - you might focus on The Jupyter Notebookjupyter install
Installing Jupyter using Anaconda
We strongly recommend installing Python and Jupyter using the Anaconda Distribution, which includes Python, the Jupyter Notebook, and other commonly used packages for scientific computing and data science.
See this Q&A regarding how to install Anaconda
After you installed Anaconda, run the following command from the command line:
jupyter notebook
Note: vi isn't editor for beginners (some references):
- (Stack Overflow: Helping One Million Developers Exit Vim)
- A (fake) book focus on Exiting Vim

A very simple to use editor is gedit
If you want to use an IDE for python, you can use
pycharm.A link which describes How to install pycharm
Note: If you'd like to use it - I'd suggest using theumakeinstall methodIf you need to use
.ipynb(ipython notebook) - you might focus on The Jupyter Notebookjupyter install
Installing Jupyter using Anaconda
We strongly recommend installing Python and Jupyter using the Anaconda Distribution, which includes Python, the Jupyter Notebook, and other commonly used packages for scientific computing and data science.
See this Q&A regarding how to install Anaconda
After you installed Anaconda, run the following command from the command line:
jupyter notebook
Note: vi isn't editor for beginners (some references):
- (Stack Overflow: Helping One Million Developers Exit Vim)
- A (fake) book focus on Exiting Vim

edited Jun 5 at 14:52
answered Jun 5 at 14:38
Yaron
8,40771838
8,40771838
add a comment |Â
add a comment |Â
up vote
0
down vote
Vim is a very powerful text editor having lots of features in it.
To can get a basic understanding of vim you can use vimtutor.
To run vimtutor open your terminal and type the command
vimtutor
You can also customize your vim editor as per your needs using a .vimrc file. You can use the below link to get a deep knowledge about vim.
http://learnvimscriptthehardway.stevelosh.com/
add a comment |Â
up vote
0
down vote
Vim is a very powerful text editor having lots of features in it.
To can get a basic understanding of vim you can use vimtutor.
To run vimtutor open your terminal and type the command
vimtutor
You can also customize your vim editor as per your needs using a .vimrc file. You can use the below link to get a deep knowledge about vim.
http://learnvimscriptthehardway.stevelosh.com/
add a comment |Â
up vote
0
down vote
up vote
0
down vote
Vim is a very powerful text editor having lots of features in it.
To can get a basic understanding of vim you can use vimtutor.
To run vimtutor open your terminal and type the command
vimtutor
You can also customize your vim editor as per your needs using a .vimrc file. You can use the below link to get a deep knowledge about vim.
http://learnvimscriptthehardway.stevelosh.com/
Vim is a very powerful text editor having lots of features in it.
To can get a basic understanding of vim you can use vimtutor.
To run vimtutor open your terminal and type the command
vimtutor
You can also customize your vim editor as per your needs using a .vimrc file. You can use the below link to get a deep knowledge about vim.
http://learnvimscriptthehardway.stevelosh.com/
answered Jun 5 at 15:01
Aditya Jangid
6915
6915
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1043831%2fnew-to-linux-installing-and-using-a-text-editor-for-using-python-and-pytorch%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
linfo.org/vi/index.html /That's the link of a good vi tutorial. Besides, you can use gedit as @Rinzwind said. Just open your terminal and type gedit.
â Codito ergo sum
Jun 5 at 14:39
komodo is available for Linux 64 bits; download it, unpack it, don't forget to add permission at executable main file with
chmod +x komodo.shand run it with./komodo.shto install it (komodo.shis the name of the executable main file)â damadam
Jun 5 at 14:57
Atom is good as general GUI editor for any programming language. Vim has steep learning curve, but once you get the basic down, it flows. If you insist on command line one, use
nano- it's simple enoughâ Sergiy Kolodyazhnyy
Jun 5 at 16:52