Skip to main content
13-Aquamarine
March 16, 2020
Solved

CREOSON: What's the hidden purpose that I don't understand?

I tried equivalent functions listed in the manual https://creopyson.readthedocs.io/en/latest/modules.html for example:

  1. Called through a client session : c.drawing_get_sheet_format(1)
  2. Called from Creopyson module : creopyson.drawing.get_sheet_format(c,1)

And I found that they return the same result. Please ignore the specific example of "get_sheet_format"

my question is : why there are two ways to call the same function?

ZepmanAnswer
1-Visitor
March 16, 2020

Hi

there is no hidden purpose, the client session way is the simpliest way.

The other exists because of the structure of the librairy

2 replies

18-Opal
March 16, 2020

That is really a package / library question for the developer ... I would post that question on: 

 

https://github.com/Zepmanbc/creopyson/issues

 

 

 

 

Translate
Zepman1-VisitorAnswer
1-Visitor
March 16, 2020

Hi

there is no hidden purpose, the client session way is the simpliest way.

The other exists because of the structure of the librairy

Translate