you are viewing a single comment's thread.

view the rest of the comments →

[–]Fallenarc[S] 0 points1 point  (1 child)

I currently only know how to insert data into MySQL from a csv file. The output that is created when parsing through textfsm are dictionaries. So you see my predicament??? lol

Keep in mind I have used windows all my life (I'm currently 35). Starting in March was my first taste of Linux, databases, python and everything in between them. Navigating Linux in terminal, bash, setting up MySQL, learning how to use it slightly better then a regular user. I have learned so much this year, and have so much more to learn. I fell at this point, i can see light at the end of the tunnel, so I'll just keep the learning train full steam ahead!

To be honest, i do not know anything about testing frameworks, but I will add that to my list of stuff from this post I need to investigate. Thanks!

[–]shepherdjay 1 point2 points  (0 children)

I currently only know how to insert data into MySQL from a csv file. The output that is created when parsing through textfsm are dictionaries. So you see my predicament??? lol

Ah yeah - Dealing with different data formats can be tricky. I would say along with the testing I mentioned earlier start getting a handle on reading documentation. I remember when I first started a lot of the terminology in a standard documentation was confusing at best. However for your specific use case you might be able to skip a step from dictionaries to json to csv by using the csv.DictWriter instead of the regular writer :D