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,936
» Latest member: MihaiPope
» Forum threads: 38,723
» Forum posts: 175,511

Full Statistics

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

Latest Threads
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
2 hours ago
» Replies: 2
» Views: 184
FAST,SECURE AND RELIABLE ...
Forum: Game Development
Last Post: MihaiPope
3 hours ago
» Replies: 0
» Views: 70
403 Error
Forum: Web Scraping & Web Development
Last Post: CaptainNewb
3 hours ago
» Replies: 10
» Views: 3,638
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
10 hours ago
» Replies: 1
» Views: 3,308
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
11 hours ago
» Replies: 4
» Views: 593
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,034
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 943
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,172
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,198
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,289

 
  a module can be found but another cannot
Posted by: Skaperen - Oct-21-2021, 06:11 PM - Forum: News and Discussions - Replies (7)

when i try to import ftrgen3 it can be found but ftrgen5 cannot:
[output]
lt2a/ka9wgn /home/ka9wgn 5> py
Python 3.6.9 (default, Jan 26 2021, 15:33:..... More

Print this item

  Ask again if wrong guess with While.
Posted by: EduPy - Oct-21-2021, 04:43 PM - Forum: General Coding Help - Replies (4)

Hi

I'm learning python and exercising the loop function with while.

I would like to make a code that ask me to input the name again if it's wron..... More

Print this item

  Why does the image for the button not appear?
Posted by: finndude - Oct-21-2021, 03:53 PM - Forum: GUI - Replies (4)

Hi all,

The below code is a simple game I'm trying to make within Tkinter. The current issue is that when I press deposit, the menu opens and the b..... More

Print this item

  Heroku Error H10
Posted by: jamesaarr - Oct-21-2021, 03:25 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi all,

My flask app is crashing constantly with this error. Files are:

app name on heroku settings is: "obscure-citadel-40024"

basic flask app(fla..... More

Print this item

  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: 361)
.py   PI_GUI_Func.py (Size: 4.5 KB / Downloads: 371)
.py   PI_GUI_Main.py (Size: 14.87 KB / Downloads: 404)
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: 384)
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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  what does % stand for in ... 2 hours ago arbiel arbiel General Codin...
  FAST,SECURE AND RELIABLE ... 3 hours ago MihaiPope MihaiPope Game Developm...
  403 Error 3 hours ago CaptainNewb CaptainNewb Web Scraping ...
  Scraping a page with log ... 10 hours ago iamaghost Hershien Web Scraping ...
  C++ program embedding Pyt... 11 hours ago Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
Most views
  The best Prog... 576225
  Tutorial Requ... 497870
  Web Scraping ... 440162
  Newbie with P... 384000
  New Users Int... 366690
Most reputation
buran 581
snippsat 508
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+ 12089
buran 8175
snippsat 7367
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
MihaiPope Today
Baran12332 Today
Hershien Today
Diyaseating Today
marineoman Today

User Panel Messages

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