Category

PYTHON

Category

Ένα Excel Dashboard που λειτουργεί σαν mini CRM/ERP για ομάδες Marketing Στον σύγχρονο κόσμο του marketing, το μεγάλο ζητούμενο δεν είναι μόνο να σχεδιάζεις καμπάνιες, αλλά να μπορείς να τις οργανώνεις, να τις παρακολουθείς και να τις αξιολογείς με συστηματικό τρόπο. Ακριβώς αυτό κάνει ο συγκεκριμένος κώδικας Python: δημιουργεί αυτόματα ένα προηγμένο αρχείο Excel που λειτουργεί σαν mini CRM/ERP για διαφημιστικές καμπάνιες. Ο κώδικας χρησιμοποιεί τη βιβλιοθήκη openpyxl και κατασκευάζει ένα πολυεπίπεδο workbook με διαφορετικά sheets, όπως καμπάνιες, personas, media plan, δημιουργικά, budgets, KPI calculations, αξιολόγηση και executive dashboard. Με απλά λόγια, δεν παράγει ένα απλό spreadsheet, αλλά ένα ολοκληρωμένο εργαλείο οργάνωσης και λήψης αποφάσεων. Τι περιλαμβάνει το αρχείο Excel Το αρχείο οργανώνει όλη τη λογική μιας διαφημιστικής καμπάνιας σε δομημένα φύλλα εργασίας: Campaign Overview για βασικά στοιχεία κάθε καμπάνιας Audience Personas για την περιγραφή του κοινού-στόχου Media Plan για τα κανάλια προβολής και την απόδοσή τους Creatives για slogans,…

📊 Retail Sales Analytics Dashboard Built with Python I recently built a Retail Sales Analytics Dashboard using Python to automatically analyze sales data and generate visual insights. The goal was simple: Turn raw sales data into clear, actionable insights using a fully automated script. Download raw sales data The dashboard reads a CSV or Excel sales dataset and produces several key visualizations: 🔹 Sales Distribution Wheel Shows the contribution of the top product categories to total sales, including percentages and rankings. 🔹 Top 10 Products by Sales A ranked view of the best-selling products with their category and subcategory hierarchy. 🔹 Monthly Sales Trend Tracks revenue performance over time to highlight seasonal patterns and demand changes. 🔹 Category Growth Rate Identifies which product categories are growing the fastest. 🔹 Category Details Section Provides a structured view of the category → subcategory hierarchy behind the numbers. The script automatically calculates key…

Building an Interactive Python Code Viewer and a Wheel of Life Visualization As developers, we often share Python scripts with colleagues, students, or clients. However, raw .py files are not always the easiest format to read or explore, especially for people who are not familiar with development tools. To address this, I created a self-contained Python-to-HTML code viewer that converts any Python script into an interactive web page. This viewer makes Python code easier to read, search, and navigate, directly from a browser. Wheel of Life – Balance Across Key Areas As an example, I used the tool to present a Python script that generates a visual “Wheel of Life” diagram, a framework often used in coaching and personal development. The Wheel of Life illustrates eight key areas that influence overall balance: Physical Environment Career / Work Financial Security Health / Wellbeing Family / Friends Relationship / Romance Personal Growth…

Ποιες γλώσσες προγραμματισμού χρησιμοποιούν γνωστά κοινωνικά δίκτυα και ιστοσελίδες Updated Tech Stack Breakdown: Facebook Originally built with PHP, but now primarily uses Hack (a PHP dialect developed by Facebook) and React.js for the front-end. Heavy use of C++ for performance-critical systems. YouTube Initially used Flash for video playback but transitioned to HTML5. Back-end primarily in Python (especially with its use of the Python-based Django framework) and C/C++ for performance-intensive tasks. Google Uses C++ for core infrastructure (especially indexing and search). Java, Python, and Go are heavily used for various services. JavaScript for front-end, and Angular/Polymer for some web apps. Yahoo Historically used PHP and Java, but transitioned over time to include C++ and Node.js. Uses Hadoop (which it co-developed) for data storage and processing. Microsoft Live (O u t l o o k. com) Built on the .NET framework, using C#. Uses JavaScript/TypeScript for the front-end.…

Automated Excel Analysis System (WordPress + Railway + Python API) 🎯 1. Introduction In this video, I will demonstrate a private Excel Data Analysis system built using Python, Flask, Pandas, OpenPyXL, and ReportLab. The application is deployed on Railway as a backend API, and it is integrated inside a private WordPress post, where the file upload interface is hosted. The entire workflow runs online — upload the file in WordPress, the data is processed on Railway, and the results are returned instantly. 🌐 2. Architecture Overview (Brief but Analytical) The architecture is simple and scalable: WordPress hosts the front-end upload form • The form sends the Excel file to a Flask API deployed on Railway • Railway processes the file • The API returns: – A cleaned & analyzed Excel file – A professional PDF report • WordPress displays download links automatically This separates frontend presentation from backend processing,…

Clustering Classification Problem Το Clustering και το Classification είναι δύο βασικά προβλήματα της Μηχανικής Μάθησης, με τη βασική τους διαφορά να είναι το αν υπάρχουν ή όχι προκαθορισμένες ετικέτες. Το Clustering είναι πρόβλημα μη επιβλεπόμενης μάθησης, όπου στόχος είναι να ομαδοποιηθούν δεδομένα σε ομάδες (clusters) με βάση την ομοιότητά τους, χωρίς να γνωρίζουμε εκ των προτέρων τις κατηγορίες· χρησιμοποιείται κυρίως για την ανακάλυψη προτύπων και δομής στα δεδομένα. Αντίθετα, το Classification Problem είναι πρόβλημα επιβλεπόμενης μάθησης, όπου κάθε παρατήρηση ανήκει σε μια γνωστή κλάση και ο στόχος είναι να εκπαιδευτεί ένα μοντέλο που, με βάση χαρακτηριστικά εισόδου, προβλέπει σωστά την κατηγορία στην οποία ανήκει ένα νέο δείγμα. Μια μεγάλη υπηρεσία streaming (τύπου Netflix) συλλέγει δεδομένα θέασης από 5.000.000 χρήστες. Για λόγους άσκησης, δίνεται παρακάτω μικρό υποσύνολο δεδομένων από 12 χρήστες: Χρήστης Είδος ταινιών που παρακολουθεί Μέσος χρόνος θέασης (λεπτά/ημέρα) Προτιμώμενη συσκευή Συνδρομή Κατηγορία Χρόνου 1 Action, Sci-Fi 150 TV Premium…

Python Quiz: 5 Multiple-Choice Questions 🎯 Difficulty level Beginner → Lower Intermediate These questions test: core Python data types references & mutability default arguments basic exception handling syntax understanding 👉 Ideal for: beginners who finished the basics early-intermediate learners screening fundamental Python knowledge 1) What is the output of the following code? print(type([]) is list) True False list It raises an error Show answer ✅ Correct: A — type([]) is list, so the identity check is True. 2) What will this print? x = [1, 2, 3] y = x y.append(4) print(x) [1, 2, 3] [1, 2, 3, 4] [4, 1, 2, 3] It raises an error Show answer ✅ Correct: B — y references the same list object as x. 3) Which statement correctly creates a set with one element? {} {1} set(1) [1] Show answer ✅ Correct: B — {1} is a set with one element. {} is…

Content of text file : text_example_motivational2.txt “Python is a great programming language to convert text to speech. What you are about to hear is an example of text to speech. You are being presented with two choices. Evolve or repeat. People never want to be part of the process but they want to be part of the outcome. The process is where you figure out who is worth being part of the outcome. Feel free to visit my blog mindstorm.gr to read more about business, marketing, communication, web design and coding.” Folder: C:\PythonPrograms\pdf_to_mp3\ Male voice – File created (mp3): welcome_4.wav — Python script main11.py to convert text to speech : text_example_motivational3_gr.txt to welcome_4.wav  – Male voice Female voice – File created (mp3): welcome_3.mp3 — Python script main10.py for Female voice Περιεχόμενο αρχείου κειμένου : text_example_motivational3_gr.txt “Η Python είναι μια γλώσσα προγραμματισμού για τη μετατροπή του γραπτού λόγου σε προφορικό. Αυτό…

My blog www.mindstorm.gr is now connected with chatGPT. I asked it “what is a blog?” and here is the answer: User: What is a blog? AI: A blog is a type of website or a part of a website that is updated regularly with content, typically written in an informal or conversational style. The term “blog” is actually a shortened form of “weblog.” Here’s a bit more detail: Content: Blogs are known for their dynamic content, which often includes articles, opinions, stories, and sometimes photos or videos. The content is usually organized in reverse chronological order, with the most recent posts appearing first. Purpose: People create blogs for many reasons, including to share personal experiences, to provide information or commentary on various topics, to promote products or services, to educate, or simply as a creative outlet. Interaction: Blogs often allow readers to comment on posts, fostering a community of interaction…

Standard commands to create and use a Python virtual environment from the command shell, with the most common cases covered. ✅ Windows (Command Prompt / PowerShell) 1️⃣ Go to your project folder cd path\to\your\project 2️⃣ Create a virtual environment python -m venv venv 3️⃣ Activate the virtual environment venv\Scripts\activate You should now see: (venv) C:\path\to\your\project> 4️⃣ Deactivate (when done) deactivate YouTube Video

WordPress AI Chat – Local, Private & Always Up to Date I built a local AI assistant for WordPress content that lets you ask questions and get answers based only on your own posts. What it does Connects directly to WordPress posts Indexes content into a local vector database Uses a local AI model (via Ollama) to answer questions Shows clear sources for every answer (no hallucinations) Smart updates Automatically checks if posts change Re-indexes only updated content Shows “Updating content…” status in the UI Displays the last update timestamp Privacy-first Runs 100% locally No external AI APIs No data sent outside your machine Clean UI Ask / Clear / Close app buttons Progress indicator while searching Main source + full list of sources Graceful shutdown from the browser Use cases Website knowledge base Internal documentation chatbot Content exploration for blogs AI-powered search for WordPress sites This setup proves that…

Introducing rag_web_scraper_7.py: Your AI-Powered Web Article Scraper with RAG & Local LLMs rag_web_scraper_7.py is a full RAG (Retrieval-Augmented Generation) pipeline wrapped inside a clean Dark UI desktop application.With just a URL, it: Scrapes article content from any webpage Breaks it into semantic chunks for precision retrieval Creates vector embeddings locally (no cloud!) Stores them in ChromaDB with automatic persistence Lets you ask detailed questions about the content using a local LLM (Ollama) Shows which exact text chunks were used to generate the answer ✔ (source transparency) This means you can chat with any webpage as if it were your dataset — completely offline, with no OpenAI API keys or cloud dependence. ⚙️ What Happens Behind the Scenes 1. Web Scraping The app fetches the webpage you enter, identifies the main content section, and extracts clean readable text using BeautifulSoup. 2. ✂️ Smart Text Chunking Instead of dumping a huge block…

Δημιουργία Ερωτηματολογίου για την Κυκλική Οικονομία στον Πρωτογενή Τομέα με τη γλώσσα προγραμματισμού Python Μέρος 1: Εκτίμηση Υφιστάμενης Κατάστασης Ποιες είναι οι κύριες δραστηριότητές σας στον πρωτογενή τομέα; – [ ] Γεωργία – [ ] Κτηνοτροφία – [ ] Αλιεία – [ ] Δασοκομία – [ ] Άλλο: ____________ Χρησιμοποιείτε ήδη πρακτικές κυκλικής οικονομίας στη δραστηριότητά σας; – [ ] Ναι – [ ] Όχι Αν ναι, ποιες από τις παρακάτω πρακτικές εφαρμόζετε; – [ ] Ανακύκλωση γεωργικών ή κτηνοτροφικών αποβλήτων – [ ] Παραγωγή κομπόστ από οργανικά απόβλητα – [ ] Επαναχρησιμοποίηση νερού για άρδευση – [ ] Παραγωγή ενέργειας από βιομάζα – [ ] Άλλο: ____________ Ποια είναι τα βασικά προβλήματα που αντιμετωπίζετε στη διαχείριση πόρων και αποβλήτων; – [ ] Έλλειψη τεχνολογίας – [ ] Υψηλό κόστος – [ ] Έλλειψη γνώσης και εκπαίδευσης – [ ] Δυσκολία στη συλλογή και διαχείριση αποβλήτων -…

Outlook Email Exporter GR – Ανακάλυψε τον πιο εύκολο τρόπο να «τραβήξεις» ό,τι e-mail χρειάζεσαι από το Microsoft Outlook, ακριβώς όπως το θέλεις! Με λίγα κλικ διαλέγεις γραμματοκιβώτιο/φάκελο, θέτεις έξυπνα φίλτρα (ημερομηνίες, αποστολέας, παραλήπτες, λέξεις-κλειδιά, μόνο με συνημμένα ή συγκεκριμένα ονόματα) και πατάς Export για άμεση εξαγωγή σε Excel. Η εφαρμογή αξιοποιεί το Outlook Restrict για ταχύτητα, κρατά log για έλεγχο, και σου εμφανίζει αναδυόμενο μήνυμα επιβεβαίωσης με το αποθηκευμένο αρχείο. Ιδανικό για reporting, ελέγχους, αρχειοθέτηση και οργάνωση—γρήγορα, καθαρά, επαγγελματικά. EN – Discover the easiest way to pull exactly the emails you need from Microsoft Outlook—just the way you want them! With a few clicks, choose your mailbox/folder, set smart filters (dates, sender, recipients, keywords, only with attachments or specific attachment names), and hit Export for instant Excel output. The app leverages Outlook Restrict for speed, keeps a verification log, and shows a confirmation popup with the saved file. Perfect…

File Finder – Εύκολη και έξυπνη αναζήτηση αρχείων GR – Αυτή η εφαρμογή σε βοηθά να βρίσκεις γρήγορα αρχεία στον υπολογιστή σου. =>Διαλέγεις έναν ή περισσότερους φακέλους ή δίσκους για αναζήτηση. =>Λες τι τύπους αρχείων θέλεις (π.χ. PDF, Word, Excel, εικόνες). =>Μπορείς να γράψεις μέρος του ονόματος του/των αρχείου/ων που ψάχνεις. =>Μπορείς και να ψάξεις μέσα στα αρχεία για λέξεις ή φράσεις. =>Διαβάζει μέσα σε Word, PDF, Excel (όλα τα φύλλα), CSV και απλά κείμενα. =>Καταλαβαίνει ελληνικά και χωρίς τόνους (π.χ. “παρουσιαση” βρίσκει “παρουσίαση”). =>Τα αποτελέσματα δείχνουν πλήρη διαδρομή, μέγεθος και ημερομηνία αλλαγής. =>Με διπλό κλικ ανοίγεις το αρχείο. =>Μπορείς να αποθηκεύσεις τη λίστα σε CSV ή Excel. EN – This app helps you quickly find files on your computer. =>You choose one or more folders or drives to search. =>You tell it what kinds of files you want (like PDF, Word, Excel, images). =>You can type part of a…

Pin It