Posts

Showing posts from September, 2018

Entry widgets with Python

Image
Entry widgets are the basic widgets of Tkinter used to get input, i.e. text strings, from the user of an application. This widget allows the user to enter a single line of text. If the user enters a string, which is longer than the available display space of the widget, the content will be scrolled. This means that the string cannot be seen in its entirety. The arrow keys can be used to move to the invisible parts of the string. If you want to enter multiple lines of text, you have to use the text widget. An entry widget is also limited to single font. The syntax of an entry widget looks like this: w = Entry(master, option, ... ) "master" represents the parent window, where the entry widget should be placed. Like other widgets, it's possible to further influence the rendering of the widget by using options. The comma separated list of options can be empty. The following simple example creates an application with two entry fields. One for entering a last name...

Create a MessageBox in Python

Image
To show a message box using Tkinter, you can use messagebox library like this: from tkinter import messagebox showinfo('Message title' , 'Message content') Pretty easy!! Let’s show a message box when the user clicks a button.  The output of the above code is shown below: And when you will press the created button, a messagebox will appear on the screen as shown below: ABOUT : The programming language you will learn is Python . Python is an example of a highlevel language; other high-level languages you might have heard of are C, C++, Perl, and Java. There are also low-level languages, sometimes referred to as “machine languages” or “assembly languages.” Loosely speaking, computers can only run programs written in low-level languages. So programs written in a high-level language have to be processed before they can run. This extra processing takes some time, which is a small disadvantage of high-level languages. The advantages are enorm...

How an effective ISO 27001 can help you achieve GDPR?

Image
Overview ISO 27001:2013 is Information Security Management System (ISMS). This is an international standard which has framework of policies and procedures that includes all technical, physical, legal and administrative controls involved in an organisation's information risk management processes. General Data Protection Regulation ( GDPR ) is meant for protection of all the European citizen's personal data. It is a Regulation in European Union Law on Data Protection and privacy for all individuals within the European Union. Structure ISO 27001:2013 has 7 strategic clauses 14 generic clauses and 114 controls which covers end to end information security of organisations GDPR consists of 99 articles, which is further grouped into 11 chapters and an additional 171 recitals with explanatory remarks. The basis of both ISMS and GDPR is integrity, availability and confidentiality. How ISO 27001 helps If we look at Article 32(Security in processing) of the GDPR there requirem...