Data360 Analyze

Welcome to the Data360 Analyze community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Here are some useful links where you can find more information:

Product Announcements  Product Documentation  Ideas Portal

Discussions

Members

Resources

Events

 View Only
  • 1.  How to run system commands in DataVerse

    Employee
    Posted 07-27-2017 23:57

    Hi All Dataverse experts,

     

    Currently I am converting the pdf table to excel/csv and then trying to import the file into Dataverse.

    I have achieved the PDF to excel conversion in python script.

    I am right now stuck at the point of calling my python script via Dataverse node.

     

    I just want to execute below commands via Dataverse node.

     

    cd C:\Python27

    python Some_Script.py

     

    Do anyone have an Idea as to how and Which Node should I use to execute above commands ?

    I am very new to Dataverse.

     

     

    Thanks & Regards,

    Shashi Bhushan



  • 2.  RE: How to run system commands in DataVerse

    Employee
    Posted 07-29-2017 07:17

    Hi Shashi,

    You probably want to investigate the use of the Python node in the 'Interfaces and Adaptors' category of the node palette.

    At its most basic you could insert the following at the start of the default script to invoke a system command (in this case for the ipconfig command with an argument:

    import braininfo
    import os

    os.system('ipconfig /all')