# How to place hyperlinks in a python file?

**URL:** <https://forum.inductiveautomation.com/t/how-to-place-hyperlinks-in-a-python-file/111090>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [September 30, 2025, 11:31am UTC](https://forum.inductiveautomation.com/t/how-to-place-hyperlinks-in-a-python-file/111090 "2025-09-30T11:31:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![danielps1818](https://avatars.discourse-cdn.com/v4/letter/d/ecae2f/32.png) [@danielps1818](https://forum.inductiveautomation.com/u/danielps1818)\
**Post date:** [September 30, 2025, 11:31am UTC](https://forum.inductiveautomation.com/t/how-to-place-hyperlinks-in-a-python-file/111090/1 "2025-09-30T11:31:46Z")

</div>

How can I create hyperlinks in a python file?

Normally whenever you create a function one is created automatically.

> **Image 1**
>
> ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/4/24e38b6dd477b82eaba639a9c07e727ec5b30d22.png)

However I have a file that doesn't contain any function, only information:

> **Image 2**
>
> ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/8/b87f9b78496cd7042cc7ffe4142ed23a62a334fb.png)

**How could I create hyperlinks so I don't have to scroll down** and I can simply click to go there?

I thought about doing this:  
`def info1(): return`  
but is a bit _ugly_...

Thx in advance!

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [September 30, 2025, 12:05pm UTC](https://forum.inductiveautomation.com/t/how-to-place-hyperlinks-in-a-python-file/111090/2 "2025-09-30T12:05:43Z")

</div>

You cannot.

---

<div class="post-metadata">

**Author:** ![danielps1818](https://avatars.discourse-cdn.com/v4/letter/d/ecae2f/32.png) [@danielps1818](https://forum.inductiveautomation.com/u/danielps1818)\
**Post date:** [September 30, 2025, 12:41pm UTC](https://forum.inductiveautomation.com/t/how-to-place-hyperlinks-in-a-python-file/111090/3 "2025-09-30T12:41:58Z")

</div>

☹

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [September 30, 2025, 3:57pm UTC](https://forum.inductiveautomation.com/t/how-to-place-hyperlinks-in-a-python-file/111090/4 "2025-09-30T15:57:19Z")

</div>

In some version of 8.3 I'm hoping to revamp this tree from its current (quite fragile) regex parsing methodology to a proper AST parse, which would make it trivial to add support for declared constants. Probably only at the top level.
