ATOM-Editor: where are the files are stored in !?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Tarifa
    New Member
    • Mar 2020
    • 3

    ATOM-Editor: where are the files are stored in !?

    hello dear experts


    this is a question regarding the setup of a development-environment both on

    a MX-Linux Machine with Linux Version 19.1 and on a
    a Win10 Machine - where i set Python in a global mode (not with venv or anythion similar)



    the questioin is: with the fresh setup of ATOM - editor:
    how to set the paths - to Python
    how to set the paths where results of scripts were stored.


    to begin with the beginning:



    i am pretty new to ATOM: first steps to configure to work with Python on MX-Linux



    just have installed ATOM on the MX-Linux.

    the question is: how to set the paths - to Python.
    note: i allready have installed Python on my Mx-Machine.

    Which packages do you suggest me to use … to run ATOM with Python!?


    and i have just installed it on the Windows10 machine:

    i run code - and i do not know were the system stores the results ...


    this is the script:



    from bs4 import BeautifulSoup
    import urllib
    Code:
    url = urllib.urlopen('http://meinparlament.diepresse.com/')
    content = url.read()
    soup = BeautifulSoup(content, 'lxml')
    
    table = soup.findAll('div',attrs={"class":"content-question"})
    for x in table:
        print x.find('p').text
    
    # Another way to retrieve tables:
    # table = soup.select('div[class="content-question"]')
    see my screen ... how all is organized... - the question is: how can i arrange the whole ATOM so that i can see



    a, the script
    b. the command-line and
    c. the output!? .... which means - the output of the little bs4-script...

    Code:
    [Finished in 3.141s]
    see my screen ... how all is organized... - the question is: how can i arrange the whole ATOM so that i can see



    a. the script
    b. the command-line and
    c. the output!? .... which means - the output of the little bs4-script...where the system does store the files..!?




    I really wish atom could provide a reasonable directory when I try to save my work! Behavior like that provided by Word, gedit, notepad, Libreoffice, sublime, pretty much everything.
    Whatever I saved in last time is the new default.



    note : a similar idea was discussed here:
    https://discuss.atom.io/t/default-save-location/19111/8

    Code:
    When you save a file in a blank Atom window, the directory that file is in is automatically added as a project folder. When you save additional files, Atom will assume that they’re going to the same place. For how Atom thinks about projects, this is very reasonable (and since Atom is Atom, its behavior will differ from Word/Libre/Notepad which don’t have any opinions about projects). To circumvent this, just add a new project folder for each additional place you intend to save files for a given Atom window. Once you have a project
     folder added for a particular directory, you can simply right-click on anywhere in the tree view and select New File to create a file in that specific folder and not have to deal with the Save As dialog at all.

    note: i allreay have chretate a projectfolder ö with sub folder - but afaik i do not have luck with my idea to find out where the data can be found - in
    which folder!?
Working...