New course!
Every coder should learn
Generative AI!
Try a free lesson
Courses
Courses
Code Compiler
Code Compiler
Discuss
Get Pro
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
Read only some lines of a file
file
files
line
open
python
read
write
0 Votes
1 Answer
6th Sep 2016, 6:57 PM
Hymn
Highlight searchresults and close button
close
css
details
highlight
html
javascript
open
search
summary
0 Votes
1 Answer
19th Mar 2021, 12:43 PM
Adrian Kydland Skaftun
try: with open(filename, mode) as fileobj: # do something with the open file object except IOError as exc: # handle the exception Is any 1 can explain this code what is the use of try except when we use with for closing file?
close
files
python
with
1 Vote
2 Answers
31st May 2017, 11:05 AM
Nithya Mk
guys i've got a problem in android studio evrytime when i try to create a avd it says null pointer exception null and even the stand alone sdk manager doesnt open due to this exception any solution would be greatly appreciated thanks..
java
1 Vote
2 Answers
22nd Jul 2016, 7:02 AM
Suhail Pappu
anyone help me pls, i do what the install step said but somehow when i open the cmd, and tap java ( also javac later ) but nothing happen, i thing i may go wrong with the environment step
java
jdk
0 Votes
2 Answers
3rd Jul 2016, 7:29 AM
Ridofu Katoh
how do I link a page named 'form.html' to my home page using <a> tag. I tried using <a href="form.html"> click here to fill form <\a> but when clicked the form page fails to open on the browser but a text editor opens instead. pls help
html
link
two-pages
0 Votes
3 Answers
6th Nov 2016, 11:25 AM
Nwaburu Emeka Christian
How can we be sure that C# as a programming platform have future because of lack for support for non Microsoft platforms
c#
microsoft
open
os
platform
programming
source
windows
wp
xamarin
0 Votes
1 Answer
31st Jul 2017, 2:46 PM
radebg
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
22
23
Next >
Hot today
Help me learn how to use .value in Javascript please!
1 Votes
How to get Kotlin certificate here
2 Votes
String
0 Votes
Array of Object to Object using reduce()
0 Votes
I don't understand why g1, g2 & g3 values is not aligned with Group 1, Group 2 and Group 3 which is the expected output..
0 Votes
The output is not matching the code.
0 Votes
Can't complete lessons on browser
3 Votes
How are you spost to do animashon
0 Votes
Help me please!!!
1 Votes
How do I do this?
0 Votes