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

The name of the pictureThe name of the pictureThe name of the pictureClash 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!







share|improve this question















  • 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.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















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!







share|improve this question















  • 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.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













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!







share|improve this question











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!









share|improve this question










share|improve this question




share|improve this question









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 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













  • 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.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








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











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 :)






share|improve this answer




























    up vote
    1
    down vote













    1. A very simple to use editor is gedit



    2. 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 the umake install method




    3. If you need to use .ipynb (ipython notebook) - you might focus on The Jupyter Notebook



      jupyter 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

    enter image description here






    share|improve this answer






























      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/






      share|improve this answer





















        Your Answer







        StackExchange.ready(function()
        var channelOptions =
        tags: "".split(" "),
        id: "89"
        ;
        initTagRenderer("".split(" "), "".split(" "), channelOptions);

        StackExchange.using("externalEditor", function()
        // Have to fire editor after snippets, if snippets enabled
        if (StackExchange.settings.snippets.snippetsEnabled)
        StackExchange.using("snippets", function()
        createEditor();
        );

        else
        createEditor();

        );

        function createEditor()
        StackExchange.prepareEditor(
        heartbeatType: 'answer',
        convertImagesToLinks: true,
        noModals: false,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: 10,
        bindNavPrevention: true,
        postfix: "",
        onDemand: true,
        discardSelector: ".discard-answer"
        ,immediatelyShowMarkdownHelp:true
        );



        );








         

        draft saved


        draft discarded


















        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






























        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 :)






        share|improve this answer

























          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 :)






          share|improve this answer























            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 :)






            share|improve this answer













            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 :)







            share|improve this answer













            share|improve this answer



            share|improve this answer











            answered Jun 5 at 14:39









            Rinzwind

            195k25373504




            195k25373504






















                up vote
                1
                down vote













                1. A very simple to use editor is gedit



                2. 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 the umake install method




                3. If you need to use .ipynb (ipython notebook) - you might focus on The Jupyter Notebook



                  jupyter 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

                enter image description here






                share|improve this answer



























                  up vote
                  1
                  down vote













                  1. A very simple to use editor is gedit



                  2. 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 the umake install method




                  3. If you need to use .ipynb (ipython notebook) - you might focus on The Jupyter Notebook



                    jupyter 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

                  enter image description here






                  share|improve this answer

























                    up vote
                    1
                    down vote










                    up vote
                    1
                    down vote









                    1. A very simple to use editor is gedit



                    2. 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 the umake install method




                    3. If you need to use .ipynb (ipython notebook) - you might focus on The Jupyter Notebook



                      jupyter 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

                    enter image description here






                    share|improve this answer















                    1. A very simple to use editor is gedit



                    2. 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 the umake install method




                    3. If you need to use .ipynb (ipython notebook) - you might focus on The Jupyter Notebook



                      jupyter 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

                    enter image description here







                    share|improve this answer















                    share|improve this answer



                    share|improve this answer








                    edited Jun 5 at 14:52


























                    answered Jun 5 at 14:38









                    Yaron

                    8,40771838




                    8,40771838




















                        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/






                        share|improve this answer

























                          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/






                          share|improve this answer























                            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/






                            share|improve this answer













                            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/







                            share|improve this answer













                            share|improve this answer



                            share|improve this answer











                            answered Jun 5 at 15:01









                            Aditya Jangid

                            6915




                            6915






















                                 

                                draft saved


                                draft discarded


























                                 


                                draft saved


                                draft discarded














                                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













































































                                Popular posts from this blog

                                How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

                                Trouble downloading packages list due to a “Hash sum mismatch” error

                                How do I move numbers in filenames, in a batch renaming operation?