question

Upvotes
Accepted
28 1 1 1

How can I tell whether a user is using package DatastreamDSWS or PyDSWS if they don't know?

datastream-apidsws-apitrade
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvote
Accepted
20.3k 73 10 20

Hi @Alison.Quick

I am not sure if I mis-understand the question, but can they not look in their python script or jupyter notebook etc and see which library they are importing?

import DatastreamDSWS

or

import PyDSWS


icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Thank you - I have realised this was quite a stupid question as the answer was staring me in the face the whole time!!!!

Hi @Alison.Quick

You are welcome.

Please click the 'Accept' text next to whichever answer you found most helpful. This will guide all community members who have a similar question.

Thanks,

AHS

Upvotes
11.5k 16 7 10

Hello @Alison.Quick

The other way beside checking the application source code is using Python "pip list" command which give you a list of installed package/library.


pip-list.png (34.6 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Thanks Wasin, much appreciated!

Click below to post an Idea Post Idea