I've been trying to align my text in a word document using python but just can't seem to fight out how. this is my code: `
import os
my_text="Awesome words"
my_doc = os.path.join(os.getcwd(),'file.docx')
open(my_doc,'wb').write(my_text.encode('utf8'))
` Here's the output I'm getting
But here's what I want it to look like
tried
`
import os
my_text="Awesome words"
my_doc = os.path.join(os.getcwd(),'file.docx')
open(my_doc,'wb').write(my_text.encode('utf8'))
`
expected