Jump to content

Conanap

Member
  • Posts

    9
  • Joined

  • Last visited

Posts posted by Conanap

  1. On 1/14/2020 at 3:27 PM, deanishe said:

     

    What do you mean exactly? You set the variable $query yourself. You can call it whatever you want.

    On earlier attempts of outputting variables other than query seemed to failed, and it continue to copy $query to clipboard anyways; I'll give it another try though

  2. Yup I'm referencing with $title, but it doesn't show; I did something like {"items":[ { "title":$title } ] } . I'll keep the Python library in mind, but rn since I'm just reading from a CSV file and adding numbers together I'll probably implement it in a bit.  

    For Python though, I just need to do sys.stdout.write(json obj)?

  3. Hello! I'm not sure what these were called so I had some trouble googling. I'm making a molar mass calculator and I want the output to look like the attachment.

     

    Eg: molm H2O

     

     should then show in the next line "18.01528 g/mol"

     

    I have the logic for figuring out the input and calculations, but I can't for the love of god figure out how to do the output like the photo. I'm using keyword to script with bash. Thanks!

     

    Screen Shot 2020-01-13 at 5.23.00 PM.png

×
×
  • Create New...