# File log at the end

**URL:** <https://community.freefem.org/t/file-log-at-the-end/414>\
**Category:** General Discussion\
**Created:** [May 16, 2020, 8:16am UTC](https://community.freefem.org/t/file-log-at-the-end/414 "2020-05-16T08:16:03Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![fffm\_84](https://avatars.discourse-cdn.com/v4/letter/f/a587f6/32.png) [@fffm\_84](https://community.freefem.org/u/fffm_84)\
**Post date:** [May 16, 2020, 8:16am UTC](https://community.freefem.org/t/file-log-at-the-end/414/1 "2020-05-16T08:16:03Z")

</div>

Hi everybody!!!  
There is a way to not create file log at the end of the running script??

---

<div class="post-metadata">

**Author:** ![prj](https://avatars.discourse-cdn.com/v4/letter/p/ecae2f/32.png) [@prj](https://community.freefem.org/u/prj)\
**Post date:** [May 16, 2020, 10:33am UTC](https://community.freefem.org/t/file-log-at-the-end/414/2 "2020-05-16T10:33:23Z")

</div>

Add the options `-ns` or `-v 0` to your command line?

---

<div class="post-metadata">

**Author:** ![fffm\_84](https://avatars.discourse-cdn.com/v4/letter/f/a587f6/32.png) [@fffm\_84](https://community.freefem.org/u/fffm_84)\
**Post date:** [May 16, 2020, 12:15pm UTC](https://community.freefem.org/t/file-log-at-the-end/414/3 "2020-05-16T12:15:30Z")

</div>

Thank you, I’ll be more specific.  
I have create an edp file for thermal problems of concrete section.  
Because of Freefem native poor quality plot, I have implemented edp file  
in a python script to create high quality plot.

 ![plot01](https://canada1.discourse-cdn.com/flex030/uploads/freefem/original/1X/28f18309564ccbcf2fbc44a45a7c4319c5b4c0ca.png)  
Now, I need to know if there is a way to not create file log at the end,  
maybe with a command directly in the freefem file (edp).  
Thank you!!!

---

<div class="post-metadata">

**Author:** ![prj](https://avatars.discourse-cdn.com/v4/letter/p/ecae2f/32.png) [@prj](https://community.freefem.org/u/prj)\
**Post date:** [May 16, 2020, 12:23pm UTC](https://community.freefem.org/t/file-log-at-the-end/414/4 "2020-05-16T12:23:14Z")

</div>

I don’t understand your question. If you want to create high-quality figures and animations, use ParaView, not Python, with the `savevtk` plugin. Here is an [example](https://github.com/FreeFem/FreeFem-sources/blob/develop/examples/plugin/ttestio.edp).

---

<div class="post-metadata">

**Author:** ![fffm\_84](https://avatars.discourse-cdn.com/v4/letter/f/a587f6/32.png) [@fffm\_84](https://community.freefem.org/u/fffm_84)\
**Post date:** [May 16, 2020, 2:50pm UTC](https://community.freefem.org/t/file-log-at-the-end/414/5 "2020-05-16T14:50:39Z")

</div>

Thank you so much, for all the tips!!!  
Best regards

---

<div class="post-metadata">

**Author:** ![geoyanzhan3](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/geoyanzhan3/32/147_2.png) [@geoyanzhan3](https://community.freefem.org/u/geoyanzhan3)\
**Post date:** [May 23, 2020, 3:14pm UTC](https://community.freefem.org/t/file-log-at-the-end/414/6 "2020-05-23T15:14:15Z")

</div>

May I ask how do you “implemented edp file Preformatted text in a python script?”

Thank you,  
Yan

---

<div class="post-metadata">

**Author:** ![fffm\_84](https://avatars.discourse-cdn.com/v4/letter/f/a587f6/32.png) [@fffm\_84](https://community.freefem.org/u/fffm_84)\
**Post date:** [May 23, 2020, 3:48pm UTC](https://community.freefem.org/t/file-log-at-the-end/414/7 "2020-05-23T15:48:52Z")

</div>

Hi!!  
With these few lines:

_import subprocess_  
_process = subprocess.Popen(‘FreeFem++ yourfile.edp -ns’, stdout=subprocess.PIPE, shell=True)_  
_output, error = process.communicate()_

you can call your freefem file (edp) and running it from the python script.  
In my project, I use the python script for input values/plot results,  
and edp freefem file as FEM solver.

Hope this can help you.  
Best regards!!!

---

<div class="post-metadata">

**Author:** ![geoyanzhan3](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/geoyanzhan3/32/147_2.png) [@geoyanzhan3](https://community.freefem.org/u/geoyanzhan3)\
**Post date:** [May 23, 2020, 3:58pm UTC](https://community.freefem.org/t/file-log-at-the-end/414/8 "2020-05-23T15:58:50Z")

</div>

Thank you very much for your swift reply!

Do you write the result to temporal files, and use python to read it?

Thank you!

---

<div class="post-metadata">

**Author:** ![fffm\_84](https://avatars.discourse-cdn.com/v4/letter/f/a587f6/32.png) [@fffm\_84](https://community.freefem.org/u/fffm_84)\
**Post date:** [May 23, 2020, 4:27pm UTC](https://community.freefem.org/t/file-log-at-the-end/414/9 "2020-05-23T16:27:48Z")

</div>

Yes!

1. I use python script to write inputs (txt file);
2. freefem edp reads inputs and solve the problem, creating output file  
(mesh points, elements, data values in a txt file);
3. python script reads this output file to create plots;

---

<div class="post-metadata">

**Author:** ![geoyanzhan3](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/geoyanzhan3/32/147_2.png) [@geoyanzhan3](https://community.freefem.org/u/geoyanzhan3)\
**Post date:** [May 23, 2020, 7:20pm UTC](https://community.freefem.org/t/file-log-at-the-end/414/10 "2020-05-23T19:20:17Z")

</div>

> [@fffm\_84](#):
>
> output

Thank you very much!

Very helpful!
