--- url: https://sqlrooms.org/api/python/functions/useStoreWithPython.md --- [@sqlrooms/python](../index.md) / useStoreWithPython # Function: useStoreWithPython() > **useStoreWithPython**<`T`>(`selector`): `T` Selects Python state from the active SQLRooms store. ## Type Parameters | Type Parameter | | ------ | | `T` | ## Parameters | Parameter | Type | | ------ | ------ | | `selector` | (`state`) => `T` | ## Returns `T`