↓ 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
Home › Archive for Python › Page 11

Python

Python code examples

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 …

Python Slice Notation Read more →

Python – Binary String Minimizing Problem – CodeForces
Python

Python – Binary String Minimizing Problem – CodeForces

Vitosh Nov 7, 2019 Tagged with algorithm, binary string, greedy, implementation, minimizing, Python

Codeforces has introduced a third division in their competitions. Initially I though this is the place …

Python – Binary String Minimizing Problem – CodeForces Read more →

Find all list (li) elements in a special position of a web site
Python

Find all list (li) elements in a special position of a web site

Vitosh Nov 7, 2019 Tagged with () elements, all list, find, special position, web site

So, my idea was to obtain all the elements, tagged with “li” from here – vitoshacademy.com/all, …

Find all list (li) elements in a special position of a web site Read more →

Scraping a web site up to the N-th level with Python
Python

Scraping a web site up to the N-th level with Python

Vitosh Nov 6, 2019 Tagged with beautiful soup, level, Python, Scraping, web site

Scraping data from a web site has always been a pleasure with Python. If you come …

Scraping a web site up to the N-th level with Python Read more →

Prime numbers matrix and coloring with Python and xlsxwriter
Python

Prime numbers matrix and coloring with Python and xlsxwriter

Vitosh Nov 4, 2019 Tagged with align, bg_color, center, Excel, first column and first row of Excel is with index 0, font_color, format, matrix, prime numbers, Python, xlsxwriter

About 4 years ago, I wrote an article about prime numbers in Excel and their visualisation …

Prime numbers matrix and coloring with Python and xlsxwriter Read more →

Scraping web site and writing its links to a database with Python
Python

Scraping web site and writing its links to a database with Python

Vitosh Nov 4, 2019 Tagged with links, Python, Scraping web site, writing to a database

Scraping a web site with BeautifulSoup 4 and Python is a walk in the park, if …

Scraping web site and writing its links to a database with Python Read more →

Adding data to SqlLite3 database with Python
Python

Adding data to SqlLite3 database with Python

Vitosh Nov 2, 2019 Tagged with Bulk insert, CRUD, database, Python, update

After reading the database to python from the previous post here, it is time to do …

Adding data to SqlLite3 database with Python Read more →

Connecting SqlLite3 database to Python and Reading it
Python

Connecting SqlLite3 database to Python and Reading it

Vitosh Oct 31, 2019 Tagged with database, Python, SqlLite3, union

Connecting SqlLite3 database to a Python file is actually 1 line of code: conn = sqlite3.connect(r”C:\Users\database.db”) …

Connecting SqlLite3 database to Python and Reading it Read more →

Adding data to SqlLite3 database, but only one value with Python
Python

Adding data to SqlLite3 database, but only one value with Python

Vitosh Oct 31, 2019 Tagged with add one value, executemany, Python, SqlLite3

Life is hard, when you are learning Python and you see things that are making no …

Adding data to SqlLite3 database, but only one value with Python 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 …

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

Posts pagination

Previous 1 … 9 10 11 12 13 … 17 Next

Copyright © 2026 VitoshAcademy