Python – from . import

There is a PEP for everything. Quote from PEP8: Imports Explicit relative imports are an acceptable alternative to absolute imports, especially when dealing with complex package layouts where using absolute imports would be unnecessarily verbose: Guido’s decision in PEP328 Imports: Multi-Line and Absolute/Relative Copy Pasta from PEP328 Here’s a sample package layout: Assuming that the current file is either moduleX.py or subpackage1/__init__.py , … Read more

ImportError: No module named ‘pygame’

I have installed python 3.3.2 and pygame 1.9.2a0. Whenever I try to import pygame by typing: import pygame I get following error message : I went through some of the questions related to this error but none of the solution helped. I have 64 bit machine with Win7 OS

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)