Muhammad Maisam Abbas

Python How-To's

  1. Convert Hex to Base64 in Python
  2. Python Heapq Peek
  3. Python Segmentation Fault 11
  4. Python Threading Queue
  5. Anonymous Objects in Python
  6. Python Downsample Array
  7. Python While Loop User Input
  8. Python Apriori Algorithm
  9. Python Topological Sort
  10. Python Heap Sort
  11. Add Values to a Set in Python
  12. Print String to Text File Using Python
  13. Python Guessing Game
  14. Connect to a MySQL Database in Python
  15. Print Subscripts to the Console Window in Python
  16. Python JSON Stringify
  17. Find First Occurrence in a String in Python
  18. Series Summation in Python
  19. Convert Boolean Values to Integer in Python
  20. Split List Into Sublists in Python
  21. Handle NameError Exception in Python
  22. Multiply List by Scalar in Python
  23. Compress and Decompress Data Using Zlib in Python
  24. Python Pipe
  25. The getpass Module in Python
  26. Python Export to Excel
  27. Sort 2D Array in Python
  28. Python Write to CSV Line by Line
  29. Import All Functions From File in Python
  30. Rename Python Function Pointer
  31. Convert String to Unicode in Python
  32. Check if a Number Is Even or Odd in Python
  33. Find Files Using Python
  34. Install Pyperclip in Python
  35. Parse String to List in Python
  36. Python Sort String Alphabetically
  37. Repeat String N Times in Python
  38. Find All Indexes of a Character in Python String
  39. Print % Sign in Python
  40. Print Variable Name in Python
  41. Python Divisible
  42. Python Multiple Constructors
  43. Read Last Line of File Using Python
  44. Remove Punctuation From Python List
  45. Split Sentence Into Words in Python
  46. Thread Lock in Python
  47. Color Spectrums in Python
  48. Convert Docx to PDF in Python
  49. EOL While Scanning String Literal in Python
  50. Get Set Intersection in Python
  51. Quantile-Quantile Plot in Python
  52. Remove Element From Set in Python
  53. Exit the if Statement in Python
  54. Quote Backslash in String in Python
  55. Remove Parentheses From String in Python
  56. Spell Checker in Python
  57. B in Front of String in Python
  58. Create Ordered Set in Python
  59. Exit Commands in Python
  60. Run Python in Atom
  61. The __file__ Variable in Python
  62. The while True Statement in Python
  63. Check if a String Is a Palindrome in Python
  64. Check the Anaconda Version
  65. Convert HEX to RGB in Python
  66. Logging to stdout in Python
  67. Search a List of Dictionaries in Python
  68. Write Logs to a File in Python
  69. Check if a String Contains Word in Python
  70. Convert Bytearray to String in Python
  71. Downgrade Python 3.9 to 3.8
  72. Find Number of Digits in a Number in Python
  73. Install Mysqldb With pip
  74. Install pip3 on Mac
  75. Iterate Backwards in Python
  76. List Subdirectories in Python
  77. Open All the Files in a Directory in Python
  78. Calculate Mahalanobis Distance in Python
  79. Calculate Derivative in Python
  80. Relative Path in Python
  81. Write String to a File in Python
  82. Add Key to a Dictionary in Python
  83. Append One String to Another in Python
  84. Append Values to a Set in Python
  85. Calculate Time Elapsed in Python
  86. Comment a Block of Code in Python
  87. Generate a Random Value Between 0 and 1 in Python
  88. Get Index of Maximum and Minimum Value of a List in Python
  89. Get Last Element of List in Python
  90. Import a File in Python
  91. Import Class From Subdirectories in Python
  92. Line Continuation in Python
  93. Remove List Element by Index in Python
  94. Break Out of Multiple Loops in Python
  95. Declare 3D Array in Python
  96. String Capitalization in Python
  97. Download Image in Python
  98. Get List Shape in Python
  99. Use del Keyword in Python
  100. List Intersection in Python
  101. Case Insensitive String Comparison in Python

C# Howtos

  1. Network Programming in C#
  2. C# Cross-Platform
  3. C# new vs override
  4. Create a Generic Function in C#
  5. HashSet vs List in C#
  6. Integer Division in C#
  7. String Tokenizer in C#
  8. Check if TextBox Is Empty in C#
  9. Clear TextBox in C#
  10. Convert List to IEnumerable in C#
  11. Convert String to Char in C#
  12. Multiline Label in C#
  13. Parse CSV File in C#
  14. Remove Duplicates From List in C#
  15. Repeat String X Times in C#
  16. Check if Process Is Running in C#
  17. Convert Enum to String in C#
  18. Count Down Timer in C#
  19. Destroy Object in C#
  20. Get Executable Path in C#
  21. HTML to PDF in C#
  22. Read XLSX File in C#
  23. TextBox New Line in C#
  24. Clear ListBox in C#
  25. Popup Message in C#
  26. Repeat String in C#
  27. REST API in C#
  28. Standard Deviation in C#
  29. The nameof Expression in C#
  30. Thread Safe List in C#
  31. Close Form in C#
  32. Append to Text File in C#
  33. Array of Lists in C#
  34. C# Equals() vs ==
  35. Catch Multiple Exceptions in C#
  36. Check if a String Is Null or Empty in C#
  37. Check Palindrome String in C#
  38. Convert Int to Bool in C#
  39. Convert Long to Integer in C#
  40. Convert String to Hex in C#
  41. Create New Instance From Type in C#
  42. Deep Copy in C#
  43. Delete All Files in a Directory in C#
  44. Delete Object in C#
  45. Force Garbage Collection in C#
  46. Format a String to Currency in C#
  47. Get All File Names in a Directory in C#
  48. Get the Last Element of a List in C#
  49. Keep Console Open in C#
  50. LINQ Group by in C#
  51. Numbers Only in TextBox in C#
  52. Pass Object by Reference in C#
  53. Read a File to String in C#
  54. Read Integer From Console in C#
  55. Remove First Character From String in C#
  56. Remove Quotes From String in C#
  57. Restart an Application in C#
  58. Serialize an Object to XML in C#
  59. Shuffle an Array in C#
  60. Sort DataTable in C#
  61. Thread vs Task in C#
  62. Truncate a String in C#
  63. Unzip a Zip File in C#
  64. Wait for a Thread to Finish in C#
  65. Wait for Key Press in C#
  66. Write a Stream to a File in C#
  67. Write to the Output Window in C#
  68. Abstract Function vs Virtual Function in C#
  69. Get Screen Size in C#
  70. Get URL of Current Page in C#
  71. Initialize a List of Tuples in C#
  72. Merge Two Arrays in C#
  73. Singleton Class in C#
  74. Timer in C#
  75. Write to an Excel File in C#
  76. async and await in C#
  77. Calculate Distance Between 2 Points in C#
  78. Convert Int to Hex in C#
  79. Convert Object to Int in C#
  80. Create DataTable in C#
  81. Download Image in C#
  82. Find Substring in a String in C#
  83. Get File Size in C#
  84. Add List to Another List in C#
  85. Add String to an Array in C#
  86. Array Slicing in C#
  87. ArrayList vs List in C#
  88. Compare Two Strings by Ignoring Case in C#
  89. Convert String to JSON Object in C#
  90. Declare a Constant Array in C#
  91. Exit Console Application in C#
  92. Generate Random Alphanumeric Strings in C#
  93. Iterate Through a List in C#
  94. Java final Equivalent Keyword in C#
  95. Message Box in C#
  96. MySql Connection in C#
  97. Print Array in C#
  98. The yield Keyword in C#
  99. Use Stopwatch in C#
  100. Compare Two Lists in C#
  101. Count Occurrences of a Character Inside a String in C#
  102. Difference Between a Jagged Array and a Multi-Dimensional Array in C#
  103. Get Length of a 2D Array in C#
  104. Get Relative Path of a File in C#
  105. Get the First Character of a String in C#
  106. Validate Email Address in C#
  107. Float vs Double vs Decimal in C#
  108. Call Constructor From Another Constructor in C#
  109. Encode and Decode a Base64 String in C#
  110. Get Current Time in C#
  111. Get Dictionary Key by Value in C#
  112. Multiple Case Switch Statement in C#
  113. Read and Write to a File in C#
  114. Run a Command-Prompt Command in C#
  115. Sort Dictionary by Value in C#
  116. Append to Array in C#
  117. Convert Integer to Binary in C#
  118. Copy a List in C#
  119. Copy a Object in C#
  120. Encrypt and Decrypt a String in C#
  121. Escape Double Quotes in C#
  122. Read a JSON File in C#
  123. Split String to List in C#
  124. C++ Map<T1, T2> Equivalent in C#
  125. Call Constructor of Base Class From the Constructor of Child Class in C#
  126. Case Insensitive Contains String Function in C#
  127. Check if an Object Is Null in C#
  128. Check if List Is Empty in C#
  129. Convert Array to List in C#
  130. Convert List<string> to String in C#
  131. Convert Stream to Byte Array in C#
  132. Enum Strings in C#
  133. Get and Set in C#
  134. Get the Size of an Array in C#
  135. lock Statement in C#
  136. Make HTTP POST Web Request in C#
  137. Partial Class in C#
  138. Properly Exit an Application in C#
  139. Reverse a String in C#
  140. SQL Insert Query in C#
  141. Add a Tab to a String in C#
  142. Add Newline to String in C#
  143. Check if an Array Contains a Value in C#
  144. Check Whether a File Exists in C#
  145. Convert Float to Int in C#
  146. Create an Inline Function in C#
  147. Declare a Global Variable in C#
  148. Declare a Multidimensional List in C#
  149. Delete a File in C#
  150. Generate a Random Float in C#
  151. Get ASCII Value of Character in C#
  152. Initialize a Dictionary in C#
  153. Pause Console in C#
  154. Resize an Image in C#
  155. Pass a Function as a Parameter in C#
  156. Convert Double to Int in C#
  157. Difference Between Struct and Class in C#
  158. Get Dictionary Value by Key in C#
  159. Get Local IP Address in C#
  160. Remove a Character From a String in C#
  161. Return Multiple Values From a Function in C#
  162. Round a Double Value to an Integer Value in C#
  163. Shuffle a List in C#
  164. typedef Equivalent in C#

TypeScript Howtos

  1. Convert String to Enum in TypeScript
  2. Exclude Property in TypeScript
  3. Nullable Type in TypeScript
  4. Sorting Array in TypeScript
  5. Get and Set in TypeScript
  6. Array of Objects in TypeScript
  7. Format Date and Time in TypeScript
  8. String Interpolation in TypeScript

Python Scipy Functions

  1. 2D Interpolation in Python

Python Pandas Howtos

  1. Convert Timedelta to Int in Pandas

Python Matplotlib Howto's

  1. Superscript in Python Matplotlib Plots

Python Tkinter Howtos

  1. Tkinter Canvas Text

Python NumPy Howtos

  1. NumPy Intersection of Two Arrays
  2. NumPy Matrix Indexing
  3. NumPy Matrix Subtraction
  4. NumPy Matrix Vector Multiplication
  5. NumPy Normalize Matrix
  6. Python NumPy Shift Array
  7. Rank Values in NumPy Array
  8. Calculate the Power of a NumPy Matrix
  9. Divide Matrix by Vector in NumPy
  10. Get Combinations of Two Arrays in NumPy
  11. Least Squares in NumPy
  12. NumPy logspace() Function
  13. NumPy Replace Values
  14. NumPy Shuffle Two Arrays
  15. NumPy Unit Vector
  16. numpy.random.permutation() Function in NumPy
  17. numpy.random.seed() Function in NumPy
  18. Slice 2D Array in NumPy
  19. Upgrade Python NumPy
  20. Calculate Absolute Value in NumPy
  21. Calculate the Mode of Array in NumPy
  22. Convert Pandas Series to NumPy Array
  23. Fill Array With Value in NumPy
  24. Map a Function in NumPy
  25. Save and Load NumPy Array in Python
  26. Delete Row in NumPy
  27. NumPy Array Equal
  28. NumPy Deep Copy
  29. NumPy Factorial
  30. Covariance in Python NumPy
  31. NumPy Magnitude in Python
  32. numpy.newaxis Method
  33. numpy.where() Multiple Conditions
  34. Sort Array by Column in NumPy
  35. Add Dimension to NumPy Array
  36. Append to Empty Array in NumPy
  37. Convert NumPy Array to Tuple
  38. Count Unique Values in NumPy Array
  39. Element-Wise Division in Python NumPy
  40. Get Number of Rows in NumPy
  41. Print Full NumPy Array
  42. Zip NumPy Arrays
  43. Add Column in NumPy
  44. Array of Arrays in NumPy
  45. Convert PIL Image to NumPy Array
  46. Convert Tensor to NumPy Array in Python
  47. Create Empty NumPy Array
  48. Get Column of NumPy Array
  49. Get NumPy Array Length
  50. Reverse Array in NumPy
  51. Natural Log in Python
  52. Convert 3D Array to 2D Array in Python
  53. Multiply Array With Scalar in Python
  54. Shape and Size of Array in Python

C Howtos

  1. %p Format Specifier in C
Muhammad Maisam Abbas avatar Muhammad Maisam Abbas avatar

Maisam is a highly skilled and motivated Data Scientist. He has over 4 years of experience with Python programming language. He loves solving complex problems and sharing his results on the internet.