+ 3

Can any one teach me exception &File in python from basic

Pls help me guys I also want to become a good coder like all. If I know the answer of your questions then I will also help you so please support me.. Guys. I know only little about exception and file that is it used to creat error but questions is that why we creat error everyone wants that his/her code will run with no error so pls.. Tech me.. Guys. Regrads Rohit🙏 Thank you Sololearn team..

28th Jun 2020, 3:11 PM
Rohit Kumar
Rohit Kumar - avatar
14 Antworten
+ 5
Slick Thank you too much bro for explaining in such a great way.. Again thank you with love.
28th Jun 2020, 3:45 PM
Rohit Kumar
Rohit Kumar - avatar
+ 4
Lothar thank you also bro
28th Jun 2020, 3:48 PM
Rohit Kumar
Rohit Kumar - avatar
+ 4
𝐊𝐢𝐢𝐛𝐨 𝐆𝐡𝐚𝐲𝐚𝐥 I am learning just I don't understand in app language that's why I put question🙋
28th Jun 2020, 4:18 PM
Rohit Kumar
Rohit Kumar - avatar
+ 3
Sometimes you can create an error when the user inputs the wrong kind of data. Like if you ask for a name, you can raise an exception if the user enters any numbers.
28th Jun 2020, 3:23 PM
Slick
Slick - avatar
+ 3
run this twice enter a name the first time, then enter a name with a number the second time https://code.sololearn.com/cwkDZ5HknPnj/?ref=app
28th Jun 2020, 3:33 PM
Slick
Slick - avatar
+ 3
Look in the tutorial. There is a detailed ecplabation from the scratch. If you THEN have a SPECIFIC question you can ask again here in the forum....
28th Jun 2020, 3:34 PM
Alexander Thiem
Alexander Thiem - avatar
+ 3
Alexander Thiem bro i already read but i can't understand from there but now I understand but only few doubts are left I am trying to solve all
28th Jun 2020, 3:44 PM
Rohit Kumar
Rohit Kumar - avatar
+ 2
How I can use this
28th Jun 2020, 3:31 PM
Rohit Kumar
Rohit Kumar - avatar
+ 2
Rahul shukla This is not question related isnt it?
28th Jun 2020, 7:06 PM
Alexander Thiem
Alexander Thiem - avatar
28th Jun 2020, 6:52 PM
Rahul shukla
Rahul shukla - avatar
+ 1
Use youtube or w3s school or tutorialspoint... these are best sources to learn file and exception handling
29th Jun 2020, 4:04 AM
Daniyal
Daniyal - avatar