platypush/plugins/esp/__init__.py
def chdir(self, directory: str, **kwargs):
        """
        Move to the specified directory.

        :param directory: Directory name.
        :param kwargs: Parameters to pass to :meth:`platypush.plugins.esp.EspPlugin.execute`.
        """
        directory = self.string_quote(directory)
        code = '''
import os
os.chdir('{dir}')
'''.format(dir=directory)

        self.execute(code, **kwargs)

        Move to the specified directory.

        :param directory: Directory name.
        :param kwargs: Parameters to pass to :meth:`platypush.plugins.esp.EspPlugin.execute`.
        
Move to the specified directory.
Move to the specified directory .
def chdir(self, directory: str, **kwargs):
        directory = self.string_quote(directory)
        code = '''
import os
os.chdir('{dir}')
'''.format(dir=directory)
        self.execute(code, **kwargs)
def chdir ( self , directory : str , ** kwargs ) : directory = self . string_quote ( directory ) code = '''
import os
os.chdir('{dir}')
''' . format ( dir = directory ) self . execute ( code , ** kwargs )
Move to the specified directory.
Move to the specified directory .
"""
        Move to the specified directory.

        :param directory: Directory name.
        :param kwargs: Parameters to pass to :meth:`platypush.plugins.esp.EspPlugin.execute`.
        """
self
directory
str
None
kwargs
Parameters to pass to :meth:`platypush.plugins.esp.EspPlugin.execute`.
Parameters to pass to : meth : ` platypush . plugins . esp . EspPlugin . execute ` .