+ 2

Module 'curses' has no attribute 'scrinit' #Python

I am trying to make something about curses module but i keep getting this kind of error= """ Traceback (most recent call last): File "C:\Users\user\Desktop\yazılım\python\çalÄ±ĆŸmalar python\asdfff.py", line 4, in <module> s = curses.initscr() File "F:\python\lib\curses\__init__.py", line 30, in initscr fd=_sys.__stdout__.fileno()) AttributeError: 'NoneType' object has no attribute 'fileno' """ Can you help me?

15th Mar 2019, 7:05 PM
Fatih Yalçın
Fatih Yalçın - avatar
1 Answer
+ 1
it will be much better if you have shared snippet of the code base on your post, there are 2 errors in the code, on line 4 and 30. AttributeError : none type occurs when you try to manipulate a function or variable which returns none
16th Mar 2019, 3:46 AM
Gbadegesin Muhammed
Gbadegesin Muhammed - avatar