fritzconnection/lib/fritzwlan.py
def _create_preshared_key(self):
        """
        Returns a new pre-shared key for setting a new password.
        The sequence is of uppercase characters as this is default on FritzOS
        at time of writing.
        """
        info = self.get_info()
        characters = info["NewAllowedCharsPSK"]
        length = info["NewMaxCharsPSK"]
        return "".join(random.choices(characters, k=length)).upper()

        Returns a new pre-shared key for setting a new password.
        The sequence is of uppercase characters as this is default on FritzOS
        at time of writing.
        
Returns a new pre-shared key for setting a new password.
The sequence is of uppercase characters as this is default on FritzOS
at time of writing.
Returns a new pre - shared key for setting a new password . The sequence is of uppercase characters as this is default on FritzOS at time of writing .
def _create_preshared_key(self):
        info = self.get_info()
        characters = info["NewAllowedCharsPSK"]
        length = info["NewMaxCharsPSK"]
        return "".join(random.choices(characters, k=length)).upper()
def _create_preshared_key ( self ) : info = self . get_info ( ) characters = info [ "NewAllowedCharsPSK" ] length = info [ "NewMaxCharsPSK" ] return "" . join ( random . choices ( characters , k = length ) ) . upper ( )
Returns a new pre-shared key for setting a new password.
Returns a new pre - shared key for setting a new password .
"""
        Returns a new pre-shared key for setting a new password.
        The sequence is of uppercase characters as this is default on FritzOS
        at time of writing.
        """
self