Rohan Timalsina

Python How-To's

  1. Convert Integer to Roman Numerals in Python
  2. Longest Common Subsequence in Python
  3. Python Lambda Closure
  4. Calculate and Display a Convex Hull in Python
  5. Calculate the Average Word Length in a Sentence in Python
  6. Get the Number of CPUs Using Python
  7. @ Symbol in Python
  8. Develop Python Applications in Qt Creator
  9. Use a DLL File From Python
  10. Python Egg
  11. One Line FTP Server in Python
  12. Random IP Address Generator in Python
  13. FFmpeg in Python Script
  14. OSError: [Errno 8] Exec Format Error in Python
  15. Fix Command cl.exe Failed: No Such File or Directory in Windows
  16. Fix Socket.Gaierror: [Errno 8] Nodename Nor Servname Provided, or Not Known in Python
  17. TypeError: Iteration Over Non-Sequence
  18. Python Math Domain Errors in math.log Function
  19. ValueError: Classification Metrics Can't Handle a Mix of Multiclass and Continuous-Multioutput Targets
  20. ImportError: No Module Named mysql.connector
  21. Python ImportError: No Module Named Requests
  22. ValueError: Cannot Convert Float NaN to Integer in Python
  23. AttributeError: Module Enum Has No Attribute Intflag
  24. Fix AttributeError: 'generator' Object Has No Attribute 'next' in Python
  25. Fix E: Unable to Locate Package Pip in Ubuntu
  26. Fix the TypeError: Int Object Is Not Iterable Error in Python
  27. Python ImportError: No Module Named
  28. Error: else & elif Statements Not Working in Python
  29. Python Traceback Most Recent Call Last
  30. Python TypeError: Int Object Is Not Callable
  31. Fix ValueError: list.remove(x): X Not in List Error in Python
  32. Error: Invalid Command Bdist_wheel in Python
  33. Python AttributeError: _csv.reader Object Has No Attribute Next
  34. Python AttributeError: '_io.TextIOWrapper' Object Has No Attribute 'Split'

PowerShell Howtos

  1. Escape Single Quotes and Double Quotes in PowerShell
  2. Return Several Items From a PowerShell Function
  3. PowerShell Sort Object
  4. Delete Certificate From Computer Store Using PowerShell
  5. Get the Parent's Parent Directory in PowerShell
  6. Sorting Array Values Using PowerShell
  7. Check SQL Server Version Using PowerShell
  8. Download and Install Git Client for Windows Using PowerShell
  9. Multiple Foreground Colors in PowerShell in One Command
  10. PowerShell to Copy Files Over the Network
  11. Run a Scheduled Task in Task Scheduler Through PowerShell Command
  12. Append Data to a CSV File in PowerShell
  13. Parse Datetime by ParseExact in PowerShell
  14. Control Column Widths With Format-Table in PowerShell
  15. Extract the Filename From a Path Using PowerShell
  16. Jump Around to Certain Spots in PowerShell Script
  17. Remove Item From an Array in PowerShell
  18. Rename Computer and Join to Domain With PowerShell
  19. Resolve IP Address From Hostname With PowerShell
  20. Set Folder Permissions in PowerShell
  21. Count the Number of Characters, Words and Lines in PowerShell
  22. Determine if Two Objects Are Identical in PowerShell
  23. Split Directory Path in PowerShell
  24. Copy Files From Windows to Linux Using PowerShell
  25. Remoting $Using Variable Scope in PowerShell
  26. Get Startup Type of Windows Services Using PowerShell
  27. PowerShell With Robocopy and Arguments Passing
  28. Concatenate Files Using PowerShell
  29. Select Attributes in XML Using XPath
  30. Confirmation Prompt in PowerShell
  31. Get File Size in KB Using PowerShell
  32. Write-Verbose vs Write-Host in PowerShell
  33. Escape Special Characters in PowerShell
  34. Find Users HKEY_USERS Registry Key Using PowerShell
  35. PowerShell Mandatory Parameter With Default Value
  36. Recursively Set Permissions on Folders Using PowerShell
  37. Create and Throw a New Exception in PowerShell
  38. PowerShell Equivalent of Linux mkdir Command
  39. Open a Folder Using PowerShell
  40. Get a List of All PowerShell Modules
  41. Combine Multiple Conditions in if Statement
  42. Convert a Secure String to Plain Text in PowerShell
  43. Create Tables in PowerShell
  44. Remove Spaces From a Variable Using PowerShell
  45. Store Text File Contents in Variable Using PowerShell
  46. Count the Length of Array in PowerShell
  47. Count Items in a Folder With PowerShell
  48. Export a CSV to Excel Using PowerShell
  49. Run a Git Command in PowerShell
  50. Clear Variable Content in PowerShell
  51. PowerShell Command Equivalent to Linux ls
  52. PowerShell Script to Return Versions of .NET Framework on a Machine
  53. The filter Keyword in PowerShell
  54. Check if a String Is Not NULL or EMPTY in PowerShell
  55. Remove Path and Extension From Filename in PowerShell
  56. Remove Duplicate Values From a PowerShell Array
  57. Prevent Idle Mode in PowerShell
  58. Ping List of Host Names and Output Results to CSV in PowerShell
  59. Use the @ Symbol in PowerShell
  60. Add Objects to an Array of Objects in PowerShell
  61. Get the File System Location of a PowerShell Script
  62. Find the CPU and RAM Usage Using PowerShell
  63. Path With Spaces in PowerShell
  64. UTF-8 Encoding (CHCP 65001) in PowerShell
  65. Delete Files Older Than X Days Using PowerShell
  66. Copy Folder With Subfolders in PowerShell
  67. Find the Position of Substring in PowerShell
  68. Accessing the $args Array in PowerShell
  69. Check if Folder Exists in PowerShell
  70. Get File Version in PowerShell
  71. Line Break in PowerShell
  72. Perform Keystroke Inside PowerShell
  73. Add a New Line to Command Output in PowerShell
  74. Convert XML to CSV File in PowerShell
  75. Create an Array, Hash Table, and Dictionary in PowerShell
  76. PowerShell Multidimensional Arrays
  77. Create a Shortcut Using PowerShell
  78. Get IPv4 Address in PowerShell
  79. PowerShell Sudo
  80. Upload Files With FTP in PowerShell
  81. Create Text File Using Windows PowerShell
  82. Replace a Text in File Using PowerShell
  83. Prompt User Input in PowerShell
  84. Exit From Foreach Object in PowerShell
  85. Join Path to Combine More Than Two Strings Into a File Path in PowerShell
  86. See the Command History Across All PowerShell Sessions
  87. Redirect a PowerShell Output to a File During Execution
  88. Equivalent of Which Command in PowerShell
  89. Compare the Contents of Two String Objects in PowerShell
  90. Get Only Directories Using Get Childitem in PowerShell
  91. Negate a Condition in PowerShell
  92. Pass Boolean Parameters to a PowerShell Script From a Command Prompt
  93. Select the Values of One Property on All Objects of an Array in PowerShell
  94. Get Full Path of the Files in PowerShell
  95. Get String Length of a Variable in PowerShell
  96. Set Timezone Using PowerShell
  97. Ternary Operator in PowerShell
  98. Recursive File Search Using PowerShell
  99. Search a String in Multiple Files and Return the Name of Files in PowerShell
  100. Press Any Key to Continue in PowerShell
  101. Convert a String to Datetime in PowerShell
  102. Or Statement in PowerShell
  103. Split a String Into Separate Variables in PowerShell
  104. Convert an Array Object to a String in PowerShell
  105. Convert String to Integer in PowerShell
  106. Edit a Text File on the Console Using PowerShell
  107. GetType Used in PowerShell
  108. Add Items to Array in the PowerShell
  109. Pass an Argument to a PowerShell Script
  110. Run a PowerShell Script From a Batch File
  111. Check if a File Exists in Windows PowerShell
  112. Run a PowerShell Script
  113. The Echo Equivalent in PowerShell
  114. Format a DateTime in PowerShell
Rohan Timalsina avatar Rohan Timalsina avatar

Rohan is a learner, problem solver, and web developer. He loves to write and share his understanding.