Problem loading Particle

I’m new in Panda3D, I made some Particle effect with “Tut_Particle_Panel.py” I saved the effect as “firstRain.ptf”
now I don’t know how to load that in my scene
I add this lines to my code:
“”"
base.enableParticles()
from direct.particles.ParticleEffect import ParticleEffect

p = ParticleEffect()
p.loadConfig(firstRain)

p.start(parent = render, renderParent = render)
“”"
as I read it from toturials

when I ran it I got some errors “firstRain is not defined”
I addressed it too:
p.loadConfig(“models/man/firstRain.ptf”)

but I got some error :frowning:
please help me.

I solved my problem.
i just copied the firstRain.ptf in folder that contains my code
for address I write this code:

p.loadConfig(‘firstRain.ptf’)

and it solved. :neutral_face: