Python Forum
How to start to learn and use python
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to start to learn and use python
#1
Hi! I´m a student who needs to learn python for the Bachelor Thesis to generate code for optimize vehicle routes. What advices can u give me to start to work on this? Is there any forum to learn this? Thank u
Reply
#2
I learnt Python in the official Python Tutorial.

Besides the language basics, the hard part is to learn the libraries that you are going to use for your project, some of them in the standard library but also perhaps some other modules. It is impossible to learn all the libraries, so select what you need.
Reply
#3
(Jul-14-2023, 11:19 AM)Zangolo Wrote: Hi! I´m a student who needs to learn python for the Bachelor Thesis to generate code for optimize vehicle routes. What advices can u give me to start to work on this? Is there any forum to learn this? Thank u

This is the "traveling salesman problem".

You should complain to who ever assigned the problem. It not for a beginner. It's difficult to solve.

As for learning Python, I suggest you visit your local library and check out a book on Python. I find reading multiple books on the topic the easiest way to go.
Reply
#4
take a look at:
PyPi

also google 'traveling salesman python'

RcCharles Wrote:You should complain to who ever assigned the problem. It not for a beginner. It's difficult to solve.
I agree with this statement.
Reply
#5
(Jul-15-2023, 02:19 AM)RcCharles Wrote: This is the "traveling salesman problem".
Not necessarily. When you are looking for the shortest route between two towns, it is not the travelling salesman problem, instead it is the shortest path problem, which is much simpler with many known algorithms.

The travelling salesman problem is to visit ALL the towns with the shortest route.
Reply
#6
this is the best TSP routine I've found so far, I use it in CAD to create the shortest polyline
https://developers.google.com/optimization/routing/tsp
Gribouillis likes this post
Reply
#7
(Jul-15-2023, 08:56 AM)PyDan Wrote: this is the best TSP routine
Google's political correctness make me laugh LOL : it's no longer the "travelling salesman" but the "travelling salesperson". One more reason to shun Google, but yeah, they produce powerful code.
PyDan likes this post
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to learn python to apply it in my work? DavyAnt 1 863 Aug-24-2023, 10:46 PM
Last Post: Larz60+
  start to learn Python Berliner 11 6,129 Apr-26-2022, 06:52 PM
Last Post: Berliner
  Learn Python via Zoom Meetings? davidorlow 1 2,390 Jun-16-2021, 01:01 AM
Last Post: Larz60+
  learn Python Naheed 6 4,107 May-04-2021, 07:23 AM
Last Post: Naheed
  Newbie to Python - Where to start lasek723 4 3,032 Sep-15-2020, 08:11 PM
Last Post: lasek723
  what programming language to learn other than python in real mass-production product? Kai 1 2,122 Apr-12-2020, 04:40 AM
Last Post: Larz60+
  start learning python robbyq 5 3,037 Jan-21-2020, 03:07 AM
Last Post: michael1789
  Learn Python by doing? Coastal 2 2,397 Jan-16-2020, 06:24 PM
Last Post: Karen1
  WHich is a good site/tutorial to learn Python for beginners? deepakdeshp 7 4,991 Oct-11-2019, 06:46 AM
Last Post: wavic
  how to start python programing Sharafuzzaman 1 2,266 Nov-04-2018, 08:58 AM
Last Post: buran

Forum Jump:

User Panel Messages

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