python-docx getting docx information
up vote
0
down vote
favorite
I was trying to copy the whole text from a docx file with all the styles, font information, images and table data. I get the text from the docx file but when I try to get the font information with doc.paragraphs[0].runs[0].style.font.name
it shows None
. Can anyone help me?
python-docx
add a comment |
up vote
0
down vote
favorite
I was trying to copy the whole text from a docx file with all the styles, font information, images and table data. I get the text from the docx file but when I try to get the font information with doc.paragraphs[0].runs[0].style.font.name
it shows None
. Can anyone help me?
python-docx
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I was trying to copy the whole text from a docx file with all the styles, font information, images and table data. I get the text from the docx file but when I try to get the font information with doc.paragraphs[0].runs[0].style.font.name
it shows None
. Can anyone help me?
python-docx
I was trying to copy the whole text from a docx file with all the styles, font information, images and table data. I get the text from the docx file but when I try to get the font information with doc.paragraphs[0].runs[0].style.font.name
it shows None
. Can anyone help me?
python-docx
python-docx
asked Nov 8 at 9:57
user10132840
13
13
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53205307%2fpython-docx-getting-docx-information%23new-answer', 'question_page');
}
);
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password