Python Forum
Data extraction from (multiple) MS Word file(s) in python
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Data extraction from (multiple) MS Word file(s) in python
#3
Hello,

I'm sorry, I probably lack too much of experience in Python programming so your response made me figure out -while watching another YouTube-tutorial- that I don't necessary need a main() in my program at all.

But even if i remove the "def main():", that doesn't really make a difference anyway...

By far, this is all I have for code... I have a bunch of docx files in one folder and the text from all of them needs to be extracted but I think I should first figure out how to extract from 1 file, so being able to print the text from one file as a proof that the code works - I think.

I believe my next step is to watch more youtube tutorials on programming in Python. Programming in C, Java, C# is all at least 1,5 years ago anyways...

But about this program above: I didn't just copy paste without thinking. I know what every line of the code should do but I guess there is some detail where I'm missing out because I don't get it why it doesn't give me the text from the word document as an output :/
Reply


Messages In This Thread
RE: Data extraction from (multiple) MS Word file(s) in python - by Den0st - Sep-15-2019, 11:40 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Read data from a CSV file in S3 bucket and store it in a dictionary in python Rupini 3 7,086 May-15-2020, 04:57 PM
Last Post: snippsat
  Multiple XML file covert to CSV output file krish143 1 3,389 Jul-27-2018, 06:55 PM
Last Post: ichabod801
  Login Module Help - Comparing data in a text file to data held in a variable KeziaKar 0 2,280 Mar-08-2018, 11:41 AM
Last Post: KeziaKar

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020