Converting String maybe

is this possible and if so how? Thanks

fin = “BfAmProducts.find_all_by_bp_cat_main_id_1 1000”

products = fin

This is what i want to get

products = BfAmProducts.find_all_by_bp_cat_main_id_1 1000

##Getting this
products = “BfAmProducts.find_all_by_bp_cat_main_id_1 1000”

how can i convert that string?

Thanks for your time

On 20 May 2008, at 22:46, nameth wrote:

is this possible and if so how? Thanks

fin = “BfAmProducts.find_all_by_bp_cat_main_id_1 1000”

You mean you want to eval the string? (then use eval, and careful
about what you feed it)

Fred