Python Tutorial

How To Fix Pygame.PixelArray IndexError: Invalid Index Error

I create a pygame.PixelArray object uses the pygame main screen window surface object ( returned by the method pygame.display.set_mode() ), and when I assign color to each item of the pygame.PixelArray object in a loop it throws the error pygame.PixelArray IndexError: invalid index. This article will tell you how to fix it.

How To Fix Pygame.PixelArray IndexError: Invalid Index Error Read More »

How To Fix Python Error ImportError: DLL Load Failed: %1 Is Not A Valid Win32 Application.

When I run a python program in my eclipse Pydev project, I meet an error message ImportError: DLL load failed: %1 is not a valid Win32 application. This error occurs when I use the python sqlite3 module in my program. This article will tell you how to fix it.

How To Fix Python Error ImportError: DLL Load Failed: %1 Is Not A Valid Win32 Application. Read More »

How To Fix ImportError: DLL Load Failed While Importing _sqlite3: The Specified Module Could Not Be Found.

This article will tell you how to fix the ImportError: DLL load failed while importing _sqlite3: The specified module could not be found when you run eclipse to develop a python project through PyDev with the anaconda virtual environment. The error happens on Windows OS.

How To Fix ImportError: DLL Load Failed While Importing _sqlite3: The Specified Module Could Not Be Found. Read More »