title: AttributeError: module 'config' has no attribute 'Config'
body: <p>Untitled.ipynb and config.py are in same folder.
  So, I call config.py in Untitled.ipynb
  But, jupyter say 'AttributeError: module 'config' has no attribute 'Config'
  Why??!!!
  Please help me....:(</p>
  <p><strong>Untitled.ipynb</strong></p>
  <pre><code>import config
  import numpy as np
  print(config)
  con = config.Config()
  #Input training files from benchmarks/FB15K/ folder.
  ....
  </code></pre>
  <p><strong>config.py</strong></p>
  <pre><code>#coding:utf-8
  import torch 
  import torch.nn as nn
  import numpy as np
  from torch.autograd import Variable
  import torch.optim as optim
  import os
  import time
  import datetime
  import ctypes
  import json
  
  class Config(object):
      r&quot;&quot;&quot;In this class, we set the configuration parameters, adopt C library for data and memory processing. In the following,
      we train models and test models.
      &quot;&quot;&quot;
  
      def __init__(self):
          self.lib = ctypes.cdll.LoadLibrary(&quot;./release/Base.so&quot;)
          self.lib.sampling.argtypes = [ctypes.c_void_p, ctypes.c_void_p, ctypes.c_void_p, ctypes.c_void_p, ctypes.c_int64, ctypes.c_int64, ctypes.c_int64]
          self.lib.getHeadBatch.argtypes = [ctypes.c_void_p, ctypes.c_void_p, ctypes.c_void_p]
          self.lib.getTailBatch.argtypes = [ctypes.c_void_p, ctypes.c_void_p, ctypes.c_void_p]
          self.lib.testHead.argtypes = [ctypes.c_void_p]
          self.lib.testTail.argtypes = [ctypes.c_void_p]
          self.test_flag = False
          self.in_path = &quot;./&quot;
          self.out_path = &quot;./&quot;
          self.bern = 0
          self.hidden_size = 100
          ....
  </code></pre>