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,280
» Latest member: MileHigh303
» Forum threads: 38,791
» Forum posts: 175,869

Full Statistics

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

Latest Threads
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
5 hours ago
» Replies: 0
» Views: 21
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Yesterday, 06:15 AM
» Replies: 4
» Views: 1,461
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 112
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 43
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,017
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:46 AM
» Replies: 2
» Views: 4,288
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 321
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Nov-19-2025, 05:03 AM
» Replies: 1
» Views: 165
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
Nov-18-2025, 06:47 PM
» Replies: 2
» Views: 228
best way to learn python
Forum: News and Discussions
Last Post: mamta25
Nov-18-2025, 04:13 PM
» Replies: 5
» Views: 3,123

 
  How to close all windows when exit program
Posted by: scratchmyhead - May-17-2020, 07:19 AM - Forum: GUI - Replies (3)

I was just wondering if there is a way to close all open windows upon program exit?

Print this item

  Default Values for radiobuttons
Posted by: xuraax - May-17-2020, 06:40 AM - Forum: GUI - Replies (2)

I am learning to use tkinter and I have a program which includes Radiobuttons and Entry. These work well if I press buttons and insert text into the a..... More

Print this item

  Problematic Assignment
Posted by: EB22 - May-17-2020, 06:33 AM - Forum: Homework - Replies (3)

Hello, I m stuck here, I dont know whats missing or whats wrong with it. Please, if anyoane have any suggestions, I literally cant continue. Thanks!
..... More

Print this item

  FutureWarning: pandas.util.testing is deprecated
Posted by: buunaanaa - May-17-2020, 05:48 AM - Forum: General Coding Help - Replies (3)

I am using anaconda3 windows10
I am coding main.ipynb using jupyter notebook
I wrote a function in 2.py which is in the same folder as the main.ipyn..... More

Print this item

  Print the frequency of each coin for the combinations that sum to the amount N
Posted by: Pranav - May-17-2020, 05:32 AM - Forum: Homework - Replies (3)

Description:

The different combinations of the coins in the range of 1 to N that sum to the amount N needs to be printed. I have used recursiv..... More

Print this item

  Changing the name of a windows class?
Posted by: tibegato - May-16-2020, 11:49 PM - Forum: General Coding Help - Replies (4)

If you have a handle of a window from ANY application, is there a way to rename it's classname?

Print this item

  Loop triggered by button help
Posted by: Purple0 - May-16-2020, 10:13 PM - Forum: GUI - Replies (1)

Hi, I need help. I'm trying to make a loop, triggered by a button, that:

First press: Relay goes on and off intermittently
Second press: Turns rel..... More

Print this item

  User Update in Mysql with python
Posted by: oguzcan - May-16-2020, 06:43 PM - Forum: Homework - Replies (3)

Hi,

I have a problem. My library mysql-connector

my code working but doesnt updating table

[python]if passentry != "":
query=("UPDATE cu..... More

Print this item

  stop cycle while
Posted by: windows11 - May-16-2020, 02:42 PM - Forum: General Coding Help - Replies (1)

Hello people, I dont know how to stop/pass this cycle while.
the situation is the next:
In one web page I need to click few times until reload the n..... More

Print this item

  if condition not behaving as expected
Posted by: EricBHK - May-16-2020, 10:44 AM - Forum: General Coding Help - Replies (10)

I have a while loop in which I check if a certain geographic point is located within any of the 7 regions of a given province (using PostGis ST_WITHIN..... More

Print this item

  Netmiko Program ssh from the Jumpssh ( host -> Jumphost -> Network Device
Posted by: matya0403 - May-16-2020, 10:38 AM - Forum: Networking - Replies (3)

I am getting error like below
TypeError: 'TerminalServerSSH' object is not callable
[python]
from netmiko import ConnectHandler
from getpass import ..... More

Print this item

  Data placement
Posted by: nboogerz - May-16-2020, 10:18 AM - Forum: General Coding Help - Replies (1)

Hi,

I was just wondering if 'Declaring variables' close to each other in Python scripts results in their memory location being close to each other ..... More

Print this item

  Help with Code
Posted by: darkc0de - May-16-2020, 10:04 AM - Forum: General Coding Help - Replies (1)

Hello everyone, need some help with my code below. The objective of the code is to take input for 3 sides of a triangle from the user and print the ar..... More

Print this item

  Checkbox snippet
Posted by: menator01 - May-16-2020, 08:26 AM - Forum: Code sharing - No Replies

A tkinter checkbox snippet I wrote and am playing around with. Maybe it will be useful for someone learning tkinter checkboxes and passing their value..... More

Print this item

  C style strings
Posted by: deanhystad - May-16-2020, 06:06 AM - Forum: General Coding Help - Replies (2)

I have a Python program that communicates with a C program over a socket connection. The C program sends a "message" which contains floats and ints a..... More

Print this item

  ChatterBot: How to store unanswered question in a text file?
Posted by: animrehrm - May-16-2020, 06:00 AM - Forum: General Coding Help - No Replies

Hello, how do i store an unanswered question in chatterbot? I have a here a code for my file, but it wont store in my text file. Cry

[b]app.p..... More

Print this item

  How to implement the if then else statement properly.
Posted by: scratchmyhead - May-16-2020, 05:39 AM - Forum: GUI - Replies (5)

I have a small program that enters room numbers of a motel. Basically what I want to achieve is to not re-enter the room twice into the database. It's..... More

Print this item

  Need Assistance
Posted by: Jack_Daniels - May-16-2020, 05:35 AM - Forum: Homework - Replies (4)

I'm taking an Introductory course and I'm having a really hard time.

I need assistance simulating a check out process at a restaurant

I'm able ..... More

Print this item

  how to create my own custom logging message
Posted by: maiya - May-16-2020, 02:48 AM - Forum: General Coding Help - Replies (4)

Hi All,

Could any one please let me know, how to create my own custom logging.

For example below:

2020-05-15 11:55:17,823: [action_done] Pyth..... More

Print this item

  Python re.sub text manipulation on matched contents before substituting
Posted by: xilex - May-16-2020, 02:35 AM - Forum: General Coding Help - Replies (2)

Hi, I have the following code below:

[python]import re

t = '<img data src="some-thing">'
pattern = '(<img ).*?(src=")(.*?)(">)'
u = re.sub(pat..... More

Print this item

  Turtle Long Press Lag
Posted by: Jimmy_Py - May-16-2020, 01:52 AM - Forum: Game Development - Replies (4)

Below is some code from a tutorial for making pong with Turtle. I noticed that the short presses of "w" and "s" move the left paddle instantaneously, ..... More

Print this item

  How to verify the give number is valid
Posted by: Mekala - May-16-2020, 12:12 AM - Forum: General Coding Help - Replies (3)

Hi,
I am trying to verify the given number is a valid phone number or not.

Conditions:
1. The number may be a 10 digit one : 9898989876
2. The n..... More

Print this item

  How to make button text bold in Tkinter?
Posted by: scratchmyhead - May-15-2020, 11:43 PM - Forum: GUI - Replies (2)

I've googled this but can't find an answer. I just want to make the text on a button bold.

Print this item

  Python 3.7.4 (FTPLib Deprecated). Now What?
Posted by: bmccollum - May-15-2020, 09:24 PM - Forum: General Coding Help - Replies (1)

I've been running a Python script for a while that scrapes data from a website, parses through what it finds, saves everything to a CSV file, and then..... More

Print this item

  question: finding multiple strings within string
Posted by: djf123 - May-15-2020, 08:19 PM - Forum: General Coding Help - Replies (4)

I am trying to figure out how to do the following. I have a string "djfk83dhfdog83748djfk83dhfcat83748djfk83dhfmonkey83748djfk83dhfhuman83748" and I w..... More

Print this item

  Read Multiples Text Files get specific lines based criteria
Posted by: zinho - May-15-2020, 08:08 PM - Forum: General Coding Help - Replies (5)

How can I read multiples text files get specific lines by criteria a save into CSV master file

I try this
[python]import glob
import pandas as pd..... More

Print this item

  How to ignore empty columns from DB?
Posted by: Winfried - May-15-2020, 07:15 PM - Forum: General Coding Help - Replies (1)

Hello,

As I read rows from a database and concatenate some columns into a string, some columns are empty.

What is the correct way to ignore thos..... More

Print this item

  encryption and decryption with python
Posted by: ibrahim - May-15-2020, 07:11 PM - Forum: General Coding Help - Replies (1)

hi;

encryption and decryption with python the best method.
I tried two methods.which of them is more stable and secure
which of these should be u..... More

Print this item

  Learning through doing -- Where to get experience??? Open Source Volunteering.
Posted by: pav1983 - May-15-2020, 06:43 PM - Forum: News and Discussions - Replies (2)

I am trying to figure out how I can continue learning and improving. I have taken python courses and I have a lot of the fundamentals down pat, but th..... More

Print this item

  How to wrap text within text box
Posted by: pav1983 - May-15-2020, 06:02 PM - Forum: GUI - Replies (3)

Hi all,

I need some help with this project. I cannot find the command to wrap text that I've already imputted into the widget. What I want to do ..... More

Print this item

  Recommendation - Resource - While loops, if/elif/else nested, functions
Posted by: musicjoeyoung - May-15-2020, 05:54 PM - Forum: News and Discussions - Replies (1)

I have found many resources on this website as well searching all over the internet, however I haven't found something that directly helps what I'm lo..... More

Print this item

  How to tagging items in QTreeWidget?
Posted by: flote21 - May-15-2020, 05:08 PM - Forum: GUI - No Replies

I am pretty new in python (and this is my first post here). so Hello everyone!

I developed a Treeview widget using Tkinter. I used the next code se..... More

Print this item

  Python Exercise
Posted by: Vasanth0910 - May-15-2020, 04:05 PM - Forum: Homework - Replies (1)

Could you please help me solve the below problem..?

As a network provider you are extending your network to different cities and you have to estima..... More

Print this item

  My Attempt at an alarm clock
Posted by: menator01 - May-15-2020, 03:02 PM - Forum: Code sharing - No Replies

My first go at an alarm clock
[python]
# /usr/bin/env python3

import tkinter as tk
from tkinter import ttk, messagebox
from time import strftim..... More

Print this item

  Splitting the audio file into smaller packets before transfer using UDP protocol in p
Posted by: MuhammadAli152 - May-15-2020, 03:01 PM - Forum: General Coding Help - No Replies

I am required to send an audio file form client to server using UDP protocol (python) in packets of 500 bytes each. Then problem statement for sender ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Brazil Python Help to aut... 5 hours ago MileHigh303 MileHigh303 Jobs
  My goal to be hired worki... Yesterday, 06:15 GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... 11-20, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... 11-20, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... 11-20, 04:59 temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... 11-20, 04:46 Barber532 SledgeNE Game Developm...
  Graph Interpolate Difficu... 11-19, 20:34 Tuurbo46 deanhystad General Codin...
  link variable to exc bloc... 11-19, 05:03 Astrobert Gribouillis General Codin...
  PyQt6 QWidgets and system... 11-18, 18:47 stevecoh1 Axel_Erfurt GUI
  best way to learn python 11-18, 16:13 dutch mamta25 News and Disc...
  [SOLVED] Access keys and ... 11-17, 11:47 Winfried Winfried General Codin...
Most views
  The best Prog... 579213
  Tutorial Requ... 511987
  Web Scraping ... 442153
  Newbie with P... 386266
  New Users Int... 379244
Most reputation
buran 581
snippsat 511
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+ 12109
buran 8196
snippsat 7389
deanhystad 6915
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
MileHigh303 Yesterday
ndx101 Yesterday
OtiliaBecker Yesterday
NAGASOWMYAGUNDU 11-20
shipa1autotransport 11-20

User Panel Messages

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