<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def init(lib_name=None, bin_path=None, sdk_path=None):
 """ Initialize the Myo SDK by loading the libmyo shared library. With no arguments, libmyo must be on your `PATH` or `LD_LIBRARY_PATH`. You can specify the exact path to libmyo with *lib_name*. Alternatively, you can specify the binaries directory that contains libmyo with *bin_path*. Finally, you can also pass the path to the Myo SDK root directory and it will figure out the path to libmyo by itself. """


  if sum(bool(x) for x in [lib_name, bin_path, sdk_path]) > 1:
    raise ValueError('expected zero or one arguments')

  if sdk_path:
    if sys.platform.startswith('win32'):
      bin_path = os.path.join(sdk_path, 'bin')
    elif sys.platform.startswith('darwin'):
      bin_path = os.path.join(sdk_path, 'myo.framework')
    else:
      raise RuntimeError('unsupported platform: {!r}'.format(sys.platform))
  if bin_path:
    lib_name = os.path.join(bin_path, _getdlname())
  if not lib_name:
    lib_name = _getdlname()

  global libmyo
  libmyo = ffi.dlopen(lib_name)