↓ Skip to Main Content
Useful code Programming with VBA, C# and Python

Main Navigation

  • All
  • VBA
    • VBA Tools
    • VBA Online Resources
    • All VBA articles
  • Python
  • Else
    • C#
  • Reviews
    • List of reviews
  • YouTube
  • PayPal
  • About
Useful code Programming with VBA, C# and Python

Off Canvas Menu

  • All
  • VBA
    • VBA Tools
    • VBA Online Resources
    • All VBA articles
  • Python
  • Else
    • C#
  • Reviews
    • List of reviews
  • YouTube
  • PayPal
  • About

Tag: List

Home › Posts tagged List
Python – Getting an Excel List of all Folders and Files in them
Else - Just Tricks, Python

Python – Getting an Excel List of all Folders and Files in them

Vitosh Nov 4, 2024 Tagged with all files, all folders, Excel, List, Python

Getting a list of all folders within a given folder is actually a single line command. Writing it to Excel is usually another line. Getting all files, within these folders is not a lot as well. However, having a tool …

Python – Getting an Excel List of all Folders and Files in them Read more →

Python – Enumerate Lists in a Loop
Python

Python – Enumerate Lists in a Loop

Vitosh Jul 23, 2022 Tagged with enum, enumerate, List, loop, Python

Plenty of times, when you are looping with a for-each loop in python, you somehow realize that you need a counter. Then you most probably write something ugly like this one: a = 0 for count_value in my_odd_squares: a = …

Python – Enumerate Lists in a Loop Read more →

Python – Write a DataFrame or List to multiple tabs in Excel
Python, VBA \ Excel

Python – Write a DataFrame or List to multiple tabs in Excel

Vitosh Jul 11, 2022 Tagged with dataframe, Excel, List, multiple sheets, multiple tabs, Write to Excel

The idea of the article is to provide a Python code that does the following: Takes a list or DataFrame; Splits it into quite a few smaller parts; Writes each one on a separate Excel worksheet; Pretty much like this: …

Python – Write a DataFrame or List to multiple tabs in Excel Read more →

Python Slice Notation
Python

Python Slice Notation

Vitosh Nov 7, 2019 Tagged with example, Jupyter, List, Python, sample, slice notation, slicing, tutorial

Python Slice Notation is somehow easy and tough in the same way. Lately, I was doing some competitive programming with Python and I have decided to write a summary of the slice notation, thus there is always a place for …

Python Slice Notation Read more →

Find all HTML tags in a web page and print them from a sorted dictionary
Python

Find all HTML tags in a web page and print them from a sorted dictionary

Vitosh Oct 31, 2019 Tagged with beautiful soup, dictionary, html tags, List, Python

Finding all HTML tags from a web page and recording these to a dictionary is magically easy task with Python (if you compare it with #VBA), when Beautiful Soup 4 is used. soup.find_all(True) loops through the tags and a simple …

Find all HTML tags in a web page and print them from a sorted dictionary Read more →

VBA – ListBox in Excel – Adding, Editing and Removing Data
VBA \ Excel

VBA – ListBox in Excel – Adding, Editing and Removing Data

Vitosh Jul 6, 2019 Tagged with add data, Count, edit data, Excel, List, listbox, ListCount, RemoveItem, VBA

The idea of the article is to show how to add, edit and remove specific entries of the ListBox in Excel through VBA: ListBox is a control, which is available through Developer>Insert>ActiveX>ListBox in Excel: Once you add it, it has …

VBA – ListBox in Excel – Adding, Editing and Removing Data Read more →

Copyright © 2026 VitoshAcademy