+ 2
I'm experiencing difficulties in Python can someone help me out of the Sololearn with for example video classes ?
thanks for your awnser https://www.sololearn.com/discuss/449000/?ref=app
6 odpowiedzi
+ 1
files are simple
reading
Text =open("somefile.txt","r").read()
print(Text)
writing
writer =open("somefile.txt","w")
writer.write("abc")
you also do
file.close()
or open as
with open( .... ) as f):
z=f.read()
for exceptions
try:
...
catch:
pass
of course, you can catch the right exception
for functional programming maybe you don't understand lambda. just view it as a mini function
+ 1
what are you finding
difficult in that fun language?
which chapter?
+ 1
Exceptions and files and functional programming
+ 1
thanks for your help guy
+ 1
You helped me but a pity that I could not get help out of sololearn
+ 1
You helped me but a pity that I could not get help out of sololearn