Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Stas Kaino
    @StasKaino_twitter
    I see about priniting. thanks you
    ale rimoldi
    @aoloe
    if you want to print each row, just store it in variable before adding to the full list.
    and print inbetween.
    Stas Kaino
    @StasKaino_twitter
    OK.
    ale rimoldi
    @aoloe
    the csv file is closed when the script is over.
    Stas Kaino
    @StasKaino_twitter
    unfortunately not in my case
    csv_output = csv.writer(open('xxx.csv', 'w', newline=''))
    csv_output.writerows(publications)
    when the script is over the file is open somewhere in the back
    and I cant deleted if I go to the folder where it is storing
    since it is "opened by Python"
    ale rimoldi
    @aoloe
    euh...
    Stas Kaino
    @StasKaino_twitter
    I thought of adding this: csv_output.close() but it is not an object with close functionality
    I guess I first need to somehow close and then add in the script that it closes it self
    ale rimoldi
    @aoloe
    the you should store the opened file in a variable before passing it to the csv module:
    Stas Kaino
    @StasKaino_twitter
    yeah i see the point
    Stas Kaino
    @StasKaino_twitter
    cleared that
    new thing

    ipdb> elem('a')
    [<a href="160211-0002.htm">Next Section</a>]

    this is from debugger. question is how can I call elem so that it gives me back only href contents (i.e.160211-0002.htm)?

    Stas Kaino
    @StasKaino_twitter
    do i need to sue again recursive equations?
    Stas Kaino
    @StasKaino_twitter
        if elem.text == "Next Section":         
            getUrl = elem('a').get['href']
    I am trying to extract the href from the elem but no luck so far
    ale rimoldi
    @aoloe
    no idea, but googling "beautifulsoup a href" (got through the autocomplete...) i got https://stackoverflow.com/questions/5815747/beautifulsoup-getting-href
    Stas Kaino
    @StasKaino_twitter
    dear Ale, I just replied with thanks. Todays email is the most important - I repeated it again just now. Much appreciated your comment. Thanks
    Stas Kaino
    @StasKaino_twitter
    Dear Ale. that question sorted.... thanks
    Stas Kaino
    @StasKaino_twitter
    Hello Ale, are you here? can I ask a question?
    ale rimoldi
    @aoloe
    @StasKaino_twitter i was not around, but you're welcome to join us tonight @ liip and ask questions : - )
    Stas Kaino
    @StasKaino_twitter
    ok
    thanks
    Stas Kaino
    @StasKaino_twitter
    Hello All
    Ale - I am back...
    I send you an email just now. Please look at it of possible. The question was how can you apply finite state machine approach to my problem. Thanks!
    Francesco Fiduccia
    @ciaala_gitlab
    At this URL there is an online editor to write-compile and debug c++ code. It might be a great pick for beginners: https://www.onlinegdb.com/
    ale rimoldi
    @aoloe
    @ciaala_gitlab and for the intermediates / almost experts there is https://cppinsights.io/
    : - )
    Gilbert Fran├žois
    @gilbertfrancois
    @aoloe I've found a solution for the Qt Designer on macOS to have all panels in one window. https://stackoverflow.com/questions/28007096/qtdesigner-5-4-dock-views-are-in-separate-windows-in-mac-how-to-make-them-in
    Francesco Fiduccia
    @ciaala_gitlab
    @aoloe
    @aoloe
    Ok the mobile web app is terribile
    ale rimoldi
    @aoloe
    @gilbertfrancois nice!
    on my side i've created two github repositories:
    ... and https://github.com/aoloe/mu-image is coming among nicely...
    ale rimoldi
    @aoloe
    @ciaala_gitlab do you have a link to the exercise you did on tuesday... i'd like to try it out...
    Francesco Fiduccia
    @ciaala_gitlab
    nBunjaku
    @nBunjaku

    Hello everybody. I got the order to support a python hosting server that supports MongoDB and is best found in Europe. I found something that is UNMANAGED VPS HOSTING.
    https://www.a2hosting.com/vps-hosting/unmanaged

    But they do not offer a (.ch) domain for Switzerland. So I do not know how to continue.

    It is needed for a business webpage. Thank you very much for your help

    ale rimoldi
    @aoloe
    hi @nBunjaku i guess that you should be able to set it up with any domain names provider... but i have no experience in setting up the dns records on the server side...
    nBunjaku
    @nBunjaku
    hi, thanks a lot for your answer :)