brian2
brian2 copied to clipboard
Input() function overwritten
When importing brian2 it is no longer possible to use the built-in function input(), to get values from the user.
I.e.
I would advise to rename the module 'input' (encompassing binomial, poissongroup, poissoninput etc.)
Hi, thanks for the bug report. This is something that we should indeed fix, until then you can either use
from brian2.only import *
(see https://brian2.readthedocs.io/en/stable/user/import.html) or explicitly import the input function again after importing Brian:
from brian2 import *
from builtins import input