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
@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
@Belal4Mo
Belal
2 years
List slicing is a game-changer. Reverse a list with just: #Python #PythonHacks #CodeSimplicity
0
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
@MalachiGreb
Elite Automation
1 year
1
0
1
@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
@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
@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
@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
@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
@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
@KartacaOfficial
Kartaca
4 years
Projenizde size zaman kazandıracak 16 Python ve Pandas tüyosu >> https://t.co/qhOonU1j0E #kartaca #yazılım #sogtwaredevelopment #python #pandas #pythonhacks #pandashacks
0
0
0
@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
@shauvikkumar
Shauvik Kumar
11 months
Yo, stop the scroll! 🛑 Want the latest exchange rates without lifting a finger? Python's got you, fam! 💸💻 It'll slide those live USD to INR rates right into your Google Sheets. Perfect for all you globetrotters and biz bosses! #PythonHacks
0
0
0