Sir, seek() method mein aur bhi concepts hai 1. seek(offset, whence); whence se hamein file pointer ko reference de sakte hai from beginning, ending or current position 2. offset value can be both positive and negative; +ve to move forward and -ve to move backwards
I have a problem: I am using seek() method okay, but I want to go the head of the line not the file. How can I fix it? I try such that but didnt solve: seek(line.index(etc.))
I some problem with the txt file location in my project that as we know that ever machine has its own path (C:\user\....) so how we can change this automatically so that the program can run on any machine for example, if I have a dell machine and it store my file in (c:\dell\user\.....) And now supposed my friend have a hp machine and it store in (c:\hp\user\.....) So how can i automatically change the location without changing any thing manually in python please explain me how to do so...
File m string ka total length =15 hai = 13 character + 2 newline character. To file end k baad location 15 hona chahiye tha , 17 kyo hain ?? kyoki last index to 14 hai , usse next index hi last location hui cursor ki. that's 15 but it's showing 17.why ??
Very good... Actually, galti se kahi space insert ho gya hai shayad and space ko bhi as a one character consider kiya jata hai..Cursor at position 16 hona chahiye...17 de rha hai. Sorry for this...keep learning from our channel.. Share with friends also
Master in Python :- ruclips.net/p/PLI4OVrCFuY543naNBsCaRLrLSxI7MUOzZ
Very Good Explaination sir
Thanks and please do share
हर हर महादेव जय माँ भवानी जय श्रीराम जय माँ सीता जय हनुमानजी 🙏🙏🙏🙏🙏🙏🙏❤❤❤❤❤❤🚩🚩🚩🚩🚩🚩🚩🚩🚩🚩🚩🚩🚩🚩🚩🚩
Best explanation of All the time in my search.
Thanks Bro
Please do share
Sir, seek() method mein aur bhi concepts hai
1. seek(offset, whence); whence se hamein file pointer ko reference de sakte hai from beginning, ending or current position
2. offset value can be both positive and negative; +ve to move forward and -ve to move backwards
Covered in this video somewhere....ruclips.net/video/VkjEaaXIi_g/видео.html
Thank you so much ❤️
thank you sir...........
you are fantastic....
Thank you and please share with friends.. 😃
Also make video of Multi threading, forking threads, synchronizing threads, and so on😊
ruclips.net/p/PLI4OVrCFuY57b_16D8xs7-hmABHncVD_w&feature=shared
Thank you so much
tnx
Guys why do you all forget to like the video
& susbscribing channel too!
awesome expalnation
Keep going.. Checkout playlists on this channel..
@@Codeyug very easy + brief expalnation with best practical implemetation
Thx you so much sir
Amazing explaination sir❤🦋
Keep going..
intuitive explanatinon...
Superp explanation
Excellent 👌😊
I have a problem:
I am using seek() method okay, but I want to go the head of the line not the file. How can I fix it?
I try such that but didnt solve: seek(line.index(etc.))
nice question, i will create a short video on this in this week.
at 4:00, on running the same code, I got the output as 0 and 4 instead of 0 and 3. Could you please explain the difference?
I some problem with the txt file location in my project that as we know that ever machine has its own path (C:\user\....) so how we can change this automatically so that the program can run on any machine for example, if I have a dell machine and it store my file in (c:\dell\user\.....) And now supposed my friend have a hp machine and it store in (c:\hp\user\.....) So how can i automatically change the location without changing any thing manually in python please explain me how to do so...
use relative path...
File m string ka total length =15 hai = 13 character + 2 newline character.
To file end k baad location 15 hona chahiye tha , 17 kyo hain ??
kyoki last index to 14 hai , usse next index hi last location hui cursor ki. that's 15
but it's showing 17.why ??
Very good... Actually, galti se kahi space insert ho gya hai shayad and space ko bhi as a one character consider kiya jata hai..Cursor at position 16 hona chahiye...17 de rha hai. Sorry for this...keep learning from our channel.. Share with friends also
Google colab Mai seek() ka use code kya hota hai?
Please sir do me a reply