Skip to main content

Posts

Showing posts from 2017

How To Install Tensorflow On Windows

Why I am writing this tutorial ?
Recently I have started learning machine learning specifically DeepLearning for one of my pet projects, and during this quest of mine I wanted to learn TensorFlow library which is developed by Google. Learning is one thing but first I needed to install the library, but there was this problem which I faced during the installation. I am using Anaconda as my package manager and trying to install the Tensorflow library on my work computer which is behind a proxy, installing directly from the anaconda cloud while behind a proxy always displayed a proxy error.

How did I resolve the issue? Well this is exactly what I am going to write down in the below tutorial. The Steps To Follow
Before we get all cosy with this short tutorial on Tensorflow installation, let me tell you that
this tutorial is on the assumption that you have already installed Anaconda on your machine and you know at least a few basic things or two about python.
If you want to learn basic pyt…

For Loop in python 3 : How to become a Python Jedi - Beginners Python Programming Tutorial - Part 7

I am back again with another part in the beginner python programming tutorial series. We will continue with "Loops" but this time we are going to learn how to use for loop in python 3. 


Difference between For loop and While Loop
A "For Loop" and "While Loop" have a common connection that both are looping statement, but major difference is that unlike while loop, a for loop gets executed a specified number of times.



We can break down the For loop into the following components(Refer to the for loop flow chart below).
for keywordvariable namecall to the range functioncolon operatorclause or block of code Hovering over the flow-chart
The above flow-chart is..well horrible I know, but I make my own drawings because I can't afford an artist. So, bear with me. In the above flowchart is a very basicy, laymanish representation of a for loop. The decision box contains the For statement along-with it's soulmate i.e the Range function. As long as the variable I …

Buy me a coffee

Hey fiends thanks for the love that you guys have shown me. I am overwhelmed by the daily visits that I get on my blow and my youtube channel.

I usually work at night to create and share programming tutorials and stuffs on my blog thecodingproject.blogspot.com & youtube channel https://goo.gl/iYQAnn  . A nice hot cup of coffee from you would be great to get me going. Now it's perfectly fine if you don't want to buy me a coffee, you can just stop by to say hello.

Collatz sequence python : Monday fun with Python

Hello everyone. Today is Monday..well not a big deal and I know everyone knows today is a Monday. Like you I'm not a big fan of Monday, although nowadays I'm waiting eagerly for this day of the week as I get to watch a Game of Thrones episode on this day and I'm sure most of you can reciprocate the same feeling. The only thing I hate the most is the long wait till Monday night till I return to home from office and get to watch that episode for which I wait for one whole week and here I am in office waiting for the day to get over soon.

The plan To kill the time I do one of the thing that I love the most. Yes, you guessed right? I code. So, I decided to fool around some python programming code to kill the boredom. Without much ado let's code :) I decided to device a python program that would help me to devise a "collatz sequence" In case you are thinking what a "collatz sequence" is then dive into this link here.

For more understanding on python check…

Where are the new Python Blogs?

Hello friends I welcome you back after a long long time. It's been nearly 3 weeks since I have posted any blog post here or any new tutorial videos on my youtube channel. Recently I have been involved in many of my pet projects. One of them being studying machine learning, I am a geek at heart and I love to learn new tech things and machine learning is one that ha got me hooked and this is the reason I am spending most of my time studying ML. Meanwhile I am also trying to learn and android development and trying to build an app on my own which is again a totally new field for me and it's taking up a very large chunk of my time not to mention my full time job.

Then there's my youtube channel for which I am trying to develop the best content for you guys and doing this involves a long planning, building the content, editing the videos etc. and this take a lot of time as I am able to devote 30 mins daily at the best to my youtube content creation and that explains the very l…

While Loop in python : How to become a Python Jedi - Beginners Python Programming Tutorial - Part 6

Welcome back friends to another post on TheCodingProject and we are back with the sixth chapter of the Beginner Python programming tutorial - How to become a python Jedi. This time we are going to learn how to use while loop in python.
The While Loop statement? In Python Programming, There are 3 types of loops →
While loop For loop Nested loops
Now to get into some action→
Let’s consider that two groups of aliens have landed on earth  out of these two one of the group is good & the other are the bad guys. The govt. Has given you the task of designing a system that takes in input from different eyewitnesses & then classify that whether the aliens that these eyewitnesses encounter are the good guys or bad guys.










Copy & paste the above code in your editor and run this code. What do you get ? When the input is Autobots it matches the condition aliens == "Autobots" & it enters the loop to prints the statement pointed by the print method.
We can also use negative conditions…

If else in python : Beginners Python Programming Tutorial - How to become a Python Jedi - Part 5

Welcome back friends to another post on TheCodingProject and we are back with the fourth chapter of the Beginner Python programming tutorial - How to become a python Jedi. This time we are going to learn about decision making in python using the If Else statement in python.
The If-Else statement? In Python Programming, decision making is done by using a conditional statement like the If-Else statement. An If statement consists of 3 parts → If keyword a conditional operator the values which needs comparison
Now it should be kept in mind that the only values that an If condition returns are a True or a False , Using this True or a False we can decide if the condition that we are trying check is right or wrong. When Coding knowledge came to my rescue→ Let me tell you a story about how coding knowledge came to rescue . I have this neighbour named Alex who doesn't quite seem to be a regular guy. Wait ! actually he never seemed to me as a regular human 😟. This one day I was visiting him at h…

Logical operators in python : Beginner Python Programming Tutorial - How to become a Python Jedi - Part 3-4

Welcome back friends to another post on TheCodingProject and we are back with the fourth chapter of the Python programming tutorial - How to become a python Jedi. This time we are going to learn about logical operators.
What are Logical Operators ? Logical operators are used to compare any two values, be it two numbers , two strings or any other objects. In short these operators help us to make a decision by giving back the results of a comparison. logical operators always return either a True or a False.
Different Logical operators → == Equal to !=  Not equal to <   Less than >   greater than <= Less than or equal to >= Greater than or equal to
Examples of Logical operators → Let’s get into some examples to better understand the usage of comparison operators. Copy the below code and paste it in pycharm or any other editor that you have. Additionally you can also download the comparison operators.py code file of this tutorial from github. →









For the first print statement the Equals to…

Boolean in Python : How to become a Python Jedi - A Python programming tutorial - part 3

Welcome back friends to another episode of TheCodingProject and we are back with the third chapter of the Python programming tutorial - How to become a python Jedi. This time we are going to get a taste of boolean operators.

What are Boolean Operators ? Computers don’t understand the common human language, they only speak and understand machine level language and this language is made up of only two numbers 0 & 1. These numbers are known as binary numbers & this language is known as binary language. Now if you are a crazy nerd like me and you wanna know more then dive in here. The numbers 0 & 1 also represent decision making as they also represent True (for 0) & False (for 1) and these two operators are known as boolean operators.

Enough talk man, I’m here to learn code!!😠 Okay Okay I just took a trip in my emotion boat. I know you want to learn code so let’s just cut the talk talk & dive to code code. Yayyy!! Boolean operators in action Copy the below code and paste …