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,397
» Latest member: MaxTranslate
» Forum threads: 38,822
» Forum posts: 176,026

Full Statistics

Online Users
There are currently 32 online users.
» 0 Member(s) | 26 Guest(s)
Bing, Apple, Mojeek, Google, AOL

Latest Threads
Struggles I Faced While E...
Forum: Code Review
Last Post: MaxTranslate
1 hour ago
» Replies: 2
» Views: 4,576
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
10 hours ago
» Replies: 4
» Views: 147
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
11 hours ago
» Replies: 7
» Views: 3,580
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 140
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 279
IP address for users
Forum: Networking
Last Post: itx_sumeet
Dec-27-2025, 05:53 AM
» Replies: 4
» Views: 7,095
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Dec-27-2025, 01:10 AM
» Replies: 5
» Views: 9,947
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 173
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 104
requests.post not sending...
Forum: Web Scraping & Web Development
Last Post: noisefloor
Dec-24-2025, 09:20 AM
» Replies: 2
» Views: 173

 
  Subwindow
Posted by: catlessness - Oct-21-2021, 12:49 PM - Forum: GUI - Replies (5)

is instantiating a subwindow in the main window considered a new thread?
cuz I'm getting warnings like:
QObject::connect: Cannot queue arguments of ..... More


Attached Files

.py   AppMap_setup.py (Size: 7.93 KB / Downloads: 374)
.py   PI_GUI_Func.py (Size: 4.5 KB / Downloads: 379)
.py   PI_GUI_Main.py (Size: 14.87 KB / Downloads: 413)
Print this item

  position of the matching
Posted by: guy7200 - Oct-21-2021, 10:17 AM - Forum: General Coding Help - No Replies

please
I don't understand why this code don't return the x and the y position on the rectangle,
I try to get the position of the matching

[python..... More

Print this item

  string format challenge
Posted by: jfc - Oct-21-2021, 09:28 AM - Forum: General Coding Help - Replies (2)

My goal is to use the format function to print one value of a dict based on a key known at runtime.
I can do it with the an f-string (first print)
I c..... More

Print this item

Question [SOLVED] Delete specific characters from string lines
Posted by: EnfantNicolas - Oct-21-2021, 08:35 AM - Forum: General Coding Help - Replies (4)

[Solved]
I have this file right here, which is an extract of a much bigger file.

[quote]CSCIR, 30, 0, 0
CSYS, 0
MAT , 230..... More

Print this item

  serial connection to Arduino
Posted by: Jack9 - Oct-21-2021, 08:31 AM - Forum: General Coding Help - Replies (4)

Trying to connect pc windows 10 to arduino.
https://pythonforundergradengineers.com/...o-LED.html
But I get this error when using the code..... More

Print this item

Brick Javascript based web page scraping
Posted by: amjadraza26 - Oct-21-2021, 05:54 AM - Forum: General Coding Help - Replies (1)

Hello there I'm trying to scrap data from javascript based website. but it return empty and have no data of my choice. Can any body suggest me how to ..... More

Print this item

  Remove post
Posted by: korenron - Oct-21-2021, 05:53 AM - Forum: General Coding Help - Replies (3)

Remove this please

Print this item

  python spreadsheet app (visual-numpy)
Posted by: rome92 - Oct-21-2021, 02:29 AM - Forum: Code sharing - Replies (2)

spreadsheet app (visual-numpy)
This is a full working spreadsheet app written in python under the ..... More


Attached Files

Thumbnail(s)
   
Print this item

  a function to write or not
Posted by: Skaperen - Oct-21-2021, 01:34 AM - Forum: News and Discussions - Replies (4)

in a container like a sequence or set, i want to replace every item that is also in another argument container with a given value, returning a like-th..... More

Print this item

  The behavior of tune model has changed
Posted by: Led_Zeppelin - Oct-20-2021, 05:53 PM - Forum: General Coding Help - Replies (5)

[code]
import pandas as pd #data loading and manipulation
import matplotlib.pyplot as plt #ploting
import seaborn as sns ..... More

Print this item

  Tkinter Exit Code based on Entry Widget
Posted by: Nu2Python - Oct-20-2021, 02:01 PM - Forum: GUI - Replies (6)

Hello All... I am new to this forum and quite new to Python, please forgive my ignorance. I am using this code for a basic Tkinter GUI and need to fig..... More

Print this item

  |SOLVED] Glob JPGs, read EXIF, update file timestamp?
Posted by: Winfried - Oct-20-2021, 01:01 PM - Forum: General Coding Help - Replies (5)

Hello,

My digital camera has no GPS, so I sometimes take pictures with my smartphone when I need to get geotagged pics.

Problem is, I noticed th..... More

Print this item

  Code 60 error
Posted by: Led_Zeppelin - Oct-19-2021, 04:37 PM - Forum: General Coding Help - Replies (3)

[code]
# check pycaret vrsion
import pycaret
print('PyCaret: %s' % pycaret.__version__)
from sklearn.ensemble import ExtraTreesClassifier
import ..... More

Print this item

  Cannot correct this
Posted by: Led_Zeppelin - Oct-19-2021, 04:18 PM - Forum: General Coding Help - Replies (1)

[code]
from fastai import *
from fastai.text import *

from fastai.vision import *

import pandas as pd

import numpy as np

df = pd.read_c..... More

Print this item

  need to skip password prompt, continue...
Posted by: tester_V - Oct-19-2021, 04:13 PM - Forum: General Coding Help - Replies (2)

Good morning!
I'm scanning a list of hosts to see a host has a specific directory and if not "continue' to the next host.
I thought I would use try/..... More

Print this item

  Sending random images via smtplib [SOLVED]
Posted by: AlphaInc - Oct-19-2021, 10:10 AM - Forum: General Coding Help - No Replies

Hello everybody,

I have a python-Script which sends E-Mails to my main account which I use as a notification method for birthdays.
Now I want to e..... More

Print this item

  define entry via class on a loop
Posted by: drSlump - Oct-19-2021, 07:45 AM - Forum: GUI - Replies (9)

I have defined an entry via the following class:

[python]class Entry(object):

def __init__(self):#, foo1, foo2, nac, root, row): #*args, **k..... More


Attached Files

Thumbnail(s)
   
Print this item

  use subprocess on linux\pi wwith a "grep " command
Posted by: korenron - Oct-19-2021, 06:54 AM - Forum: General Coding Help - Replies (2)

Hello,
(maybe someone have a simpler solution )
I need to know the status of my modem "UNKNOWN\UP\DOWN"
so I'm running this command:
[python]
i..... More

Print this item

  Printing During a Loop
Posted by: apeltes - Oct-19-2021, 04:02 AM - Forum: Homework - Replies (16)

Hello! I am doing a project for a beginning coding course.
It's a simple guessing game. The user guesses a secret number.
The code has a while loop...... More


Attached Files

.py   code.py (Size: 790 bytes / Downloads: 394)
Print this item

Brick Have I implemented this function correctly?
Posted by: naggafin - Oct-18-2021, 11:33 PM - Forum: General Coding Help - Replies (4)

Hi guys! I'm writing a function for an algorithmic trading bot. The function is derived from a white paper from Pauna Cristian which I've [url=https:/..... More

Print this item

  Calculate the Euler Number with more decimal places
Posted by: Pedroski55 - Oct-18-2021, 11:09 PM - Forum: General Coding Help - Replies (10)

I was reading about the Euler Number, e.

I read it has been calculated to a trillion decimal places.

I would be happy with 100 decimal places...... More

Print this item

  Reducing runtime memory usage in Cpython interpreter
Posted by: david_the_graower - Oct-18-2021, 09:42 PM - Forum: General Coding Help - Replies (2)

I'm running python on an embedded Linux system with a limited amount of main memory.

Is there any techniques that I can use to reduce system memory..... More

Print this item

  Kaggle Titanic - new category placement
Posted by: snakes - Oct-18-2021, 07:43 PM - Forum: Data Science - No Replies

I'm pretty new to Python and even newer to machine learning so apologies if the answer to my question is obvious.

I've performed the common step of..... More

Print this item

  The Best way to fit a bag with a size
Posted by: serjaomendes - Oct-18-2021, 07:35 PM - Forum: Homework - Replies (1)

I need to find the best way to make an exact 1000g pot by choosing 120g to 350g pieces from an array. If I don't find 1000, I can go up to 1015.

..... More

Print this item

  [split] Is there a way to embed a treeview as a row inside another treeview?
Posted by: CyKlop - Oct-18-2021, 05:31 PM - Forum: GUI - Replies (5)

Now comes the next question, this time regarding tkinter.ttk.Treeview

Is there a way to embed a treeview as a row inside another treeview? The rea..... More

Print this item

  Process doesn't work but Thread work !
Posted by: mr_byte31 - Oct-18-2021, 05:25 PM - Forum: General Coding Help - Replies (4)

I am just learning to work with multi threads/process.

I wrote this code and it works well:
[python]import time
import concurrent.futures

numT..... More

Print this item

  Transfer function from experimental data
Posted by: thunderspeed - Oct-18-2021, 05:11 PM - Forum: Data Science - No Replies

Hello everyone,
Please I need some advice on this since I've been reading on that for a while but not sure I'm in the correct direction.

I need to..... More

Print this item

  Full Body Tracking and Recognition with OpenCV
Posted by: principemestizo - Oct-18-2021, 04:47 PM - Forum: General Coding Help - No Replies

Hi there. I am new to Python and OpenCV, so I apologize if my problem is a bit obvious to you.

I google a way to recognize people without using fac..... More

Print this item

  while loops
Posted by: Paulman - Oct-18-2021, 04:13 PM - Forum: Homework - Replies (11)

Hello,

Is there anybody who can help with a problem with the while loops?
__________________________________________________________________
I'm ..... More

Print this item

  Filtering warnings by message
Posted by: 22_alias - Oct-18-2021, 11:19 AM - Forum: General Coding Help - Replies (3)

I'm struggling to understand how to use the message argument in warnings.filterwarnings. I am specifically trying to silent a deprecation warning fr..... More

Print this item

Photo Output Static image on HDMI2
Posted by: random816382 - Oct-18-2021, 11:14 AM - Forum: General Coding Help - No Replies

Hey there,

I have a science project that I am working on and there is an important part of it that I am struggling with. I will have to output a sta..... More

Print this item

  button enabled only when all the inputs are filled
Posted by: cybertooth - Oct-18-2021, 08:26 AM - Forum: GUI - Replies (5)

Hi all. I am making a Tkinter form for registration. I want the register button to be disabled until all fields are filled. secondly I am having an i..... More

Print this item

  Not able to add multiple channel IDs to python bot
Posted by: flaykez - Oct-17-2021, 10:36 PM - Forum: General Coding Help - Replies (3)

I have my bot setup so that it can ping a user in a specific channel when they join the server then immediately delete it, and it works:

command_pr..... More


Attached Files

Thumbnail(s)
   
Print this item

  NameError: name “x” is not defined ... even though x is defined
Posted by: campjaybellson - Oct-17-2021, 06:43 PM - Forum: General Coding Help - Replies (7)

I keep getting this name error message when I just want to print the value of x.
The picture clearly shows that I am defining x [x = 5].
I have unin..... More

Print this item

  Problem in list manipulation
Posted by: CyKlop - Oct-17-2021, 04:39 PM - Forum: General Coding Help - Replies (6)

Error in list processing??

Class Diagram:

[python]Bindable (my class) list (built in)
\ /
..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Struggles I Faced While E... 1 hour ago baffa_dbt MaxTranslate Code Review
  Willing to pay for help w... 10 hours ago braillescribe noisefloor General Codin...
  Create dataframe from the... 11 hours ago Calab OtiliaGen Data Science
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
  IP address for users 12-27, 05:53 Robots itx_sumeet Networking
  Lottery generator (beginn... 12-27, 01:10 Hullari Pedroski55 General Codin...
  [split] How to ask Smart ... 12-25, 07:58 yoanselcp Pedroski55 General Codin...
  Need Help with Pandas Con... 12-24, 10:07 naproxy_1 Axel_Erfurt Bar
  requests.post not sending... 12-24, 09:20 JarredAwesome noisefloor Web Scraping ...
  Looking for constructive ... 12-24, 03:16 decuser cecrease News and Disc...
Most views
  The best Prog... 580406
  Tutorial Requ... 519458
  Web Scraping ... 442778
  Newbie with P... 386979
  New Users Int... 386477
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+ 12117
buran 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
MaxTranslate Today
pizofreude Today
RockHound_Z12 Today
braillescribe Yesterday
aurelio12282025 Yesterday

User Panel Messages

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