RECURRENT DONATION
Donate monthly to support
the NeculaiFantanaru.com project
एक ही डोमेन में बाजार पर अन्य की तुलना में इस पुस्तक की आवश्यक विशेषता यह है कि यह उदाहरणों के माध्यम से एक नेता की आदर्श क्षमता का वर्णन करती है। मैंने कभी यह दावा नहीं किया कि एक अच्छा नेता बनना आसान है, लेकिन अगर लोग करेंगे तो...
मैंने यह पुस्तक लिखी है जो एक सरल तरीके से व्यक्तिगत विकास को नेतृत्व के साथ जोड़ती है, बिल्कुल एक पहेली की तरह, जहाँ आपको सामान्य छवि को फिर से बनाने के लिए दिए गए सभी टुकड़ों का मिलान करना होता है।
इस पुस्तक का उद्देश्य आपको ठोस उदाहरणों के माध्यम से जानकारी प्रदान करना है और आपको यह दिखाना है कि दूसरों को चीजों को आपके समान कोण से देखने की क्षमता कैसे प्राप्त करें।
आप यहां पूरा कोड देख सकते हैं:Https: // passatin.com / 4yl0ir ईपी इंस्टॉलपायथन। #------------------------------------------------------------------------------- # Name: Convert Doc and DocX to PDF # Purpose: # # Author: Fantanaru Neculai # # Created: 18/03/2022 # Copyright: (c) Fantanaru Neculai 2022 #------------------------------------------------------------------------------- # pip install pywin32 # pip install docx2txt import docx2txt from win32com import client import os files_from_folder = r"c:\\doc" directory = os.fsencode(files_from_folder) amount = 1 word = client.DispatchEx("Word.Application") word.Visible = True for file in os.listdir(directory): filename = os.fsdecode(file) print(filename) if filename.endswith('docx'): text = docx2txt.process(os.path.join(files_from_folder, filename)) print(f'{filename} transfered ({amount})') amount += 1 new_filename = filename.split('.')[0] + '.txt' try: with open(os.path.join(files_from_folder + r'\txt_files', new_filename), 'w', encoding='utf-8') as t: t.write(text) except: os.mkdir(files_from_folder + r'\txt_files') with open(os.path.join(files_from_folder + r'\txt_files', new_filename), 'w', encoding='utf-8') as t: t.write(text) elif filename.endswith('doc'): doc = word.Documents.Open(os.path.join(files_from_folder, filename)) text = doc.Range().Text doc.Close() print(f'{filename} transfered ({amount})') amount += 1 new_filename = filename.split('.')[0] + '.txt' try: with open(os.path.join(files_from_folder + r'\txt_files', new_filename), 'w', encoding='utf-8') as t: t.write(text) except: os.mkdir(files_from_folder + r'\txt_files') with open(os.path.join(files_from_folder + r'\txt_files', new_filename), 'w', encoding='utf-8') as t: t.write(text) word.Quit() That's all folks. इसके अलावा, यह देखेंसंस्करण 2या संस्करण 3यासंस्करण 4यासंस्करण 5यासंस्करण 6यासंस्करण 7 Latest articles accessed by readers:
Donate via Paypal
RECURRENT DONATIONDonate monthly to support SINGLE DONATIONDonate the desired amount to support Donate by Bank TransferAccount Ron: RO34INGB0000999900448439
Open account at ING Bank
|
||||||||||||
![]() |
||||||||||||