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.

  •  
    74
    Shares
  • 20
  • 45
  • 9
  •  
  •  
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

web mail interface using pi and flask

web mail interface using pi and flask

have you ever used gmail or hotmail on the web? it seems so natural that we take it for granted. in this post we’ll see how to build a basic web mail client to send mail … using flask and pi as server. this is content flask intro : folder structure flask intro : requests… Continue Reading web mail interface using pi and flask

File Handling In Python

File Handling In Python

This blog covers the creating, reading, updating and deleting of files in python. Learning the handling files is as important as learning how to send requests in a web application. The key function in file handling in python is the open() function. It takes two arguments; the file name and the mode. The are four… Continue Reading File Handling In Python