in Spyder IDE, the run selection command (F9) works fine. the run file command (F5) keeps running for hours, without outputs except
In [1]: runfile('...\MyFolder\MyScrip.py', wdir='...\MyFolder')
until I restart the kernel.
already seen this questions (same, without useful answers)
- Spider Run button doesn't behave as expected
- Spyder: different results depending on if I run code with F5 or F9
my script is:
import edgar as edg
edg.download_index(r'D:\SEC',2019)
where "edgar" is python-edgar (pip).
I used another package, by pip, called edgar, which is always imported as "edgar".
They were installed toghether, so a though about a conflict, and I removed both and reainstalled just python-edgar. Totally useless!