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 8975665
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T18:56:14+00:00 2026-06-15T18:56:14+00:00

Now begore you would judge me for FAQ my problem is not so easy

  • 0

Now begore you would judge me for FAQ my problem is not so easy as ‘the best shortest path algorithm’ (at least I think).

I have a Google Spreadsheet.

Every row begins with a town name and it’s followed by the nr of roads that go through and by name of of those roads. Something like here bellow:

Ex. Spreadsheet / First sheet:
         A    |               B               |     C     |     D     |     E     |
 1  Town name | Number of roads you find here | road name | road name | road name |    
 2  Manchester| 3                             |        M1 |        M2 |        M3 |
 3  Leeds     | 1                             |        M3 |           |           |
 4  Blackpool | 2                             |        M1 |        M2 |           |

Now this one Spreadsheet has many worksheets, each for every road name (in my case M1, M2, M3. M1 is the second worksheet since the first one has the content from above. M2 is the third etc)

 Ex. Spreadsheet / Second sheet:
       A      |    B      |        C       |      D       |      E     |      F     |
1   This road | Town name | Distance in km | type of road | other road | other road |  
2      M1     | Manchester|       0        |      M2      |     M3     |            | 
3      M1     | Blackpool |      25        |      M2      |            |            |

Third sheet is similar, next sheets similar structure. One town can be containd in many sheets depending on how many roads link to it. You can see it from the above example.

The Spreadsheet is not made by me. It’s like this. It will not get any better.
I have no problem pulling the data from the google spreadsheet in the program. Reading spreadsheet data with python is not the question here.

  1. What is the best way to write a programme in wxpython/python where a user inputs Starting Town and Finishing Town.
  2. The programme will read the spreadsheet and appropriate worksheets.
  3. Will find somehow the best path in this jungle of worksheets.
  4. It will additionally return the total distance from Starting Town to Finishing town even if the it has to go through maybe more then 2-3 worksheets to get there.
  5. Will return results to the users screen in a lovely form 🙂

I hope you find my problem challenging enough to deserve a questioning.

I beg you for help. Show me the way to go about this very specific problem.

  • 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-15T18:56:15+00:00Added an answer on June 15, 2026 at 6:56 pm

    What came of your previous attempt:

    Way too slow wxPython application getting data from Google Spreadsheet and User input needs speed up solution

    Did you find what was taking so long? What other issues did you encounter there?

    I’m relatively new to stackoverflow but I’ve seen these style questions, that can be interpreted as “Could you write this code for me?”, as being rejected pretty swiftly.

    You might want to consider sharing some of the challenges from the above link and explaining a specific problem within the project.

    UPDATED

    1+5:
    From the WX point of view, you’ll want to keep the UI responsive whilst the search is going on. One way to do this is kick off the searching in a separate thread which calls wx.PostEvent once it has finished. Then in the main wx App you have an event handler which receives the event and processes it. In your case “shows the results on a lovely form”.

    See here for an example: http://wiki.wxpython.org/LongRunningTasks

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

Sidebar

Related Questions

Now I have something that I have not seen it before: the database is
Not sure if this would be better suited for ServerFault, but since I am
I have a back up copy of data that I would like to protect
OSX question, not iOS. I've been searching for a framework to get easy access
I'm using a jquery star rating plugin. Before I would just have a EditorFor
I have setup this HABTM relationship in the past and it has worked before....Now
i have a problem. i am a rookie programmer, about a year ago i
I would like to be able to change the page title with PHP. Now
I have an activity that is resumed after a user picks a contact. Now
I have an issue that was reported to me just now before we go

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.