ar
Feedback
Programming World👨‍💻

Programming World👨‍💻

الذهاب إلى القناة على Telegram

All programming language tutorials,courses and more..! For HTML: @html_web_learn For CSS: @CSS_web_learn For JS: @JavaScript_js_learn For PHP: @learn_php_web For Programming courses @Programmingworld_dev For CEH,Cybersec: @technical_stark

إظهار المزيد
1 412
المشتركون
لا توجد بيانات24 ساعات
-57 أيام
-1330 أيام
أرشيف المشاركات
Devops Roadmap
Devops Roadmap

If you're 47 or younger, you're a time billionaire. Are you using that time wisely? IMPORTANT , READ WISELY 1 billion seconds = 31.7 years The average human lives about 79 years. If you're 47 or younger, that means you're a time billionaire. You likely have 1 billion+ seconds left in your life. If you're 20, there's a decent chance you're a multi-time billionaire. But almost NOBODY thinks this way. Why is that? It's because our society places more value on being a dollar billionaire. We severely overvalue the dollar billionaire and undervalue the time billionaire. This is flawed. Warren Buffett is worth billions of dollars. No young person in their right mind would switch lives with him if they had to be in their 90s. Time billionaire > Dollar billionaire Time is the most precious asset in the world.Everybody has the same amount of time each day. You can't buy more of it. It's the only thing in our lives that we can't reacquire once it's gone. On average, here's how we spend it: • Sleeping = 26 years • Trying to fall asleep = 7 years • Working = 13 years • TV = 8.3 years • Eating = 4.5 years • Chores = 4.3 years • Social media = 3 years • Commuting = 3 years • Grooming = 1.8 years • Exercise = 1.3 years With an average life expectancy of 79 years that leaves us with 6.8 years of free time. What falls into this bucket? • Reading • Falling in love • Going to concerts • Holidays/Vacations • Time with friends/family • Giving back to the community Only 8.6% of our lives! How much of your 6.8 years have you already used up? What would you do differently with your time if you cut that number in half? Think about these questions. Then ask yourself: "How can I optimize my time in the other buckets?" Stop the timepass. Work harder

Finding Any Ebook Using Index Search (Hidden Trick) Basically use this in google (ugh, gonna get some hate for saying that ain’t I?) -inurl:htm -inurl:html intitle:"index of" +("/ebooks"|"/book") +(chm|pdf|zip) +"BookName" Replace BookName with the title of the ebook, you’ll find FTP servers hosting said file, should get a hit in the first site or two. EXAMPLE: -inurl:htm -inurl:html intitle:“index of” +("/ebooks"|"/book") +(chm|pdf|zip) +" *Scary stories* " You get any format or file by changing ‘‘epub’’ to mobi, pdf, and all other extensions that available for book, See below, replace the * epub * with extension you need. -inurl:htm -inurl:html intitle:“index of” +("/ebooks"|"/book") +(chm|pdf|zip| *epub* ) +"Scary stories" #Collected

Which Programming Language to learn Based on Your Career Goals
Which Programming Language to learn Based on Your Career Goals

Expanding Google Summer of Code in 2022 Now it's open for everyone🥳 https://opensource.googleblog.com/2021/11/expanding-google-summer-of-code-in-2022.html?m=1

Hello people , I found an app to earn money without doing anything . So here I am with this app which will work on Android , Mac os and windows You can sign up with my referral and get 5$ without any loss on your side . Or you can simply sign up and get nothing ... It's upon you . So what is this app ? -> The name is honeygain . It basically uses your leftover internet to do things ( everything is legal so no worries ) and give you credits in return which you can redeem for real money . You simply have to turn it on once while using your device . It will automatically earn for you . Isn't it awesome ? Sign up : https://r.honeygain.me/PAVAN607D1 ( and get free 5$ ) If you have more doubts , you can visit their site . It's 100% real and authentic . Also lots of proofs is available on YouTube . Best wishes😇❤️

We thank this person for supporting us a lot and being a part of us We wish we get his/her support forever.

🎆

💕 May This Diwali Fill Into Our Lives New Hopes For Future And New Dreams For Tomorrow. With Lots Of Love, Wishing You A Ver
💕 May This Diwali Fill Into Our Lives New Hopes For Future And New Dreams For Tomorrow. With Lots Of Love, Wishing You A Very Happy Diwali 2021 💞

Hey there all, today, in this post,I will explain you a proper way to extract text from a pdf. Installation For extraction , we need a python module named ‘pdf2image’. We can install this module by using this command in your terminal. pip install pdf2image Import the Module First, we will import all the packages. You need pdf2image to convert PDF files to ppm image files. We will also manipulate the paths to join and rename text files, so that we can import the os and sys packages. The following part calls a PIL library and imports the image with pytesseract: import pdf2image import os, sys try: from PIL import Image except ImportError: import Image import pytesseract In the next step we have initialize the path of your documents and the counter to be used later. PATH = 'Enter your path' #initialize the counter that you will use later in your pdf extraction function i = 1 Some unrequired files will also be created with this function. So in this step , we will delete these files which are not required. def delete_ppms(): for file in os.listdir(PATH): if '.ppm' in file or '.DS_Store' in file: try: os.remove(PATH + file) except FileNotFoundError: pass Sorting Files Now will sort the pdf files according to their types. pdf_files = [] docx_files = [] for f in os.listdir(PATH): full_name = os.path.join(PATH, f) if os.path.isfile(full_name): name = os.path.basename(f) filename, ext =os.path.splitext(name) if ext == '.pdf': pdf_files.append(name) elif ext == ('.docx'): docx_files.append(name) After this piece of code, we can extract text from pdf using pdf_extract function. Last Step This print function will help you see which file is currently checked out: def pdf_extract(file, i): print("extracting from file:", file) delete_ppms() images = pdf2image.convert_from_path(PATH + file, output_folder=PATH) j = 0 for file in sorted (os.listdir(PATH)): if '.ppm' in file and 'image' not in file: os.rename(PATH + file, PATH + 'image' + str(i) + '-' + str(j) + '.ppm') j += 1 j = 0 f = open(PATH +'result{}.txt'.format(i), 'w') files = [f for f in os.listdir(PATH) if '.ppm' in f] for file in sorted(files, key=lambda x: int(x[x.index('-') + 1: x.index('.')])): temp = pytesseract.image_to_string(Image.open(PATH + file)) f.write(temp) f.close() The last step in this project , when you will run the below command,you will go to the directory you will see a text file by the name of result1.txt with all the text extracted from the PDF file. Code : for i in range(len(pdf_files)): pdf_file = pdf_files[i] pdf_extract(pdf_file, i) Thats all for today . Hope this is useful 😇

photo content

⚡️ 10 Ways to Speed Up Your Python Code ⚡️ 1. List Comprehensions numbers = [x**2 for x in range(100000) if x % 2 == 0] instead of = [] for x in range(100000): if x % 2 == 0: numbers.append(x**2) 2. Use the Built-In Functions Many of Python’s built-in functions are written in C, which makes them much faster than a pure python solution. 3. Function Calls Are Expensive Function calls are expensive in Python. While it is often good practice to separate code into functions, there are times where you should be cautious about calling functions from inside of a loop. It is better to iterate inside a function than to iterate and call a function each iteration. 4. Lazy Module Importing If you want to use the time.sleep() function in your code, you don't necessarily need to import the entire time package. Instead, you can just do from time import sleep and avoid the overhead of loading basically everything. 5. Take Advantage of Numpy Numpy is a highly optimized library built with C. It is almost always faster to offload complex math to Numpy rather than relying on the Python interpreter. 6. Try Multiprocessing Multiprocessing can bring large performance increases to a Python script, but it can be difficult to implement properly compared to other methods mentioned in this post. 7. Be Careful with Bulky Libraries One of the advantages Python has over other programming languages is the rich selection of third-party libraries available to developers. But, what we may not always consider is the size of the library we are using as a dependency, which could actually decrease the performance of your Python code. 8. Avoid Global Variables Python is slightly faster at retrieving local variables than global ones. It is simply best to avoid global variables when possible. 9. Try Multiple Solutions Being able to solve a problem in multiple ways is nice. But, there is often a solution that is faster than the rest and sometimes it comes down to just using a different method or data structure. 10. Think About Your Data Structures Searching a dictionary or set is insanely fast, but lists take time proportional to the length of the list. However, sets and dictionaries do not maintain order. If you care about the order of your data, you can’t make use of dictionaries or sets. 🔗Source ━━━━━━━━━━━━━ Share nd support 🤟😉

The best place on the web to learn anything, free. http://noexcuselist.com/
The best place on the web to learn anything, free. http://noexcuselist.com/

How To Grow From Non-Coder to Data Scientist in 6 Months A complete guide with all required resources https://towardsdatascience.com/how-to-grow-from-non-coder-to-data-scientist-in-6-months-197f465dfa9f

Cheatsheet on Quantitative aptitude . So go through it and prepare yourself for the placements and other competitive exams.

Competitive-Programming in Python 128 Algorithms to develop your Coding Skills

Core Java Cheat Sheet