Salman Bin Mehmood

Python How-To's

  1. Check if the Generator Is Empty in Python
  2. Check if File Is Empty in Python
  3. Python Read Outlook Email
  4. Python Extract Table From Webpage
  5. Python Get CPU Temperature
  6. Python Subprocess Read Stdout While Running
  7. Use If-Elif-Else in List Comprehension in Python
  8. Longest Increasing Subsequence in Python
  9. Python Password Hashing
  10. Python Subprocess Capture Output
  11. Bitwise XOR of Hex Numbers in Python
  12. Python Compare Multilevel JSON Objects Using JSON Diff
  13. Python - Wait for the Async Function to Complete
  14. Python Deque Peek
  15. Python Fix Shared Memory Issues & Lock Shared Resources
  16. Python Mock Class Attribute
  17. Python Unittest vs Pytest
  18. Python Custom Iterator
  19. Python Mock Raise Exception
  20. Python Data Class From Dict
  21. Python Unittest Discovery
  22. Python - Regular Expression to Match a Multiline Block of Text
  23. Uninstall Python in Ubuntu
  24. Use Cookies in Python Requests
  25. Use Log4j With the Help of Logging Library in Python
  26. Python Selenium Headless: Open Chrome Browser in the Headless Mode
  27. Execute Shell Command and Get Output in Python
  28. Match Fuzzy String in Python
  29. Python Circular Import
  30. Python Step Through Code
  31. Define an Infinite Value in Python
  32. Python ValueError: Unknown Label Type: 'continuous'
  33. TypeError: __str__ Returned Non-String but Printing Output
  34. NameError: Name 'xrange' Is Not Defined in Python
  35. OSError: [WinError 10038] an Operation Was Attempted on Something That Is Not a Socket
  36. Python TypeError: Function Object Is Not Subscriptable
  37. Fix the SyntaxError: Invalid Syntax When Using Pip Install
  38. Fix the ImportError: Cannot Import Name in Python
  39. Function Is Not Defined Error in Python
  40. ModuleNotFoundError: No Module Named Tensorflow in Python
  41. Python Error Can't Find Main Module
  42. Python Matplotlib Inline Invalid Syntax'
  43. Python ValueError: No JSON Object Could Be Decoded
  44. TypeError: Cannot Convert the Series to <Class 'Float'> in Python
  45. Python TypeError: Must Use Keyword Argument for Key Function
  46. ImportError: DLL Load Failed in Python
  47. NoneType Object Has No Attribute Append in Python
  48. Convert Unicode to ASCII in Python
  49. NameError: Name Python Is Not Defined
  50. Python Error: Object Is Not Callable
  51. Solve Python: Can't Open File 'setup.py': [Errno 2] No Such File or Directory Error
  52. Blur Filters in OpenCV
  53. OpenCV Webcam
  54. OpenCV cvtColor
  55. OpenCV Face Detection Using the Haar Cascade Classifier
  56. OpenCV Median Filter
  57. OpenCV Motion Detection
  58. Use OCR to Extract Text From an Image in OpenCV
  59. OpenCV Dilate
  60. OpenCV Tracking

MySQL Howtos

  1. Elastic Search in MySQL
  2. Clear the Screen in MySQL
  3. MySQL Database Synchronization
  4. XAMPP MySQL Command Line
  5. MySQL Cron Job

Python PyGame Howtos

  1. Pygame clock.tick()
  2. Pygame get_rect Method

PowerShell Howtos

  1. Check if a Service Is Running Using PowerShell
  2. Byte Array in PowerShell
  3. PowerShell Copy File and Rename
  4. Loop Through a JSON File in PowerShell

Seaborn Howto's

  1. Seaborn Count Plot
  2. Seaborn Histogram Plot
  3. Create a 3D Plot Using Seaborn and Matplotlib
  4. Create Different Color Palette Using Seaborn
  5. Increase Heatmap Font Size in Seaborn
  6. Seaborn Boxplot Without Outliers
  7. Create a ClusterMap in Seaborn
  8. Create Linear Regression in Seaborn
  9. Set the Legend Outside of the Figure in Seaborn
  10. Create a Contour Plot in Seaborn

Python Pandas Howtos

  1. Pandas Read_csv From String
  2. Create Nested Dataframes in Pandas
  3. Filter Pandas DataFrame Rows by Regex
  4. Pandas Groupby Weighted Average
  5. Pandas Plot Value Counts in Descending Order
  6. Pandas value_counts Percentage
  7. Pandas Build DataFrame Row by Row
  8. Pandas Fillna Multiple Columns
  9. Pandas Reverse Dataframe
  10. Save Pandas Dataframe Table as a PNG
  11. Rank Pandas DataFrame Within Group
  12. Install Pandas Using Homebrew
  13. Pandas Fuzzy Match

Python NumPy Howtos

  1. NumPy Mask 2d Array
  2. Use Axis Argument to Manipulate a NumPy Array in Python
  3. NumPy Convert Datetime64 to Datetime.Datetime or Timestamp

Python Matplotlib Howto's

  1. No Handles With Labels Found to Put in Legend
  2. Create Multiple Axes in Matplotlib
  3. Set Width Parameter of Bar Graph in Matplotlib
  4. Create Trendline in Matplotlib
  5. Matplotlib Contour Plot
  6. Matplotlib Marker Fill
  7. Magic Function Inline in Matplotlib
  8. Color Cycle in Matplotlib
  9. Matplotlib Annotate
  10. Matplotlib Candlestick Plot
  11. Matplotlib Venn Diagram
  12. Matplotlib Waterfall Plot
  13. Create Circle Arrow in Matplotlib
  14. Create Colored Triangle in Matplotlib
  15. Matplotlib 3D Line Plot
  16. Create and Change Title Position in Matplotlib
  17. Matplotlib sharex Parameter
  18. Create Multiple Subplots Using Matplotlib
  19. Plot Dates in Matplotlib

Python Flask Howto's

  1. Flask Ajax
  2. Flask send_file()
  3. Flask Project Structure
  4. Flask request.args.get
  5. Flask SQLAlchemy Update
  6. Use a Production WSGI Server to Run a Flask App
  7. Log Errors Using Flask
  8. Connect MySQL Database in Flask
  9. Download a File Using Flask
  10. Flask WebSockets
  11. Get Query Parameters Using Flask
  12. Flask App Route
  13. Change Port in Flask
  14. Create Dynamic URL Using url_for in Flask
  15. Flask CORS
  16. Flask Secret Key
  17. Display an Image in Flask App
  18. Flask Debug Mode
  19. Handle Request Data in JSON Format in Flask
  20. Use Different Types of Parameters Inside the URL in Flask
  21. Flask Request Form
  22. Return a Valid JSON Response in Flask
  23. Create a Static Folder in Flask
  24. Flask Post Request
  25. Flask Redirect
  26. Run a Flask App

Django Howto's

  1. Manipulate Raw Queries in Django
  2. Django Change Password
  3. Use Dynamic URL Inside the Template in Django
  4. Use the Include Tag in Django
  5. Django OR Filter
  6. Use jQuery in a Django App
  7. Django Bootstrap
  8. Django Download File
  9. Reset Admin Password in Django
  10. Check if Object Exists in Django
  11. Create Field for Multiple Choices in Django
  12. Create Objects in Django
  13. Django Return JSON
  14. Upload Media in Django
  15. Use Post Request to Send Data to a Django Server
  16. Avoid Creating Duplicate Objects in Django
  17. Select_related Method in Django
  18. Django ALLOWED_HOSTS
  19. Filter Items From Query Set in Descending Order in Django
  20. Slug in Django
  21. Integrate Ajax With Django in Python

Python Tkinter Howtos

  1. Tkinter Dialog Box
  2. Tkinter Create_rectangle Method
  3. Tkinter Graph
  4. Tkinter in macOS
  5. Tkinter Intvar
  6. Tkinter SimpleDialog Module
  7. Tkinter askdirectory() Method
  8. Tkinter Askopenfilename
  9. Download Tkinter in Windows 10 64-Bit
  10. Install Tkinter With Conda
  11. Tkinter Tabs
  12. Tkinter Themes
  13. Creating a Tkinter Table
  14. Tkinter Photoimage
  15. Tkinter Mainloop
  16. Install Tkinter
  17. Tkinter Drag and Drop
  18. Tkinter File Dialog
  19. Tkinter Progress Bar
  20. Tkinter Threading
  21. Tkinter Draw Line
  22. Tkinter Rectangle
Salman Mehmood avatar Salman Mehmood avatar

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