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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,568
» Latest member: Anusri
» Forum threads: 38,666
» Forum posts: 175,219

Full Statistics

Online Users
There are currently 274 online users.
» 1 Member(s) | 265 Guest(s)
Baidu, Bing, Yandex, Google, Applebot, AOL, Gribouillis

Latest Threads
Label & OptionMenu widget...
Forum: GUI
Last Post: deanhystad
3 hours ago
» Replies: 1
» Views: 75
Code stoped working
Forum: News and Discussions
Last Post: DeaD_EyE
9 hours ago
» Replies: 2
» Views: 104
ASCII-Codec in Python3 [S...
Forum: General Coding Help
Last Post: Gribouillis
11 hours ago
» Replies: 6
» Views: 10,420
How scan all ips from mai...
Forum: Networking
Last Post: MaahirThomas
Yesterday, 07:09 PM
» Replies: 2
» Views: 394
gpiozero buttons stop wor...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 03:10 PM
» Replies: 7
» Views: 413
Made my first Python prog...
Forum: Game Development
Last Post: Ricky1178
Jul-17-2025, 11:12 PM
» Replies: 8
» Views: 10,695
How to package code for d...
Forum: General Coding Help
Last Post: snippsat
Jul-17-2025, 11:36 AM
» Replies: 2
» Views: 213
pip3 install certifi fail...
Forum: General Coding Help
Last Post: Pedroski55
Jul-15-2025, 08:52 AM
» Replies: 1
» Views: 158
My first python game : Ti...
Forum: Game Development
Last Post: walterliz
Jul-15-2025, 07:45 AM
» Replies: 8
» Views: 55,997
A penny doubled every day...
Forum: Homework
Last Post: walterliz
Jul-15-2025, 07:35 AM
» Replies: 6
» Views: 782

 
  Why wont this path work one way, but will the other way?
Posted by: cubangt - Sep-01-2023, 01:04 PM - Forum: General Coding Help - Replies (2)

Im trying to run a python script using this as one of the paths to a text file that it needs in order to process

This wont work
[python]
\\server..... More

Print this item

  Cannot convert from timedelta64[ns] to timedelta64[h]
Posted by: NewBiee - Sep-01-2023, 06:29 AM - Forum: Data Science - Replies (1)

Hi,

I have this piece of code that used to work. I have upgraded Numpy and Pandas and now they don't seem to work.

[python] def astype(self, dty..... More

Print this item

  how to open a popup window in tkinter with entry,label and button
Posted by: lunacy90 - Aug-31-2023, 09:10 PM - Forum: General Coding Help - Replies (1)

I need to be able to open a pop up window with an Label, Entry and Button widgets. They have to be located from left to right (label/entry/button). I ..... More

Print this item

Question Web Scraping via Web App (Asking for Tips)
Posted by: MartinBecka - Aug-31-2023, 08:48 PM - Forum: Web Scraping & Web Development - No Replies

Hello, fellow programmers,

I am learning Python through working on personal projects and right now, I am trying to create web application product c..... More

Print this item

  Tkinter button images not showing up
Posted by: lunacy90 - Aug-31-2023, 05:06 PM - Forum: General Coding Help - Replies (7)

I have the following code



[python]
from tkinter import *
from tkinter import messagebox

def read_account_balance():
try:
wit..... More

Print this item

  Editing spreadsheet/csv
Posted by: BSDevo - Aug-31-2023, 04:15 PM - Forum: General Coding Help - Replies (6)

Hi, sorry if something wrong im new its my first post.
Im learning python but english is not my native language and i dont know how to properly put s..... More

Print this item

  Is it possible to extract 1 or 2 bits of data from MS project files?
Posted by: cubangt - Aug-31-2023, 03:03 PM - Forum: General Coding Help - Replies (8)

We have a weekly meeting with management to present current status on few projects that are going on.. Im looking to extract the % complete from each ..... More

Print this item

  FutureWarning: Logical ops (and, or, xor) between Pandas objects and dtype-less seque
Posted by: NewBiee - Aug-31-2023, 02:18 PM - Forum: Data Science - Replies (5)

I have had this method on my code, it's been working fine, but as of today my code fails on this method:

[python]def get_flags(series, flags, regex..... More

Print this item

  problem in import module from other folder
Posted by: akbarza - Aug-31-2023, 12:28 PM - Forum: General Coding Help - Replies (5)

hi
I typed this thread before, but my net was disconnected and I lost it.
by the pic : ..... More

Print this item

  A simple problem, how best to solve it?
Posted by: SuchUmami - Aug-31-2023, 10:22 AM - Forum: General Coding Help - Replies (2)

This seems quite simple compared to many problems I've had. However, I'm not finding an elegant solution at the moment.

I have two csv files and I'..... More

Print this item

  Task calendar problem
Posted by: humanical - Aug-30-2023, 07:50 PM - Forum: Homework - Replies (8)

Here is the task:
Analyzing weekends and holidays around New Year's and May 1st in Russia, the president of Flatlandia has concluded that the rest of..... More

Print this item

  Trying to debug segfault in ctypes binding to Fortran
Posted by: bthomas - Aug-30-2023, 07:30 PM - Forum: General Coding Help - Replies (1)

Hi,

I am just trying to learn creating Python bindings to legacy Fortran using the ctypes module. My code is segfaulting in the Fortran function in..... More

Print this item

  Python Mapped Strings
Posted by: edualfaia - Aug-30-2023, 04:25 PM - Forum: News and Discussions - Replies (12)

Hi experts
I have mapped, the strings below, the words that start win "-" with another string, for example "nrdbc" is equivalent to "n3DeleteBearerC..... More

Print this item

  textfile to customtkinter combobox
Posted by: janeik - Aug-30-2023, 01:49 PM - Forum: General Coding Help - Replies (6)

hello.

Goal: Insert list of country names, stored in a text file, into the combobox.
Idea, create a list of values-
Sadly, country names shows u..... More


Attached Files

.txt   inpland.txt (Size: 2.08 KB / Downloads: 241)
Print this item

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: 235)
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: 182)
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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [Tkinter] Label & OptionM... 3 hours ago slate deanhystad GUI
  Code stoped working 9 hours ago OldMan57 DeaD_EyE News and Disc...
  ASCII-Codec in Python3 [S... 11 hours ago AlphaInc Gribouillis General Codin...
  How scan all ips from mai... Yesterday, 19:09 ramin_malek MaahirThomas Networking
  gpiozero buttons stop wor... Yesterday, 15:10 duckredbeard deanhystad General Codin...
  [PyGame] Made my first Py... 07-17, 23:12 andrerocha1998 Ricky1178 Game Developm...
  How to package code for d... 07-17, 11:36 mayukun snippsat General Codin...
  pip3 install certifi fail... 07-15, 08:52 rb9594 Pedroski55 General Codin...
  My first python game : Ti... 07-15, 07:45 ForsakenDusk walterliz Game Developm...
  A penny doubled every day... 07-15, 07:35 esoyboy walterliz Homework
  Exercise on reading a chu... 07-15, 07:31 Nit_Picker walterliz Homework
Most views
  The best Prog... 572750
  Tutorial Requ... 485832
  Web Scraping ... 437202
  Newbie with P... 380196
  Thread remain... 351407
Most reputation
buran 581
snippsat 507
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12072
buran 8174
snippsat 7353
deanhystad 6862
metulburr 5151
Top referrers
Googlepro 24
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Anusri Today
slate Today
SagarSwag Today
Valentino_lmao Today
OLaneled Today

User Panel Messages

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