Personal Blog

Author: admin

Programming

What is Dictionary in Python?

Python has some complicated data structures, such as: Lists, Tuples, Dictionaries and Sets Dictionary is also called Associative Array. A dictionary consists of a collection of key-value pairs. Definition: d = { <key>: <value>, <key>: <value>, . . . <key>: <value> } Iteration Code: dict = {'color': 'blue', 'fruit': 'apple', 'pet': 'dog'} for key in dict: print(key) Output: color fruit pet Code: for item in dict.items(): print(item) Output: ('color', 'blue') ('fruit', 'apple') ('pet', 'dog') Code: for item in dict.items(): print(item)…
Continue reading →
Programming

Natural Language Programming

Do you know, you don't have to be a programmer to write a computer program? These days, by improving artificial intelligence methods, you can just write down what you expect from a computer program, and using special interface, the story will interpreted and turned into a computer program. It don't have to be a specific person to do so, just a robot called "transparent robot" (hidden from human eyes) can write the story down and interface such as Inform 7…
Continue reading →
Education

Online Learning Platforms

Online Learning Platforms are platforms which offer learning via pre-recorded videos or live classes. In both cases a tutor will share his/her knowledge in form of videos, images, presentations or tutorials. So educator has the key-role to an online learning platform. These platforms may offer multiple language courses or just local language. In this post I am sharing some of these platforms which offer free courses or trials. Primary language is English. Coursera is one of the leading companies working…
Continue reading →
Programming

How to fix Bootstrap 5 in Dreamweaver

You know, if you want to use Bootstrap in Dreamweaver, it can be automatically done. Download bootstrap zip file from: https://getbootstrap.com/Put CSS and JS folder of Bootstrap in your root folderCreate New SiteCreate a file -> Select Bootstrap -> Attach Bootstrap.css file on the dialog below 5. Now Dreamweaver automatically will add line below to header: <link href="css/bootstrap.min.css" rel="stylesheet"> and these lines to footer of the page: <script src="js/jquery-3.4.1.min.js"></script> <script src="js/popper.min.js"></script> <script src="js/bootstrap.min.js"></script> Note: Some JavaScript function doesn't work in…
Continue reading →
Programming

Face Recognition on Python

A few weeks ago, me & my brother were talking about face recognition on scanned family photos.I got curious to find out how to implement a face recognition on Python. 1. Install Anaconda for Python Package ManagerIt has a shell for downloading packages automatically. 2. Download & Install CMakeFor compiling DLib on Visual Studio 2015 3. Install Visula Studio 2015 (Version is important) 4. Download DLib Package and Extract 5. Open CMake and configure like below: 6. Download & Install…
Continue reading →
Architecture

"House of Ettehadieh", today called "House of Tehran" was formerly the location of "My Uncle Napoleon" Series, located at "Lalezar" Street in Tehran, Iran.I personally was not interested to watching the series because I'm litterally not interested to watching movies. But in other hand a bookworm and I enjoyed reading the book of the same name. The author was "Iraj Pezeshkzad"; one of my favorite writers.
Continue reading →
Back to top