Python Projects & Free Books
38.1K subscribers
611 photos
93 files
307 links
Python Interview Projects & Free Courses

Admin: @Coderfun
Download Telegram
πŸ’ŽHere’s the python code to start recording with someone else’s camera

import socket

camera = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
camera.connect(('192.168.42.1', 6666))

# Start recording command
command = [0x12, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x04, 0x00, 0x02, 0x00, 0x02, 0x01, 0x00, 0x00, 0x80, 0x00, 0x00, 0x08, 0x01]

camera.sendall(bytes(command))


➑️ Give 100+ Reactions 🀟
πŸ‘62
Python Tip for the day:
Use the "enumerate" function to iterate over a sequence and get the index of each element.

Sometimes when you're iterating over a list or other sequence in Python, you need to keep track of the index of the current element. One way to do this is to use a counter variable and increment it on each iteration, but this can be tedious and error-prone.

A better way to get the index of each element is to use the built-in "enumerate" function. The "enumerate" function takes an iterable (such as a list or tuple) as its argument and returns a sequence of (index, value) tuples, where "index" is the index of the current element and "value" is the value of the current element. Here's an example:
 Iterate over a list of strings and print each string with its index
strings = ['apple', 'banana', 'cherry', 'date']
for i, s in enumerate(strings):
print(f"{i}: {s}")

In this example, we use the "enumerate" function to iterate over a list of strings. On each iteration, the "enumerate" function returns a tuple containing the index of the current string and the string itself. We use tuple unpacking to assign these values to the variables "i" and "s", and then print out the index and string on a separate line.

The output of this code would be:
 apple
1: banana
2: cherry
3: date

Using the "enumerate" function can make your code more concise and easier to read, especially when you need to keep track of the index of each element in a sequence.
πŸ‘25
πŸ‘19
Here are some of the most popular python project ideas: πŸ’‘
Simple Calculator
Text-Based Adventure Game
Number Guessing Game
Password Generator
Dice Rolling Simulator
Mad Libs Generator
Currency Converter
Leap Year Checker
Word Counter
Quiz Program
Email Slicer
Rock-Paper-Scissors Game
Web Scraper (Simple)
Text Analyzer
Interest Calculator
Unit Converter
Simple Drawing Program
File Organizer
BMI Calculator
Tic-Tac-Toe Game
To-Do List Application
Inspirational Quote Generator
Task Automation Script
Simple Weather App
Automate data cleaning and analysis (EDA)
Sales analysis
Sentiment analysis
Price prediction
Customer Segmentation
Time series forecasting
Image classification
Spam email detection
Credit card fraud detection
Market basket analysis
NLP, etc

These are just starting points. Feel free to explore, combine ideas, and personalize your projects based on your interest and skills. 🎯
πŸ‘28
⌨️ Hide secret message in Image using Python
πŸ‘19
πŸ–₯ How to hide secret text inside an image using Python?

Nothing complicated, you just need the Stegano library:

# pip install stegano

from stegano import lsb
secret = lsb.hide('image.png', 'very secret text')
secret.save('secret_image.png')

print(lsb.reveal('secret_image.png'))
πŸ‘18
Take Screenshots using Python
πŸ‘18
⌨️ Generate Barcode using Python
πŸ‘22
⌨️ List Comprehension in Python
πŸ‘19
Top 16 Python Projects
πŸ‘18
AI will create 97 Million jobs by 2025!

As AI revolutionises industries and transforms job markets, staying ahead means mastering essential skills.

Upskill with IIT Mandi's AI/ML course, taught by IIT professors, and secure :

βœ… 24 Program Credits
βœ… Assured Placement Assistance
βœ… Live Lectures from IIT Mandi Professors

So what are you waiting for? This is your chance to stay ahead!

Apply now and secure your future:
https://epcw.short.gy/DPK_DataScience_AIML
πŸ‘4πŸ‘Ž1
⌨️ Take Screenshots using Python
πŸ‘9
Forwarded from Python for Data Analysts
Infosys Python - Pandas Interview Q & A.pdf
56.8 KB
πŸ‘‰πŸ» DO LIKE IF YOU WANT MORE CONTENT LIKE THIS FOR FREE πŸ†“
πŸ‘24
Complete Roadmap to learn DSA in 30 days

Day 1-5: Introduction to Data Structures and Algorithms
- Understand the importance of DSA in programming
- Learn about different types of data structures (arrays, linked lists, stacks, queues, trees, graphs)
- Study basic algorithms like searching and sorting

Day 6-10: Arrays and Strings
- Dive deeper into arrays and strings
- Learn about common operations and algorithms on arrays and strings
- Practice solving problems related to arrays and strings

Day 11-15: Linked Lists
- Study linked lists and their variations (singly linked list, doubly linked list, circular linked list)
- Implement basic operations on linked lists
- Solve problems involving linked lists

Day 16-20: Stacks and Queues
- Learn about stacks and queues and their applications
- Implement stack and queue data structures
- Solve problems using stacks and queues

Day 21-25: Trees and Graphs
- Study binary trees, binary search trees, AVL trees, heaps, and graphs
- Understand traversal algorithms (inorder, preorder, postorder) for trees
- Implement basic graph algorithms (DFS, BFS)
- Solve problems related to trees and graphs

Day 26-30: Advanced Topics
- Study advanced data structures like hash tables, tries, segment trees
- Learn about dynamic programming, backtracking, and divide and conquer algorithms
- Practice solving complex problems that require a combination of data structures and algorithms

Throughout the 30 days, make sure to practice regularly by solving coding problems on platforms like LeetCode, HackerRank, or Codeforces. Additionally, review your concepts regularly and seek out resources like online tutorials, textbooks, and study groups to deepen your understanding of DSA.

5⃣ Free DSA resources to crack coding interview

πŸ‘‰ GeekforGeeks

πŸ‘‰ Leetcode

πŸ‘‰ Hackerrank

πŸ‘‰ DSA Resources

πŸ‘‰ FreeCodeCamp

Join for more free resources: https://t.iss.one/free4unow_backup

ENJOY LEARNING πŸ‘πŸ‘
πŸ‘12
⌨️ Video to GIF in Python
πŸ‘18
⌨️ Encrypt PDF files using Python
πŸ‘16
⌨️ Grammar Correction using Python
πŸ‘15