Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

My first ‘baby step’ in automating tasks in Python for my Watson Assistant Project

Posted on Jul 16 I wrote my own Exel to JSON file converter!For my current project using IBM Watson Assistant, I needed to import a big number of JSON files containing dialogs/intents/keywords… into my WA instance.First I tried to find some free apps or websites to do this task for me, but suddenly I wanted to have some pleasure in doing it myself. I figured out that many examples are written in Python and decided to write my own Python code for this task (I’m not a Python developer, never 😆).So I started copying/pasting/adapting code from different sites, and guess what; it worked 👍😅.Hereafter is my basic code which works great for me. I passed 2 hours copying/pasting/adapting/debugging (including the installation of PyCharm community/free edition and doing pip installations) and voilà!My takeaways;This is so far from being perfect, I know, I’ll work on my work 😏there are lots of great and useful libraries for PythonPython is great for string and file operations (and for sure other stuff, I’m talking about my very basic level)I’ll do more of this in the future 👍👊😆💪Templates let you quickly answer FAQs or store snippets for re-use. Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink. Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse KenjiGoh - Jul 16 dongdongzhang - Jul 16 Thodoris Kouleris - Jul 16 RC - Jul 16 Once suspended, Aairom will not be able to comment or publish posts until their suspension is removed. Once unsuspended, aairom will be able to comment and publish posts again. Once unpublished, all posts by aairom will become hidden and only accessible to themselves. If aairom is not suspended, they can still re-publish their posts from their dashboard. Note: Once unpublished, this post will become invisible to the public and only accessible to Alain Airom. They can still re-publish the post if they are not suspended. Thanks for keeping DEV Community safe. Here is what you can do to flag aairom: aairom consistently posts content that violates DEV Community's code of conduct because it is harassing, offensive or spammy. Unflagging aairom will restore default visibility to their posts. DEV Community — A constructive and inclusive social network for software developers. With you every step of your journey. Built on Forem — the open source software that powers DEV and other inclusive communities.Made with love and Ruby on Rails. DEV Community © 2016 - 2023. We're a place where coders share, stay up-to-date and grow their careers.



This post first appeared on VedVyas Articles, please read the originial post: here

Share the post

My first ‘baby step’ in automating tasks in Python for my Watson Assistant Project

×

Subscribe to Vedvyas Articles

Get updates delivered right to your inbox!

Thank you for your subscription

×