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,467
» Latest member: Shailesh
» Forum threads: 38,578
» Forum posts: 174,808

Full Statistics

Online Users
There are currently 883 online users.
» 0 Member(s) | 873 Guest(s)
Yandex, Google, Bing, Baidu, Facebook Dev, Apple

Latest Threads
class Blockage not projec...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 04:32 PM
» Replies: 1
» Views: 145
Import vs from x import
Forum: General Coding Help
Last Post: snippsat
Yesterday, 04:09 PM
» Replies: 1
» Views: 85
Trouble with Average Calc...
Forum: General Coding Help
Last Post: Pate
Yesterday, 07:38 AM
» Replies: 4
» Views: 1,293
tracking version during r...
Forum: News and Discussions
Last Post: Skaperen
Yesterday, 12:25 AM
» Replies: 0
» Views: 81
Return a string or byte o...
Forum: General Coding Help
Last Post: snippsat
May-14-2025, 05:21 PM
» Replies: 5
» Views: 336
problems with netcdf if I...
Forum: General Coding Help
Last Post: Blaubart
May-14-2025, 04:02 PM
» Replies: 16
» Views: 1,128
Retired and Learning Pyth...
Forum: Code sharing
Last Post: BarbaraGonzalez
May-14-2025, 09:04 AM
» Replies: 1
» Views: 349
Pip help
Forum: General Coding Help
Last Post: Larz60+
May-14-2025, 05:57 AM
» Replies: 4
» Views: 404
Paste text with caret alr...
Forum: General Coding Help
Last Post: armorerratic
May-14-2025, 01:12 AM
» Replies: 2
» Views: 976
Library Management System
Forum: Homework
Last Post: deanhystad
May-13-2025, 01:56 AM
» Replies: 1
» Views: 211

 
  mouse move event/cinfiguration ttk/python
Posted by: janeik - Jul-03-2023, 02:58 PM - Forum: General Coding Help - Replies (4)

hello and thank for help given.
I have a goal:
When mousepointer moves,write its coordinates into text field of an allready existing label.
In orde..... More

Print this item

  Something wrong with my code
Posted by: FabianPruitt - Jul-03-2023, 02:19 PM - Forum: General Coding Help - Replies (5)

Firstly I'm not a coder and at 80 I doubt whether I will ever have enough brain cells to attempt such a task.

But I do enjoy making Wordsearch Puz..... More

Print this item

  Error when animating 3D plot
Posted by: Tee - Jul-03-2023, 04:34 AM - Forum: General Coding Help - Replies (4)

I am trying to animate a 3D plot. I am getting an error and I can't figure out why.
The program runs without any issues when the dot1 plot is not inc..... More

Print this item

  Review my Django & BeautifulSoup Scraper
Posted by: mactron - Jul-02-2023, 09:39 PM - Forum: Code Review - No Replies

I have some Python background, but this is my very first time working with Django. So I would appreciate it if someone could review my code to ensure ..... More

Print this item

  A solution to manage threads and event data in Tkinter
Posted by: Gribouillis - Jul-02-2023, 02:04 PM - Forum: Code sharing - Replies (8)

In the process of writing a small tkinter application, I wanted a separate worker thread to update the GUI to display progress reports. I came across ..... More

Print this item

  Too many queries?
Posted by: lorasf - Jul-01-2023, 05:24 PM - Forum: General Coding Help - Replies (6)

I have a script that executes every evening and picks up current crypto prices and then multiplies it with the current holding. After these two steps ..... More

Print this item

  Probably easiest question ever
Posted by: VINCENZOOO - Jul-01-2023, 03:48 PM - Forum: General Coding Help - Replies (1)

Just started coding for the first time with python. Trying to understand why I cannot write ''Hello World'' but can write 'Hello World'? It seems to c..... More

Print this item

Thumbs Up I am senior Developer.
Posted by: pydon911029 - Jul-01-2023, 12:22 PM - Forum: Jobs - No Replies

I have rich experience in programming with Python.
I am always ready to work with my client.
Following is my main skills.
Python, Django, React.js, No..... More

Print this item

  Expert in web scraping for a Project
Posted by: Charlie99 - Jul-01-2023, 12:18 PM - Forum: Jobs - Replies (1)

I need someone that knows how to scrape various bookmakers websites like Bet365, and after, put all the information in a JSON. This is dynamic data, s..... More

Print this item

  Error in blend_modes library
Posted by: talgreen - Jul-01-2023, 11:41 AM - Forum: General Coding Help - Replies (6)

Hi,

I'm trying to use the blend_modes library, in order to blend 2 images. I've copied the example code from here:
https://pypi.org/project..... More

Print this item

  splitting file into multiple files by searching for string
Posted by: AlphaInc - Jul-01-2023, 10:35 AM - Forum: General Coding Help - Replies (2)

Hello everybody,

I got a backup of a bunch of chess games (from chess.com) I played with a friend of mine and wanted to save them as individual fil..... More

Print this item

  python311 tkinter moving mouse event.
Posted by: janeik - Jul-01-2023, 09:09 AM - Forum: General Coding Help - Replies (1)

hi.I am running a tkinter mapview in root window.
Coordinate,pos_x, is shown on a label in full size rootwindow.
However when I move mouse from i.e ..... More


Attached Files

Thumbnail(s)
   
Print this item

  Transparent window background, but not text on it
Posted by: muzicman0 - Jul-01-2023, 03:53 AM - Forum: GUI - Replies (8)

I'm fairly new (or at least inexperienced) with Python, and this is the first project where I am trying to make a GUI.

What I am trying to accompli..... More

Print this item

  Flask CORS not functioning
Posted by: michaelnicol - Jul-01-2023, 01:08 AM - Forum: Web Scraping & Web Development - Replies (1)

Hello,

I am attempting to work on a backend server for a front end that will compute data.

To test this, I want to forward between ports. On the..... More

Print this item

  How can I multithread to optimize a groupby task:
Posted by: davisc4468 - Jun-30-2023, 02:45 PM - Forum: General Coding Help - No Replies

I created a program to aggregate a large dataframe over one variable - userid. The program executes a groupby to calculate the mean, min and max of 10..... More

Print this item

  Get Difference whenever transition value increases
Posted by: v_mn - Jun-30-2023, 11:51 AM - Forum: Data Science - No Replies

I have following code:

[python]import pandas as pd
from datetime import datetime

# Create the DataFrame
data = {'dt': ['1990-06-05 15:59:57', '1990..... More

Print this item

  Fitting data to a curve
Posted by: daaegp - Jun-30-2023, 11:40 AM - Forum: General Coding Help - Replies (1)

Coding newbie here!

I'm trying to fit data to a 2d6 probability, with a couple of caveats.

data
input = { “Blue”: 10.46, “Orange”: 0.57, “Red..... More

Print this item

  Taking Mathematical Expressions from Strings
Posted by: quest - Jun-30-2023, 01:31 AM - Forum: General Coding Help - Replies (2)

I have bunch of strings like:

[python]
import re
import ast
import numpy as np

1/2 + 1/2*i + 1/2*j + 1/2*k
1 + 0*i + 0*j + 0*k
1 + 1*i + 0*..... More

Print this item

Lightbulb Austin, Texas Python Meetup Talks
Posted by: gtxdatascientist - Jun-29-2023, 08:56 PM - Forum: News and Discussions - No Replies

Hey Fellow Python Fans Dance


I am new to this forum, and it feels like I teleported back in tim..... More

Print this item

  Why do the lists not match?
Posted by: Alexeyk2007 - Jun-29-2023, 06:00 PM - Forum: General Coding Help - Replies (3)

[python]b = [0 for i in range(2)]
a = [b for k in range(2)]

c = a
d = [[0, 0], [0, 0]]

print(c == d) # True

c[0][0] = 1
d[0][0] = 1
print(c == d) ..... More

Print this item

  this message show up for me. cant debug notinhg here
Posted by: davidthomas - Jun-29-2023, 05:44 PM - Forum: News and Discussions - No Replies

this message show up for me. cant debug notinhg here

Error running 'main': Cannot run program "C:\Users\David Thomas\Desktop\pyton\venv\Scripts\pyt..... More

Print this item

  PivotTable help needed please
Posted by: jdekock - Jun-29-2023, 11:13 AM - Forum: General Coding Help - Replies (1)

I'm trying to create a pivot table in Python, but when I compare the sum of my count on my original dataframe with the sum of the count in the PivotTa..... More

Print this item

  How to setup automatic notification by email for every post?
Posted by: pstein - Jun-29-2023, 05:10 AM - Forum: Board - Replies (1)

When I post something into forum I want to get immediately an email notification for every reply.

Currently I always have to enable manually the ra..... More

Print this item

  Is there a *.bat DOS batch script to *.py Python Script converter?
Posted by: pstein - Jun-29-2023, 05:05 AM - Forum: General Coding Help - Replies (3)

I consider to convert some of my long term *.bat batch scripts (on Windows) to a corresponding *.py Pythoin script.

Is there a reliable converter ..... More

Print this item

  Code problem - probably easy fix?
Posted by: colin_dent - Jun-29-2023, 04:19 AM - Forum: General Coding Help - Replies (5)

Hi, I have two codes that I want to combine. I'm a newb and though this seems like it should be simple for some reason everything I try fails. The two..... More

Print this item

  Question on pandas.dataframe merging two colums
Posted by: shomikc - Jun-28-2023, 05:23 PM - Forum: General Coding Help - Replies (4)

Hi

I have a dataset like below

[Image: yJK14Fa]

The question is

For customers who have more than 1 booking, which is..... More

Print this item

  Deleting characters between certain characters
Posted by: stahorse - Jun-28-2023, 04:49 PM - Forum: Data Science - Replies (7)

Hi,

I have this file here:

[output]<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="Generator" conte..... More

Print this item

  Search Outlook Inbox for set of values
Posted by: cubangt - Jun-28-2023, 03:13 PM - Forum: General Coding Help - Replies (1)

So im being tasked with capturing status of key things within multiple projects.. The only bad thing is that not everyone follows the email standard f..... More

Print this item

  Rename all files in a folder
Posted by: hitoxman - Jun-28-2023, 01:47 PM - Forum: General Coding Help - Replies (9)

Hi everyone,

I have a folder which contains all files exported from Dropbox. All these files have been named using the date when they are created. ..... More

Print this item

  Python: Regex is not good for re.search (AttributeError: 'NoneType' object has no att
Posted by: Melcu54 - Jun-28-2023, 06:46 AM - Forum: General Coding Help - Replies (9)

In my html file I have this line:

[python] <div class="color-black mt-lg-0" id="hidden">, in</div>
<a href="https://neculaifantanaru.co..... More

Print this item

  Seaborn not displaying the specified n bins
Posted by: russellm10 - Jun-28-2023, 02:51 AM - Forum: Data Science - No Replies

Hi everyone,

I am working on a Jupiter notebook, and I am creating a histogram using the seaborn function histplot(). However, I specify 50 bins, f..... More

Print this item

  Pyautogui, İmagesearch, Moving target
Posted by: Beyazx - Jun-27-2023, 08:47 PM - Forum: General Coding Help - No Replies

"
[python]while True:

p01 = imagesearch("p01.png")
if p01[0] != -1:
pyautogui.click(p01[0], p01[1]) (click)
..... More

Print this item

  download a file from a URL
Posted by: JayManPython - Jun-27-2023, 04:27 PM - Forum: General Coding Help - Replies (8)

inspecting a HTML page i have managed to get a URL of a report i want to download
If a put the URL into a browser and press enter or put the URL into..... More

Print this item

  [SOLVED] Using Python to connect to an XML ?
Posted by: jehoshua - Jun-27-2023, 02:45 AM - Forum: General Coding Help - Replies (21)

Can I use Python to connect to an XML, and then based on the data and certain rules, create a spreadsheet similar to OpenOffice calc ? Or it doesn't ..... More

Print this item

  getting unexpected indent errors trying to move cells up
Posted by: jensengt - Jun-27-2023, 02:19 AM - Forum: General Coding Help - Replies (4)

I have a worksheet with two tables, after comparing and deleting duplicates from the one table I'm left with a number of empty rows in column H,I & J...... More


Attached Files

.xlsx   example workbook2.xlsx (Size: 9.42 KB / Downloads: 260)
Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  class Blockage not projec... Yesterday, 16:32 Azdaghost deanhystad General Codin...
  Import vs from x import Yesterday, 16:09 Calab snippsat General Codin...
  Trouble with Average Calc... Yesterday, 07:38 autodecay Pate General Codin...
  tracking version during r... Yesterday, 00:25 Skaperen Skaperen News and Disc...
  Return a string or byte o... 05-14, 17:21 Calab snippsat General Codin...
  problems with netcdf if I... 05-14, 16:02 Blaubart Blaubart General Codin...
  Retired and Learning Pyth... 05-14, 09:04 breacsealgaire BarbaraGonzalez Code sharing
  Pip help 05-14, 05:57 meditek Larz60+ General Codin...
  Paste text with caret alr... 05-14, 01:12 Wehaveall armorerratic General Codin...
  Library Management System 05-13, 01:56 annajoy deanhystad Homework
  smbus.SMBus i2c code whic... 05-12, 15:51 NewbyTyro NewbyTyro General Codin...
Most views
  The best Prog... 563998
  Tutorial Requ... 450658
  Web Scraping ... 428985
  Newbie with P... 363665
  Thread remain... 336173
Most reputation
buran 580
snippsat 506
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 449
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12050
buran 8169
snippsat 7326
deanhystad 6827
metulburr 5151
Top referrers
Googlepro 22
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
Shailesh Yesterday
jackdennis272 Yesterday
JeanChristophe 05-14
EZEKIELGRAPHICSMEDIA 05-14
BarbaraGonzalez 05-14

User Panel Messages

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