I need to export a list of particle coordinates
Of Blender 2.78 to Blender 2.82 there were several changes.

Now the code that yes work:

import bpy

depg = bpy.context.evaluated_depsgraph_get()
object= bpy.context.scene.objects['Plane']

particles = object.evaluated_get(depg).particle_systems[0].particles

bpy.ops.text.new()

for p in particles:
    bpy.data.texts[-1].write("&lt;particle x='"+str(p.location[0])+"' y='"+str(p.location[1])+"'z='"+str(p.location[2])+"'/&gt;\n")


I get to this code after find these links:

Particles python access is broken in 2.8

Manipulating particles in python