import os.path as osp


def get_data_dir():
    this_dir = osp.dirname(osp.abspath(__file__))
    return osp.realpath(osp.join(this_dir, '../data'))


def get_logs_dir():
    this_dir = osp.dirname(osp.abspath(__file__))
    return osp.realpath(osp.join(this_dir, '../logs'))

import os.path as osp


def get_data_dir():
    this_dir = osp.dirname(osp.abspath(__file__))
    return osp.realpath(osp.join(this_dir, '_data'))

Move data directory in package
Move data directory in package

  import os.path as osp
  
  
  def get_data_dir():
      this_dir = osp.dirname(osp.abspath(__file__))
-     return osp.realpath(osp.join(this_dir, '../data'))
+     return osp.realpath(osp.join(this_dir, '_data'))
  
- 
- def get_logs_dir():
-     this_dir = osp.dirname(osp.abspath(__file__))
-     return osp.realpath(osp.join(this_dir, '../logs'))
- 
Move data directory in package
## Code Before:
import os.path as osp


def get_data_dir():
    this_dir = osp.dirname(osp.abspath(__file__))
    return osp.realpath(osp.join(this_dir, '../data'))


def get_logs_dir():
    this_dir = osp.dirname(osp.abspath(__file__))
    return osp.realpath(osp.join(this_dir, '../logs'))

## Instruction:
Move data directory in package
## Code After:
import os.path as osp


def get_data_dir():
    this_dir = osp.dirname(osp.abspath(__file__))
    return osp.realpath(osp.join(this_dir, '_data'))
