Tutorials  Articles  Notifications  Login  Signup


Sign in to Publish articles, apply into jobs, participate in Hackathons.

Sign in

RK

Rajan Kumar

Founder at HackersFriend April 3, 2020, 10:18 p.m. 7547 views

How to upload file to SQL server using pyodbc python

To upload files to SQL server using pyodbc we use pyodbc.Binary() function. We open file as binary file using …


DG

Dhirendra Gupta

Student at BIT Mesra March 31, 2020, 10:25 p.m. 1792 views

Babylonian method to find the square root

Babylonian method to find the square root is based on Newton–Raphson method.

We start form y=1 and x = number and …


HS

Harsh Shukla

Intern at Microsoft March 31, 2020, 7:31 p.m. 2126 views

Maximum sum such that no two elements are adjacent

We are given an array of positive integres, and we need to find the sum of any subsequence in which …


AS

Anoop Singh

SDE 1 at Amazon March 31, 2020, 12:10 a.m. 1276 views

Accessing environment variable values in Python

There might be times, when we want to access environment variables of system that our program is running on.

To access environment variable …


RK

Rajan Kumar

Founder at HackersFriend Updated March 30, 2020, 12:41 p.m. 3654 views

How to prepare for Hack With Infy 2020

HackWithInfy is India-wide coding competition organize by Infosys for final year engineering students. For this year, HackWithInfy 2020 is being …


VS

Vishal Saxena

SDE 1 at Amazon March 29, 2020, 7:08 p.m. 1576 views

How to get the ASCII value of a character in Python

Function ord()  is used to get int ASCII value of any character in Python.

>>> ord('a')
97

To get …


RK

Rajan Kumar

Founder at HackersFriend March 27, 2020, 8:13 p.m. 3406 views

Building a news headlines player using Python and text to speech

In this article, I'll build a bot that will fetch latest news from internet and read it out.

I'll be using pyttsx3 …


RK

Rajan Kumar

Founder at HackersFriend March 27, 2020, 4:47 p.m. 3044 views

Python - Text to Speech by using pyttsx3

pyttsx3 is python library for text-to-speech. It works offline and is very easy to use. It s compatible with both Python …


HS

Harsh Shukla

Intern at Microsoft March 24, 2020, 7:18 p.m. 2015 views

HTML character codes

During front end developement, we often encounter situations where we need to show some special character on a page. HTML …


RK

Rajan Kumar

Founder at HackersFriend Updated March 24, 2020, 2:35 p.m. 12443 views

Filtering empty or NULL values in a Django queryset

In Django queryset we have __isnull to check if a value is null.

Here is how we use it:

MyModel …

HackerFriend Logo

Join the community of 1 Lakh+ Developers

Create a free account and get access to tutorials, jobs, hackathons, developer events and neatly written articles.


Create a free account

View more
HackerFriend Logo

Join the community of 1 Lakh+ Developers

Create a free account and get access to tutorials, jobs, hackathons, developer events and neatly written articles.


Create a free account

HackersFriend Updates




View more