Python Forum
How to start to learn and use python - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: General (https://python-forum.io/forum-1.html)
+--- Forum: News and Discussions (https://python-forum.io/forum-31.html)
+--- Thread: How to start to learn and use python (/thread-40340.html)



How to start to learn and use python - Zangolo - Jul-14-2023

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


RE: How to start to learn and use python - Gribouillis - Jul-14-2023

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.


RE: How to start to learn and use python - RcCharles - Jul-15-2023

(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.


RE: How to start to learn and use python - Larz60+ - Jul-15-2023

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.


RE: How to start to learn and use python - Gribouillis - Jul-15-2023

(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.


RE: How to start to learn and use python - PyDan - Jul-15-2023

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


RE: How to start to learn and use python - Gribouillis - Jul-15-2023

(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.