Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9157165
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T12:56:49+00:00 2026-06-17T12:56:49+00:00

From a Basic macro, I launch a Python script that returns a json input

  • 0

From a Basic macro, I launch a Python script that returns a json input as following :

{
    u'commande': {
        u'nom_commande': u'TEST PANIER EXPRESS', 
        u'statut_commande': u'prepa', 
        u'numero': u'712', 
        u'note': u"test \xe0 l'arriv\xe9e de autobus.", 
        u'id_commande': u'17', u'maj_commande': u'2013-01-18 10:56:28'
    }
}

My problem is to retrieve the datas in basic. I always have this error :

list or dict object has no attribute gettypes traceback follows

It seems that my script cannot return anything else than a string. Is it a way to receive a dict or a list?

Thank you very much for any answer !

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T12:56:50+00:00Added an answer on June 17, 2026 at 12:56 pm

    It seems that a python script should return a tuple (containing tuples). Then Basic can manage the python’s return as it was an Array.

    This post was very helpfull

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My question is : from basic which are the necessary jars that should required
I can display a simple Visual Basic inputbox from a PowerShell script like this:
Very basic question - how to get one value from a generator in Python?
So I have this data from basic mySQL select query, that outputs per row.
How does Digest Authentication differ from Basic Authentication other than sending credentials as plain
I currently make Java (eclipse) applications for PC use. Everything from basic standalone programs,
Coming from the basic Java world I know there's a way to spawn a
I created a site template from a basic site which was itself created from
I want to make a basic read() from a SATA HDD /dev/sdd . A
This is very basic question from programming point of view but as I am

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.