Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,241
» Latest member: ColorTig
» Forum threads: 38,777
» Forum posts: 175,795

Full Statistics

Online Users
There are currently 39 online users.
» 0 Member(s) | 35 Guest(s)
Bing, Google, Apple

Latest Threads
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
5 hours ago
» Replies: 1
» Views: 35
Data Science
Forum: Data Science
Last Post: mamta25
5 hours ago
» Replies: 3
» Views: 2,573
I’m building a Python Dat...
Forum: GUI
Last Post: woooee
Yesterday, 10:15 PM
» Replies: 1
» Views: 100
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:56 AM
» Replies: 4
» Views: 148
Backward compatibility qu...
Forum: News and Discussions
Last Post: buran
Nov-08-2025, 10:39 AM
» Replies: 3
» Views: 128
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 128
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,323
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,381
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,584
Code runs perfectly and j...
Forum: General Coding Help
Last Post: noisefloor
Nov-05-2025, 05:56 PM
» Replies: 2
» Views: 207

 
Question in this code, I input Key_word, it can not find although all data was exact Help me!
Posted by: duchien04x4 - Aug-30-2023, 10:58 AM - Forum: General Coding Help - Replies (3)

[python]import requests
import tkinter as tk
from tkinter import filedialog
import re

# Thay thế các giá trị sau bằng thông tin thật của bạn
ac..... More


Attached Files

.txt   savecommentFACE.txt (Size: 2.19 KB / Downloads: 274)
Print this item

  A modernized magic trick
Posted by: Gribouillis - Aug-30-2023, 07:51 AM - Forum: Code sharing - No Replies

A few years ago, it occurred to me that if a Python instance obj had attributes 'spam' and 'eggs', ..... More

Print this item

  python Read each xlsx file and write it into csv with pipe delimiter
Posted by: mg24 - Aug-29-2023, 11:13 PM - Forum: General Coding Help - Replies (4)

Hi Team,

I am trying to Read xlsx file and I want to write it into CSV File with pipe delimited.all decimal values wanted to round up 6 decimal pla..... More

Print this item

  Need to replace a string with a file (HTML file)
Posted by: tester_V - Aug-29-2023, 09:17 PM - Forum: General Coding Help - Replies (1)

Greetings!
I need to send tons of emails, to do that I have to use an HTML file.
The string “ MessageBody” in the HTML file must be replaced with t..... More

Print this item

  Capturing BS4 values into DF and writing to CSV
Posted by: cubangt - Aug-29-2023, 07:52 PM - Forum: General Coding Help - Replies (18)

I have the below logic that im getting results from, but when righting to the csv, each data value is being written to row instead of collectively int..... More

Print this item

  Flask - use bootstrap styles in HTML
Posted by: Krayna - Aug-29-2023, 02:22 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi there
I'm new to Flask. I've created couple of apps following some tutorials. Now I'm working on my own project for work.

I noticed in the HTML f..... More

Print this item

  Python Online Compiler
Posted by: alexmaxwell1 - Aug-29-2023, 09:50 AM - Forum: News and Discussions - Replies (2)

Hi everyone,

If anyone is looking for a good Python online compiler to practice theirs's coding skills. I've been looking at a few different option..... More

Print this item

  Query database
Posted by: menator01 - Aug-29-2023, 08:14 AM - Forum: News and Discussions - No Replies

What would be a recommended amount of time to query a database to check for login status? I was thinking querying every five minutes.
Any and all com..... More

Print this item

  scammed through python keylogger
Posted by: Noq - Aug-28-2023, 08:04 PM - Forum: News and Discussions - Replies (12)

hello everyone, first of all, please don't judge me for what happened. I know myself that I am an idiot.

so, to keep it short, someone made me use ..... More

Print this item

  Current project - Simple tkinter login system
Posted by: menator01 - Aug-28-2023, 07:21 PM - Forum: Code sharing - Replies (3)

Just a simple login system. It's not complete, still have some details to work on and after maybe make a generic page class as I have some repeating c..... More

Print this item

  Starting and running .bat in background, tkinter in foreground
Posted by: ProfMeowintgon - Aug-28-2023, 11:49 AM - Forum: General Coding Help - Replies (9)

Hello,

as the title says, how can I achieve a (custom)tkinter window in the foreground (i.e. "maximized") and the cmd terminal which is started whe..... More

Print this item

Question bytes and strings
Posted by: Skaperen - Aug-28-2023, 02:58 AM - Forum: News and Discussions - No Replies

does anyone use the bytes type when dealing with ASCII characters, such as when the input provides the characters as bytes and/or (espec..... More

Print this item

  Installing Older Version Of Numpy & Pandas
Posted by: knight2000 - Aug-28-2023, 02:31 AM - Forum: General Coding Help - Replies (6)

Hi all,

I'm still pretty new to the world of Python. I'm using Pycharm and for the first time I'm trying to test a public project from Github. The..... More

Print this item

  Perform the same action in a browse game on multiple computers at the same time.
Posted by: learningpysh - Aug-28-2023, 12:49 AM - Forum: Networking - No Replies

I'm trying to develop an application split into two parts, server and client, that performs the same action on multiple devices at the same time. All ..... More

Print this item

  TypeError: conversion from bytes to Decimal is not supported
Posted by: Skaperen - Aug-27-2023, 05:41 PM - Forum: News and Discussions - Replies (2)

Output:
TypeError: conversion from bytes to Decimal is not supported
is supporting bytes all that hard to do?

Print this item

  Python beginner that needs an expression added to existing script
Posted by: markham - Aug-27-2023, 04:42 PM - Forum: General Coding Help - Replies (1)

I have a python script that scrubs emails and works well.

I need to add the ability to remove everything including and after the string "Still have..... More

Print this item

  CTkComboBox - not working
Posted by: Sedos101 - Aug-27-2023, 05:28 AM - Forum: General Coding Help - Replies (11)

Hi everyone
I am using customtkinter to make some comboboxes

Basically I have a list of Groups, which have their own corresponding models and buck..... More


Attached Files

.py   customtkinter1.py (Size: 65.96 KB / Downloads: 214)
Print this item

  MVC implementation issue
Posted by: gradlon93 - Aug-26-2023, 10:41 PM - Forum: GUI - Replies (5)

Good Evening everyone. I am working on an Hotel reservation system, that basically consists of a webscraper that picks rates from an hotel website and..... More


Attached Files

Thumbnail(s)
   
Print this item

  number of digits in a decimal.Decimal number object
Posted by: Skaperen - Aug-26-2023, 07:38 PM - Forum: News and Discussions - No Replies

given a decimal number (via args in a function, for example), i can find out how many digits it has with:
[python]
how_many_digits = len(str(a_decim..... More

Print this item

  help with an exercise
Posted by: iiiik - Aug-26-2023, 06:50 PM - Forum: Homework - Replies (5)

I came to ask about the same exercise as last time, with which you helped me and it was very helpful but I would like to know if it could be done in a..... More

Print this item

  [Python 2.7] Why can't I press [ESC] a fourth time?
Posted by: Ashwood - Aug-26-2023, 06:21 PM - Forum: General Coding Help - Replies (3)

Hi everyone, I'm new in the forum, I don't have much programming knowledge, I'm just starting out. This is an Python 2.7 script and it asks a question..... More

Print this item

  Simple conditional not working as expected
Posted by: return2sender - Aug-26-2023, 12:53 PM - Forum: General Coding Help - Replies (8)

Python beginner here--

I wrote a practice program that converts decimal numbers to binary and vice versa. It works great! For example:

[python]>..... More

Print this item

  DF value by Column... not sure what to call it
Posted by: tester_V - Aug-26-2023, 04:54 AM - Forum: General Coding Help - Replies (2)

I'm probably overstaying my welcome but I'd like to ask one more question.
Here is an Excel file:
Cars Sold, Employee Name,
Cadillac CTS, Bill Clin..... More

Print this item

  Cannot rename Columns in df
Posted by: tester_V - Aug-25-2023, 04:59 PM - Forum: General Coding Help - Replies (11)

Greetings!
I need to rename Columns in the Dataframe. I found if the name has a space my script is failing.
I tried a lot of examples from the Net a..... More

Print this item

  Vectorizing a quadruple for loop in python
Posted by: winash12 - Aug-25-2023, 02:18 PM - Forum: General Coding Help - Replies (13)

I have this quadruple for loop that I am looking to vectorize and I have provided a toy example to highlight the problem. This is taking a lot of comp..... More

Print this item

  capturing multiline output for number of parameters
Posted by: jss - Aug-25-2023, 01:34 PM - Forum: General Coding Help - Replies (3)

I am using ttp template to parse a data from command line

I followed the following link while writing below code:
https://python-forum.io/thread-4058..... More

Print this item

  QUIZ GUI Form_When admin panel is open, main quiz form is getting freeze
Posted by: Uday - Aug-25-2023, 12:47 PM - Forum: General Coding Help - Replies (4)

Hi Expert,

I have already created one QUIZ GUI application where user can select option and click on submit button to check the score. One ADMIN butt..... More


Attached Files

.py   import tkinter as tk.py (Size: 8.95 KB / Downloads: 308)
Print this item

  Wrapping c/c++ dll
Posted by: Oolongtea - Aug-25-2023, 12:14 PM - Forum: General Coding Help - Replies (2)

I have a piece of hardware with a C/C++ api in the form of a dll, but I'm unsure what the best option is to make that code useable with python.

I exp..... More

Print this item

  Help: Conversion of Electricity Data into Time Series Data
Posted by: SmallGuy - Aug-25-2023, 09:05 AM - Forum: Data Science - Replies (3)

I want to plot a power load curve with the electricity consumption data. I download a load profile from a EV charger. The data file is a excel contain..... More


Attached Files

Thumbnail(s)
       
Print this item

  txt to image
Posted by: DPaul - Aug-25-2023, 08:11 AM - Forum: Bar - Replies (2)

Hi,
Sometimes I am handed old files that I cannot OCR, but I can read them via a backdoor.
Simplified, I end up with a few 100.000 very small txt fi..... More

Print this item

Photo U-Net runs very slowly
Posted by: Bearpaw - Aug-25-2023, 07:05 AM - Forum: Data Science - No Replies

Hello everyone!

I have written a U-Net with TensorFlow (see attachment). With this I want to predict CT images from MR images. It's nothing fancy a..... More


Attached Files

.py   U-Net.py (Size: 2.98 KB / Downloads: 3)
Print this item

  .get() not retrieving value?
Posted by: Sedos101 - Aug-25-2023, 06:02 AM - Forum: General Coding Help - Replies (2)

Hi Everyone,

I have setup a combo box to store gradient values as such:
[python] gradient_value = ["0%","10%","15%","20%"]
gradient_dropd..... More

Print this item

  Errors if an xlsx file has blank rows in the beginning….
Posted by: tester_V - Aug-25-2023, 03:42 AM - Forum: Data Science - Replies (1)

Greetings!
This is my first try using Pandas.
The sniped below works file if the files(.XLSX) do not have blank lines in the beginning.
I thought b..... More

Print this item

  Is it possible to add a delay right after a request.get()
Posted by: cubangt - Aug-25-2023, 02:31 AM - Forum: General Coding Help - Replies (6)

I'm trying to build a scraper to get pricing and description from this site, just for the men's shoes.
When you visit the site normally via a browser..... More

Print this item

  Help with Python Script to generate SVG Dot Matrix Pattern for LED Light Guide
Posted by: iamrickm - Aug-24-2023, 11:21 PM - Forum: General Coding Help - Replies (2)

Hello, I'm a lighted sign designer and artist and I need to create a edge illuminated Light Guide panel for a piece of glass art that will hang in a l..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [split] print two differe... 5 hours ago Reema Gribouillis General Codin...
  Data Science 5 hours ago Oshadha mamta25 Data Science
  [Tkinter] I’m building a ... Yesterday, 22:15 tsgiannis woooee GUI
  Two arguments in input fu... Yesterday, 00:56 Alfredd Pedroski55 General Codin...
  Backward compatibility qu... 11-08, 10:39 yutaozhou buran News and Disc...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
  Code runs perfectly and j... 11-05, 17:56 compuman145 noisefloor General Codin...
  Natural language processi... 11-05, 14:03 maaaa2401 offsoar Homework
Most views
  The best Prog... 578730
  Tutorial Requ... 509417
  Web Scraping ... 441869
  Newbie with P... 385828
  New Users Int... 375323
Most reputation
buran 581
snippsat 510
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12102
buran 8194
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
ColorTig Today
AcoolPurpleOne1863 Today
racingsubby Today
Reema Today
lary_p Yesterday

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020