Automate The Boring Stuff with Python

it is free to read here it is a renowned book in the python world it teaches some intro before moving on to apps it is not  a complete beginner book the use of 3rd party libs is duly highlighted the approach to program designing is good if you completed all the projects in the… Continue Reading Automate The Boring Stuff with Python

  •  
    1
    Share
  • 1
  •  
  •  
  •  
  •  
home machine learning project : identifying cutlery items

home machine learning project : identifying cutlery items

machine learning is becoming crucial to add to your backpack. this post attempts to show a basic application of machine learning. we need to determine whether some cutlery items are bowls or mugs or plates. this is a practical demonstration of applied theory machine learning is just applied maths from start to finish, machine learning… Continue Reading home machine learning project : identifying cutlery items

matplotlib scatter plot annotate / set text at / label each point

matplotlib scatter plot annotate / set text at / label each point

a hard question in matplotlib is to annotate each point with a text or label. answers range from ax.annotate to some more weird stuffs. fortunately, the answer is a simple one! this question poses itself quite often in scatter plots the key without beating around the bush, the answer is using pyplot.text found here demo code… Continue Reading matplotlib scatter plot annotate / set text at / label each point

building an indentation analyser in python – a tutorial

scope by indentation is an alternative to curly braces and is used by languages like python and pug. it certainly is more human-friendly as experience gathered tends to produce more and more friendly syntaxes (like livecode). we’ll in this post build an indentation analyser that correctly tells us when we mixed indentation level; just like python… Continue Reading building an indentation analyser in python – a tutorial

building a lexer in python – a tutorial

knowing how to build a lexer allows you to extend your applications and opens up a whole new world. You can write your own DSLs or your own language or just better separate symbols: in other words, it allows you to have more control over a string what is a lexer? from user input to… Continue Reading building a lexer in python – a tutorial