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
Saving Origin File From Python
Note:
Only the poster of this message, and the Moderator can edit the message.
Screensize:
640 x 480
800 x 600
1024 x 768
1280 x 1024
UserName:
Password:
Anti-Spam Code:
Format Mode:
Basic
Help
Prompt
Format:
Font
Andale Mono
Arial
Arial Black
Book Antiqua
Century Gothic
Comic Sans MS
Courier New
Georgia
Impact
Lucida Console
Script MT Bold
Stencil
Tahoma
Times New Roman
Trebuchet MS
Verdana
Size
1
2
3
4
5
6
Color
Black
Red
Yellow
Pink
Green
Orange
Purple
Blue
Beige
Brown
Teal
Navy
Maroon
LimeGreen
Forum:
Forum for Python
Subject:
Message:
* HTML is OFF
*
Forum Code
is ON
Smilies
Origin Ver. and Service Release: 10.0.0.154 OriginPro 2023 Operating System: Windows 10 Hi! I was recently trying to access and edit an origin project from Python, but I was having trouble saving the project as any edits made in the script were not visible afterward in the project. The version of the op package that I am running is 1.1.4 in Python 3.10.7. Here is an example script that I have tried to run. [code]import originpro as op print(op.open("C:/Path/To/File/myProject.opju"")) op.pe.mkdir("TEST") print(op.project.save("C:/Path/To/File/myProject.opju")) op.utils.exit()[/code] The output in the terminal will be: True False So the project is loaded correctly, but fails to save. Any help is greatly appreciated! Thanks in advance.
Check here to subscribe to this topic.
The Origin Forum
© 2020 Originlab Corporation
Snitz Forums 2000