DONAŢIE RECURENTĂ
Donează lunar pentru susţinerea proiectului NeculaiFantanaru.com
एक ही डोमेन में बाजार पर अन्य की तुलना में इस पुस्तक की आवश्यक विशेषता यह है कि यह उदाहरणों के माध्यम से एक नेता की आदर्श क्षमता का वर्णन करती है। मैंने कभी यह दावा नहीं किया कि एक अच्छा नेता बनना आसान है, लेकिन अगर लोग करेंगे तो...
मैंने यह पुस्तक लिखी है जो एक सरल तरीके से व्यक्तिगत विकास को नेतृत्व के साथ जोड़ती है, बिल्कुल एक पहेली की तरह, जहाँ आपको सामान्य छवि को फिर से बनाने के लिए दिए गए सभी टुकड़ों का मिलान करना होता है।
इस पुस्तक का उद्देश्य आपको ठोस उदाहरणों के माध्यम से जानकारी प्रदान करना है और आपको यह दिखाना है कि दूसरों को चीजों को आपके समान कोण से देखने की क्षमता कैसे प्राप्त करें।
आप यहां पूरा कोड देख सकते हैं:Https: // passin.com / 3pn ओरेकल एनसी import re def read_text_from_file(file_path): """ This function returns the contents of a file. """ with open(file_path, 'r') as f: text = f.read() return text def write_to_file(text, file_path): """ This function writes text to a file. text: the text you want to write """ with open(file_path, 'w') as f: f.write(text) def reverse_words(file_path): """ This function inverts all words in a file. """ text = read_text_from_file(file_path) words = set(re.findall(r'[A-Za-z0-9\-\']+', text)) for word in words: reversed_word = ''.join(reversed(word)) text = text.replace(word, reversed_word) # we write the modified text in the file !!! attention, the content is overwritten !!! write_to_file(text, file_path) if __name__ == '__main__': # the path of your file file_path = 'd:\Exercises\1' reverse_words(file_path) Other examples: https://superuser.com/questions/1684040/ https://community.notepad-plus-plus.org/topic/22054/ That's all folks. If you like my code, then make me a favor: translate your website into Romanian, "ro". इसके अलावा, एक हैसंस्करण 2इस कोड यासंस्करण 3यासंस्करण 4यासंस्करण 5यासंस्करण 6 Latest articles accessed by readers:
Donează prin Paypal
DONAŢIE RECURENTĂDonează lunar pentru susţinerea proiectului NeculaiFantanaru.com DONAŢIE SINGULARĂDonează suma dorită pentru susţinerea proiectului NeculaiFantanaru.com Donează prin Transfer BancarCont Lei: RO34INGB0000999900448439
Deschis la ING Bank
|
|||||||||||
![]() |
|||||||||||