Explore tweets tagged as #pythonhacks
@hack_git
HackGit
2 years
PythonHacks This repo contains some solved python codes dedicated for below two cases. β€’ Some solved hacker code , which developers will face ( has to solve) during hiring process. β€’ AWS Cloud boto3 module usage - for Lambda and any other services aimed at automation.
0
37
140
@cyb_detective
Cyber DetectiveπŸ’™πŸ’›
2 years
Python Hacks Collection of #python code samples for different cybersecurity tasks. https://t.co/gapqHXSrI6
2
148
490
@Belal4Mo
Belal
2 years
List slicing is a game-changer. Reverse a list with just: #Python #PythonHacks #CodeSimplicity
0
0
0
@faizanafzal
Faizan Afzal
3 years
Dict comprehension: Similar to list comprehension, but for dictionaries. E.g., "new_dict = {k:v*2 for k, v in old_dict.items()}". A smart way to handle dictionaries! #PythonHacks (6/10)
1
0
0
@faizanafzal
Faizan Afzal
3 years
In-place value swapping: Swap the values of two variables without a temp variable. Just type "a, b = b, a". This is Python's way of swapping. No extra variable needed! #PythonHacks (2/10)
1
0
0
@heinrichhartman
Heinrich Hartmann
2 years
Found a nifty way to return a export a whole bunch of state from a function as a Python object. 🐲πŸ”₯πŸ€·β€β™‚οΈβ˜•οΈ #PythonHacks
0
0
0
@ibm_luq
Ibrahim Luqman
1 year
Strongly typed Python? You bet! Use typing for type hints and improve readability. Cleaner, safer code. #PythonHacks #CodeSmart
0
0
1
@AkshaykKaushik
Akshay Kaushik πŸπŸ‘¨β€πŸ’»
3 years
➑️ Simplify your code with this #Python trick: πŸ€– Flatten a nested list using a list comprehension: flattened_list = [x for sublist in nested_list for x in sublist] #pythonhacks #codingtips
0
0
2
@EcomMarketFix_
Digital and Fintech Analytics
4 years
1/2 Python - How to convert the contents of a Jupyter Notebook cell into a .py file ? πŸͺ„. Enter Magic command :- %%writefile . πŸͺ„. Check the comment section πŸ‘‡πŸ‘‡for tutorial video on how %%writefile command works. #data #DataScience #software #pythonhacks
1
1
3
@MalachiGreb
Elite Automation
1 year
1
0
1
@shauvikkumar
Shauvik Kumar
11 months
Yo, fam! Get this - instant summary stats in Sheets! πŸ“Šβœ¨ Mean, median, min, max - Python's got you! No more boring formulas, just auto-magic! πŸ”₯ #GoogleSheets #PythonHacks
0
0
0
@ibm_luq
Ibrahim Luqman
1 year
Pair data effortlessly with Python’s zip! Combine iterables into tuples for cleaner, faster code. Simple and powerful! #PythonHacks #CleanCode
0
0
0
@utkarshML
Utkarsh Srivastava
4 years
#PythonHacks - One day i was stuck with 2 huge arrays and had to find common and non-common elements. #Numpy came to rescue - setdiff1d() and intersect1d() functions do just that #pythoncode #Python #learntocode #machinelearning #coders #devcommunity #100daysofcode
0
15
30
@shauvikkumar
Shauvik Kumar
11 months
Yo, fam! 🌍✨ Smash that translate button to turn your sheets into French, Spanish, or Japanese! πŸ’₯ Python and Google Translate API got your back! No more app-switching, just vibes! #PythonHacks #GoogleSheetsMagic
1
0
3
@eicta_iitk
E&ICT Academy, IIT Kanpur
1 year
Say goodbye to KeyErrors with defaultdict! Simplify your dictionary operations and handle missing keys effortlessly. πŸ™Œ #PythonTips #CodingMadeEasy #PythonHacks
0
0
0
@zydniofficial
Zydni
1 year
Code smarter, not longer! Unlock the power of these 6 Python techniques to write cleaner, shorter, and more efficient code. #PythonHacks #CodeEfficiently #LearnPython #ProgrammingTips #CodingMadeEasy
0
0
0