Skip to content

Instantly share code, notes, and snippets.

View Manav1918's full-sized avatar
🏠
Software Engineer

Pawan Kumar Manav1918

🏠
Software Engineer
View GitHub Profile
@Manav1918
Manav1918 / wordcount.c
Created July 16, 2018 02:57
count word in a string in c
//programme of counting number of words in a string
char* remove_extra_spaces(char *s);
int count_words(char *S);
main()
{
char str[100];
int no_of_words;
printf("Enter a string\n");
gets(str);
printf(" \nString length with extra spaces is:%d",strlen(str));
@Manav1918
Manav1918 / Cid calculator.py
Created July 17, 2018 09:37
Simple Hindi calculator
from tkinter import*
def iCalc(source,side):
storeObj=Frame(source, borderwidth=4, bd=4,bg="#00F5FF")
storeObj.pack(side=side,expand=YES,fill=BOTH)
return storeObj
def button(source,side,text,command=None):
storeObj = Button(source, text=text, command=command)
storeObj.pack(side=side, expand=YES, fill=BOTH)
@Manav1918
Manav1918 / pdf2Word.py
Created August 6, 2019 20:33
This File is Source code of pdf to word / any text file format converter [GUI] app . This can extract text from pdf and read. then you can ave that text to any file format like word file,text file or python file.
from tkinter import *
from tkinter import filedialog
from tkinter.filedialog import askopenfilename,asksaveasfile
from PyPDF2 import PdfFileReader
#=================open file method======================
def openFile():
file = askopenfilename(defaultextension=".pdf",
filetypes=[("Pdf files","*.pdf")])
if file == "":
@Manav1918
Manav1918 / QR Code Generator.py
Created August 31, 2019 19:40
This app is designed in python using Tkinter Module for genearting QR Code for any type of text like- website name, mob no. , person name UPI ID etc. qrcode module is used for generating QR Code.
''' This app is designed by: Pawan Sir @CID An Education Hub
visit Youtube channel :- 'Youtube.com/c/cidaneducationhub' for Tutorial of this App And many more '''
# Donate to Pawan Sir for appriciation on : paypal.me/cieduhub or UPI ID - cidaneducationhub@oksbi '''
#===============================================================================================================#
import qrcode
from tkinter import *
from tkinter import messagebox
def reset():