<html><head></head><body><div class="ydp86ad6d9yahoo-style-wrap" style="font-family:times new roman, new york, times, serif;font-size:16px;">Grazie.</div><div class="ydp86ad6d9yahoo-style-wrap" style="font-family:times new roman, new york, times, serif;font-size:16px;" dir="ltr" data-setdir="false">Ho trovato nel frattempo queste istruzioni che funzionano bene :)</div><div class="ydp86ad6d9yahoo-style-wrap" style="font-family:times new roman, new york, times, serif;font-size:16px;" dir="ltr" data-setdir="false"><br></div><div class="ydp86ad6d9yahoo-style-wrap" style="font-family:times new roman, new york, times, serif;font-size:16px;" dir="ltr" data-setdir="false"><a href="https://www.geeksforgeeks.org/convert-json-to-dictionary-in-python/" rel="nofollow" target="_blank">https://www.geeksforgeeks.org/convert-json-to-dictionary-in-python/</a></div><div class="ydp86ad6d9yahoo-style-wrap" style="font-family:times new roman, new york, times, serif;font-size:16px;" dir="ltr" data-setdir="false"><br></div><div class="ydp86ad6d9yahoo-style-wrap" style="font-family:times new roman, new york, times, serif;font-size:16px;" dir="ltr" data-setdir="false">Ciao</div><div class="ydp86ad6d9yahoo-style-wrap" style="font-family:times new roman, new york, times, serif;font-size:16px;" dir="ltr" data-setdir="false"><br></div><div class="ydp86ad6d9yahoo-style-wrap" style="font-family:times new roman, new york, times, serif;font-size:16px;" dir="ltr" data-setdir="false"><br></div><div id="ydpb89cdb3dyahoo_quoted_5279142407" class="ydpb89cdb3dyahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    Il mercoledì 5 ottobre 2022 13:58:42 CEST, Andrea D'Amore <a@d-amo.re> ha scritto:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div dir="ltr">On Tue, 4 Oct 2022 at 14:43, Marco <<a shape="rect" href="mailto:m77it@yahoo.it" rel="nofollow" target="_blank">m77it@yahoo.it</a>> wrote:<div class="ydpb89cdb3dyqt2584190630" id="ydpb89cdb3dyqtfd99845"><br clear="none">>     import json<br clear="none">>     data = json.load(open("dati.json"))<br clear="none">><br clear="none">> ma mi da' un messaggio di errore dicendo che il file non esiste.<br clear="none">> Eppure nel Path Browser della Idle la cartella Documents, dove si trova il file, e' impostata</div><br clear="none"><br clear="none">Non ho idea di cosa sia "Path Browser" secondo IDLE, dai<br clear="none"><br clear="none">    import os<br clear="none">    print(os.getcwd())<br clear="none"><br clear="none">e vedi dove devi mettere il file da importare, oppure usa un percorso assoluto.<br clear="none"><br clear="none"><br clear="none">-- <br clear="none">A.<div class="ydpb89cdb3dyqt2584190630" id="ydpb89cdb3dyqtfd34581"><br clear="none"></div></div></div>
            </div>
        </div></body></html>