I am a Python backend engineer seeking career advice from experienced professionals. I recently quit my job to address some health issues and now have time to contemplate my next career steps. With roughly six years of professional backend development experience with Python, I have only utilized Python for production development throughout my career. I am uncertain about whether I should continue with Python or switch to something else.
Python has served me well for the tasks I performed at work, primarily developing REST or GraphQL monolith APIs. However, I am getting bored using the same technology repeatedly, and I would like to learn a new language and secure a job in it. I am considering Golang or Elixir, in particular. However, I don't see a clear path to achieving this because my production experience is only in Python, and every Golang job, for instance, necessitates prior Golang experience.
Can you provide any advice on how a software engineer can switch to a new language and secure a job in it?