The idea is simple - I want to learn Python :) My previous knowledge about Python is small. Only few tutorials and some initial readings of below mentioned books to get an overview.

This is is a long term idea, but I want to use hackweek as an opportunity for more intensive learning. At the end of the week I would be glad if I am able to write simple script/functions, probably with help of documentation, or other resources.

As an exercise I want to try rewriting my existing bash script into python3. It is a script which I am using to make my live easier while doing HA regression tests manually. I won't be able to rewrite it entirely, but I want to rewrite at least some easy functions.

Current script functions:

Main script:

  • will be written in python

  • takes info about refhosts used from config file

  • config is currently only set of bash arrays and variables -> rewrite to be python friendly ?? yaml ?? dunno yet

  • processes execution parameters and executes tests located in separate folder.

  • outputs and formats test results - maybe directly into testreport or corresponding mtui folder

Test scripts: - for now I am happy with bash as it does the job.

Literature used:

O'reilly :

  • Introducing python

  • Think python

CZ.nic:

  • Ponorme se do Pythonu3

https://knihy.nic.cz/files/nic/edice/markpilgrimdip3_ver3.pdf ... maybe soemthing else.

Looking for hackers with the skills:

Nothing? Add some keywords!

This project is part of:

Hack Week 18

Activity

  • over 5 years ago: cdywan liked this project.
  • over 5 years ago: martinsmac started this project.
  • over 5 years ago: martinsmac liked this project.
  • over 5 years ago: pluskalm liked this project.
  • over 5 years ago: lpalovsky originated this project.

  • Comments

    • martinsmac
      over 5 years ago by martinsmac | Reply

      Hello , I like this project, I have the same intention. Could I participate with you, using other script to port to python?

      • lpalovsky
        almost 5 years ago by lpalovsky | Reply

        Hi, I am so sorry ... I didn't really check this site since I created the project. I am doing basically the same thing this year as well if you wanna join.

    • cdywan
      over 5 years ago by cdywan | Reply

      You might be interested in a udemy course for currently just 13€.

      • lpalovsky
        almost 5 years ago by lpalovsky | Reply

        Hi, sorry... I didn't really pay attention to the page so I missed your comment. Thanks for the tip. There were some good offers on humblebundle during the year so I used those to buy materials.

    • martinsmac
      over 5 years ago by martinsmac | Reply

      I start with this from Safari site: https://learning.oreilly.com/videos/python-for-beginners/9781789617122

    Similar Projects

    This project is one of its kind!