# Help: Is there a way to find Blender file version and other infos on opening the file?

**URL:** <https://blenderartists.org/t/help-is-there-a-way-to-find-blender-file-version-and-other-infos-on-opening-the-file/1233089>\
**Category:** Basics & Interface\
**Created:** [June 5, 2020, 10:40pm UTC](https://blenderartists.org/t/help-is-there-a-way-to-find-blender-file-version-and-other-infos-on-opening-the-file/1233089 "2020-06-05T22:40:28Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![florinf](https://blenderartists.org/letter_avatar_proxy/v4/letter/f/e47774/32.png) [@florinf](https://blenderartists.org/u/florinf)\
**Post date:** [June 5, 2020, 10:40pm UTC](https://blenderartists.org/t/help-is-there-a-way-to-find-blender-file-version-and-other-infos-on-opening-the-file/1233089/1 "2020-06-05T22:40:28Z")

</div>

As I asked in the title, I would like to see file infos like version number, UI tabs, number of object and so on, when I select a .blend file for opening.  
Is there a way to do this? An addon maybe? It would be very helpful.

---

<div class="post-metadata">

**Author:** ![RickyBlender](https://blenderartists.org/user_avatar/blenderartists.org/rickyblender/32/7134_2.png) [@RickyBlender](https://blenderartists.org/u/RickyBlender)\
**Post date:** [June 6, 2020, 2:26am UTC](https://blenderartists.org/t/help-is-there-a-way-to-find-blender-file-version-and-other-infos-on-opening-the-file/1233089/2 "2020-06-06T02:26:24Z")

</div>

the data’s is there

so it should be possible

this should be asked in the python forum

happy bl

---

<div class="post-metadata">

**Author:** ![colkai](https://blenderartists.org/user_avatar/blenderartists.org/colkai/32/20099_2.png) [@colkai](https://blenderartists.org/u/colkai)\
**Post date:** [June 6, 2020, 10:21am UTC](https://blenderartists.org/t/help-is-there-a-way-to-find-blender-file-version-and-other-infos-on-opening-the-file/1233089/3 "2020-06-06T10:21:25Z")

</div>

This works on a loaded file, put it in the text editor and run the script with Alt+p

```auto

import bpy
import os

os.system("cls")

main_path = os.path.dirname(bpy.data.filepath)
baseName = bpy.path.basename(bpy.context.blend_data.filepath)

blendName = os.path.splitext(baseName)[0]

str1 = bpy.data.version

print("MainPath: {0}\nBaseName: {1}\nBlendName:{2}\nVersion: {3}".format(main_path, baseName, blendName, str1))

# Result example: MainPath: X:\Blender_Resources\Colkai_Blends\Hard_Ops
# BaseName: GunStage_A_2.blend
# BlendName:GunStage_A_2
# Version: (2, 78, 0)

```

---

<div class="post-metadata">

**Author:** ![florinf](https://blenderartists.org/letter_avatar_proxy/v4/letter/f/e47774/32.png) [@florinf](https://blenderartists.org/u/florinf)\
**Post date:** [June 11, 2020, 5:45pm UTC](https://blenderartists.org/t/help-is-there-a-way-to-find-blender-file-version-and-other-infos-on-opening-the-file/1233089/4 "2020-06-11T17:45:48Z")

</div>

Thank you.

---

<div class="post-metadata">

**Author:** ![florinf](https://blenderartists.org/letter_avatar_proxy/v4/letter/f/e47774/32.png) [@florinf](https://blenderartists.org/u/florinf)\
**Post date:** [June 11, 2020, 5:51pm UTC](https://blenderartists.org/t/help-is-there-a-way-to-find-blender-file-version-and-other-infos-on-opening-the-file/1233089/5 "2020-06-11T17:51:35Z")

</div>

Great! It works! Thank you. 😄 )

---

<div class="post-metadata">

**Author:** ![colkai](https://blenderartists.org/user_avatar/blenderartists.org/colkai/32/20099_2.png) [@colkai](https://blenderartists.org/u/colkai)\
**Post date:** [June 12, 2020, 11:20am UTC](https://blenderartists.org/t/help-is-there-a-way-to-find-blender-file-version-and-other-infos-on-opening-the-file/1233089/6 "2020-06-12T11:20:32Z")

</div>

Cool, glad it helped 🙂
