Reviving Bertrand Russell Through Python

Reviving Bertrand Russell Through Python

famous authors are praised, respected, admired and missed due to their works. after reading all the titles of an excellent author, one is left wishing for more. curiously enough we now have the ability to produce more books that fit in the literary style, depth and topic tackling techniques of writers. perfection in this field… Continue Reading Reviving Bertrand Russell Through Python

Networking: How To Communicate Between Two Python Programs.

Networking: How To Communicate Between Two Python Programs.

Networking is a huge field, so we’ll stick to the level concept that are important for programming. This is basically a beginner intro to networking. I am passionate about security and as I was reading and watching videos, I decided to write and share out this. So, networking is basically the concept of communicating across a… Continue Reading Networking: How To Communicate Between Two Python Programs.

how to create your own DSL(Domain Specific Language) in python

how to create your own DSL(Domain Specific Language) in python

Sometimes you need more than a cli program. You need more flexibility and control. A Domain Specific Language (DSL) is the right fit for specialised tasks. This post shows how you can build your own. Some rough notes/planning : aim : calculate cost of houses input : num of houses price of house output :… Continue Reading how to create your own DSL(Domain Specific Language) in python

venv usage on windows, activate and deactivate

venv usage on windows, activate and deactivate

go on to your project root directory first create a virtual environment with syntax python3 -m venv <env-name> python3 -m venv niceproject a folder called niceproject will be automatically cd into <projectname> cd niceproject then in the Scripts folder cd Scripts then just type activate it will activate as there is an activate.bat in the… Continue Reading venv usage on windows, activate and deactivate

Mastering Python’s Regex – part 1 : Basics

Mastering Python’s Regex – part 1 : Basics

Python regular expressions is often an overlooked topic in the python apprentice path due to it’s seemingly mingled nature. If programming was new enough, you don’t need those bizarre symbols to complicate your life further. However, if you understand it, you can use it. Regex is easy … if you get the right tutorial !… Continue Reading Mastering Python’s Regex – part 1 : Basics