Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8374693
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T14:58:42+00:00 2026-06-09T14:58:42+00:00

Here comes again, I have managed to collect specific data from resx file (xml)

  • 0

Here comes again,
I have managed to collect specific data from resx file (xml) to generate an Excel file.
Now, the task is to concatenate all the data to lowest row in this excel file.

First opening the input file to read(r) and write(w).

wb = load_workbook(‘Excel.xlsx’)

access the worksheet named ‘Sheet’

ws=get_sheet_by_name(‘Sheet’)

So now, I need to Concatenate the data from all the cells in one column to the last empty cell of that column. Then generate this new excel file.

for example,
Column Name: any column
row1: ABC
row2: EFG
row3: HIJ

last row after concatenation should look like,

row4 : ABC
EFG
HIJ

As a python beginner this seems to be a pretty hard stuff for me. Please help to improve.

Thanks a lot.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T14:58:43+00:00Added an answer on June 9, 2026 at 2:58 pm

    Something like the following should work…

    max_row = ws.get_highest_row() # find last row of worksheet
    reff = "A1:A" + str(max_row) # build an Excel range covering the data
    values = [cell.value for cell in ws.range(reff)] # collect the data
    ws.cell('A' + str(max_row + 1)).value = ' '.join(values) # write values
    

    The documentation for this module is pretty good. Look it over and experiment.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here's a question that comes up again and again in C++ class implementation. I'm
Here's the issue: When a Patient comes into the doctor's office, they can have
I am trying to understand this inline assembly code which comes from _hypercall0 here
What does the PCGPRLEN-1..28 means here?? Where does this 4 bit comes from? alt
Hello there freaks & geeks. Here comes my question again, thanks for helping!. Lets
Here comes a simple question, for all those who know javascript. I made an
As I don't want to hijack another thread here comes my question about mappings.
I'm new at Eclipse and the Android applications making so here comes a very
I've harnessed a project released on internet a long time ago. Here comes the
Something like this: _declspec(align(16)) float dens[4]; //Here the code comes. F32vec4 S_START, Pos, _Vector

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.