Please ignore secret bonuses. Secret tests do NOT award bonus. Max hw grade is 30+2 bonus efficiency
Q
?
A -
Informatica
search
Login
Remember
Register
New Activity
Questions
Unanswered
Tags
Categories
Users
Course
News
FAQs
Do you need help?
Ask a Question
Notice Board
Situazione finale voti HW
Eserciziario Python
WTF Python!
Exams
Test
Grades
Attachments
Esame 6-11-19
check
RECUPERO Homework 1
link
RECUPERO Homework 2
link
RECUPERO Homework 3
link
RECUPERO Homework 4
link
Esame 19-9-19
check
link
Esame 16-7-19
check
link
Esame 24-6-19
check
link
Esame 10-4-19
check
link
Esame 31-1-19
check
link
Esame 8-1-19
check
link
Homework 4
link
Homework 3
check
link
Homework 2
check
link
Homework 1
check
link
1.162
questions
1.988
answers
3.710
comments
591
users
Related questions
HW5 Forbidden to open File
How to better open a file and read it.
Errore HW6 " It's forbidden to open file 'image_filename' "
errore di apertura file
Problemi apertura file modalità A
Most popular tags
esercizio3
homework3
es3
homework
es2
hw3
homework1
es1
homework4
homework2
esercizio1
esercizio2
avvisi
hw4
peer-assessment
hw2bis
python
hw4bis
problema
hw3bis
prova-di-esame
homework-di-recupero
hw2
voti
esame
test
ricorsione
consegna
hw1bis
tempi
aiuto
homework2bis
errore
librerie
dizionari
risultati
liste
scadenze
attore
feedback
consigli
research
oggetti
metodi
esercizio
program_03
bonus
efficienza
ricalcolo-classifica
leggibilità
Categories
Announcements
(13)
Intro. to Programming and Lab AA22-23 (Latina)
(14)
Programming AY20-21
(123)
Programming AY21-22
(205)
Programming AY22-23
(296)
Programming AY23-24
(181)
Fondamenti di programmazione AA18-19
(1.2k)
Info sul corso e sugli esami
(278)
Homework
(650)
Programmare in python
(31)
Avvisi
(65)
Homework di recupero
(138)
Fondamenti di Programmazione AA19-20
(436)
Fondamenti di Programmazione AA20-21
(708)
Fondamenti di programmazione AA21-22
(366)
Fondamenti di programmazione AA22-23
(564)
Fondamenti di programmazione AA23-24
(346)
Other
(26)
Anni precedenti
(784)
Architetture degli elaboratori AA20-21
(3)
BUG BOUNTY / IMPROVEMENTS
(4)
dubbio 'open' apertura file
e
el_libregome
(870 points)
8
35
43
asked
Nov 27, 2018
in
Avvisi
by
el_libregome
(
870
points)
scusate, è importante specificare il coding per l'apertura del file nell'esercizio 1? se si, mi potreste dire come? grazie mille
429
views
9
answer
Please
log in
or
register
to answer this question.
4
Answers
g
gianluca
(1270 points)
1
12
19
answered
Nov 27, 2018
by
gianluca
(
1.3k
points)
'quando caricate il file assicuratevi che sia nella codifica UTF8 ' questo è scritto nel testo dell'esercizio quindi basta che controlli che sei in utf-8 :in basso a destra sotto la console di
spyder dovresti trovare con quale encoding stai lavorando.se sei in utf-8 sei apposto
3
comment
e
el_libregome
(870 points)
8
35
43
commented
Nov 27, 2018
by
el_libregome
(
870
points)
ah okay perfetto, ora mi funziona
grazie mille
Please
log in
or
register
to add a comment.
_andrea_
(45670 points)
11
42
297
answered
Nov 27, 2018
by
_andrea_
(
45.7k
points)
Non è necessario ma per sicurezza fallo. Basta che dentro le parentesi di open metti encoding="utf-8"
3
comment
andrea.sterbini
(207920 points)
750
1267
2373
commented
Nov 27, 2018
by
andrea.sterbini
(
208k
points)
E' necessario su Windows
Please
log in
or
register
to add a comment.
d
doviscarcelli
(920 points)
1
2
6
answered
Nov 27, 2018
by
doviscarcelli
(
920
points)
A me (che opero su windows) il primo esercizio non passa due test se non specifico l'encoding nella funzione open(), quindi è necessario inserirlo.
2
comment
Please
log in
or
register
to add a comment.
jef
(4930 points)
1
2
16
answered
Nov 27, 2018
by
jef
(
4.9k
points)
Io uso windows e passo tutti i test anche se non specifico la codifica quando apro i file.
1
comment
Please
log in
or
register
to add a comment.