nightmare with relative imports, how does pep 366 work?

The “boilerplate” given in PEP 366 seems incomplete. Although it sets the __package__ variable, it doesn’t actually import the package, which is also needed to allow relative imports to work. extraneon‘s solution is on the right track. Note that it is not enough to simply have the directory containing the module in sys.path, the corresponding … Read more

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