pick
pick copied to clipboard
I copied the sample code but don't know why the error is reported
I copied the instance code but don't know why the error is reported
python3.xx pick2.20 `from pick import pick
title = 'Please choose your favorite programming language: ' options = ['Java', 'JavaScript', 'Python', 'PHP', 'C++', 'Erlang', 'Haskell']
option, index = pick(options, title, indicator='=>', default_index=2) `
output : D:\PythonCode\pythonProject1\venv\Scripts\python.exe D:\PythonCode\pythonProject1\main.py
Process ended with exit code -1073741819 (0xC0000005)
Hi, can you try the code in a real terminal instead of PyCharm, like cmd.exe or Windows Terminal, to ensure if it caused by the different between PyCharm's terminal and real terminal.