Salman Bin Mehmood
Python How-To's
- Check if the Generator Is Empty in Python
- Check if File Is Empty in Python
- Python Read Outlook Email
- Python Extract Table From Webpage
- Python Get CPU Temperature
- Python Subprocess Read Stdout While Running
- Use If-Elif-Else in List Comprehension in Python
- Longest Increasing Subsequence in Python
- Python Password Hashing
- Python Subprocess Capture Output
- Bitwise XOR of Hex Numbers in Python
- Python Compare Multilevel JSON Objects Using JSON Diff
- Python - Wait for the Async Function to Complete
- Python Deque Peek
- Python Fix Shared Memory Issues & Lock Shared Resources
- Python Mock Class Attribute
- Python Unittest vs Pytest
- Python Custom Iterator
- Python Mock Raise Exception
- Python Data Class From Dict
- Python Unittest Discovery
- Python - Regular Expression to Match a Multiline Block of Text
- Uninstall Python in Ubuntu
- Use Cookies in Python Requests
- Use Log4j With the Help of Logging Library in Python
- Python Selenium Headless: Open Chrome Browser in the Headless Mode
- Execute Shell Command and Get Output in Python
- Match Fuzzy String in Python
- Python Circular Import
- Python Step Through Code
- Define an Infinite Value in Python
- Python ValueError: Unknown Label Type: 'continuous'
- TypeError: __str__ Returned Non-String but Printing Output
- NameError: Name 'xrange' Is Not Defined in Python
- OSError: [WinError 10038] an Operation Was Attempted on Something That Is Not a Socket
- Python TypeError: Function Object Is Not Subscriptable
- Fix the SyntaxError: Invalid Syntax When Using Pip Install
- Fix the ImportError: Cannot Import Name in Python
- Function Is Not Defined Error in Python
- ModuleNotFoundError: No Module Named Tensorflow in Python
- Python Error Can't Find Main Module
- Python Matplotlib Inline Invalid Syntax'
- Python ValueError: No JSON Object Could Be Decoded
- TypeError: Cannot Convert the Series to <Class 'Float'> in Python
- Python TypeError: Must Use Keyword Argument for Key Function
- ImportError: DLL Load Failed in Python
- NoneType Object Has No Attribute Append in Python
- Convert Unicode to ASCII in Python
- NameError: Name Python Is Not Defined
- Python Error: Object Is Not Callable
- Solve Python: Can't Open File 'setup.py': [Errno 2] No Such File or Directory Error
- Blur Filters in OpenCV
- OpenCV Webcam
- OpenCV cvtColor
- OpenCV Face Detection Using the Haar Cascade Classifier
- OpenCV Median Filter
- OpenCV Motion Detection
- Use OCR to Extract Text From an Image in OpenCV
- OpenCV Dilate
- OpenCV Tracking
MySQL Howtos
- Elastic Search in MySQL
- Clear the Screen in MySQL
- MySQL Database Synchronization
- XAMPP MySQL Command Line
- MySQL Cron Job
Python PyGame Howtos
PowerShell Howtos
- Check if a Service Is Running Using PowerShell
- Byte Array in PowerShell
- PowerShell Copy File and Rename
- Loop Through a JSON File in PowerShell
Seaborn Howto's
- Seaborn Count Plot
- Seaborn Histogram Plot
- Create a 3D Plot Using Seaborn and Matplotlib
- Create Different Color Palette Using Seaborn
- Increase Heatmap Font Size in Seaborn
- Seaborn Boxplot Without Outliers
- Create a ClusterMap in Seaborn
- Create Linear Regression in Seaborn
- Set the Legend Outside of the Figure in Seaborn
- Create a Contour Plot in Seaborn
Python Pandas Howtos
- Pandas Read_csv From String
- Create Nested Dataframes in Pandas
- Filter Pandas DataFrame Rows by Regex
- Pandas Groupby Weighted Average
- Pandas Plot Value Counts in Descending Order
- Pandas value_counts Percentage
- Pandas Build DataFrame Row by Row
- Pandas Fillna Multiple Columns
- Pandas Reverse Dataframe
- Save Pandas Dataframe Table as a PNG
- Rank Pandas DataFrame Within Group
- Install Pandas Using Homebrew
- Pandas Fuzzy Match
Python NumPy Howtos
- NumPy Mask 2d Array
- Use Axis Argument to Manipulate a NumPy Array in Python
- NumPy Convert Datetime64 to Datetime.Datetime or Timestamp
Python Matplotlib Howto's
- No Handles With Labels Found to Put in Legend
- Create Multiple Axes in Matplotlib
- Set Width Parameter of Bar Graph in Matplotlib
- Create Trendline in Matplotlib
- Matplotlib Contour Plot
- Matplotlib Marker Fill
- Magic Function Inline in Matplotlib
- Color Cycle in Matplotlib
- Matplotlib Annotate
- Matplotlib Candlestick Plot
- Matplotlib Venn Diagram
- Matplotlib Waterfall Plot
- Create Circle Arrow in Matplotlib
- Create Colored Triangle in Matplotlib
- Matplotlib 3D Line Plot
- Create and Change Title Position in Matplotlib
- Matplotlib sharex Parameter
- Create Multiple Subplots Using Matplotlib
- Plot Dates in Matplotlib
Python Flask Howto's
- Flask Ajax
- Flask send_file()
- Flask Project Structure
- Flask request.args.get
- Flask SQLAlchemy Update
- Use a Production WSGI Server to Run a Flask App
- Log Errors Using Flask
- Connect MySQL Database in Flask
- Download a File Using Flask
- Flask WebSockets
- Get Query Parameters Using Flask
- Flask App Route
- Change Port in Flask
- Create Dynamic URL Using url_for in Flask
- Flask CORS
- Flask Secret Key
- Display an Image in Flask App
- Flask Debug Mode
- Handle Request Data in JSON Format in Flask
- Use Different Types of Parameters Inside the URL in Flask
- Flask Request Form
- Return a Valid JSON Response in Flask
- Create a Static Folder in Flask
- Flask Post Request
- Flask Redirect
- Run a Flask App
Django Howto's
- Manipulate Raw Queries in Django
- Django Change Password
- Use Dynamic URL Inside the Template in Django
- Use the Include Tag in Django
- Django OR Filter
- Use jQuery in a Django App
- Django Bootstrap
- Django Download File
- Reset Admin Password in Django
- Check if Object Exists in Django
- Create Field for Multiple Choices in Django
- Create Objects in Django
- Django Return JSON
- Upload Media in Django
- Use Post Request to Send Data to a Django Server
- Avoid Creating Duplicate Objects in Django
- Select_related Method in Django
- Django ALLOWED_HOSTS
- Filter Items From Query Set in Descending Order in Django
- Slug in Django
- Integrate Ajax With Django in Python
Python Tkinter Howtos
- Tkinter Dialog Box
- Tkinter Create_rectangle Method
- Tkinter Graph
- Tkinter in macOS
- Tkinter Intvar
- Tkinter SimpleDialog Module
- Tkinter askdirectory() Method
- Tkinter Askopenfilename
- Download Tkinter in Windows 10 64-Bit
- Install Tkinter With Conda
- Tkinter Tabs
- Tkinter Themes
- Creating a Tkinter Table
- Tkinter Photoimage
- Tkinter Mainloop
- Install Tkinter
- Tkinter Drag and Drop
- Tkinter File Dialog
- Tkinter Progress Bar
- Tkinter Threading
- Tkinter Draw Line
- Tkinter Rectangle
Author: Salman Mehmood
Hello! I am Salman Bin Mehmood(Baum), a software developer and I help organizations, address complex problems. My expertise lies within back-end, data science and machine learning. I am a lifelong learner, currently working on metaverse, and enrolled in a course building an AI application with python. I love solving problems and developing bug-free software for people. I write content related to python and hot Technologies.
LinkedIn