The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum for Programming
 Forum for Python
 Documentation and intention of Python scripts

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Karsten8 Posted - 11/11/2022 : 09:17:15 AM
Origin Ver. and Service Release (Select Help-->About Origin):
Operating System:

Dear Origin-team,

Do you offer a list of available python functions?
For example - a simple dialog like GetN in LT to ask for a user input - is this available in the origin.python-module?
Where can i search for available python function?

What is your long term planning with python in Origin?
Will python replace labtalk? This would mean you plan to offer all function from LT in Python?
Or is your intention that python scripts have to use LT-functions?

It would be great if you offer a programming guide for python in origin similar to the origin-c and LT-pdfs from your homepage.

Thanks and best regards,

Karsten8.

2   L A T E S T    R E P L I E S    (Newest First)
cpyang Posted - 11/11/2022 : 12:08:17 PM
We have sample codes on Github

https://github.com/originlab/Python-Samples

LT will continue to be improved so if something cannot be done in originpro Python, then call LT from it.

CP
YimingChen Posted - 11/11/2022 : 10:37:15 AM
To get input from user in Python, please try the line below:
val = input("Enter your value: ")


We do have the help document of Python in Origin. Please select from menu Help->Programming->Python to open the help doc.
https://www.originlab.com/doc/python/Run-Python-in-Origin

We are keeping improving the Python support based on users' feedback.

James

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000