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,937
» Latest member: AdrianCocian
» Forum threads: 38,722
» Forum posts: 175,510

Full Statistics

Online Users
There are currently 58 online users.
» 1 Member(s) | 52 Guest(s)
Bing, AOL, Google, AOL, Internet Archive, Daniel8Dip

Latest Threads
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Yesterday, 07:55 PM
» Replies: 2
» Views: 360
403 Error
Forum: Web Scraping & Web Development
Last Post: CaptainNewb
Yesterday, 06:57 PM
» Replies: 10
» Views: 3,828
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
Yesterday, 12:30 PM
» Replies: 1
» Views: 3,394
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Yesterday, 11:11 AM
» Replies: 4
» Views: 730
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,201
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,072
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,302
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,293
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,415
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 979

 
  My simple code don't works !!
Posted by: Nabi666 - Sep-06-2021, 09:55 AM - Forum: General Coding Help - Replies (1)

Sorry for possible language mistakes, i'm french

I did a simple video game but my function fight don't works, i don't know why, can you help m..... More

Print this item

  raspberry use scrolling text two lines together
Posted by: fishbone - Sep-06-2021, 03:24 AM - Forum: General Coding Help - No Replies

Hello Everyone,

I connect the 16*2 lcd screen to my raspberry. I want to write two columns scrolling text on the lcd screen.

I use the below co..... More

Print this item

  Raw Image Data Viewer using tkinter
Posted by: menator01 - Sep-06-2021, 02:25 AM - Forum: Code sharing - Replies (1)

[python]
#! /usr/bin/env python3

from skimage.io import imread
import tkinter as tk
from tkinter import filedialog
from os import sys
import a..... More

Print this item

  lost a post that i edited
Posted by: Skaperen - Sep-06-2021, 12:55 AM - Forum: Board - Replies (2)

does an on-topic post with 24 lines of on-topic code violate any rules here that would get it deleted or could i have goofed up editing it after i pos..... More

Print this item

  Please help I'm a beginner
Posted by: Nabi666 - Sep-05-2021, 09:44 AM - Forum: Game Development - Replies (1)

Sorry for possible language mistakes, I'm french
I started programmation for a year but i don't remember anything about it, i'm a total beginner an i..... More


Attached Files

.py   Premier jeux vidéo en python.py (Size: 11.38 KB / Downloads: 437)
Print this item

  looking for scripts that do simple image display
Posted by: Skaperen - Sep-05-2021, 12:18 AM - Forum: GUI - Replies (10)

i would like to have a minimal script to display an image. very minimal would support just one image file format although supporting two formats woul..... More

Print this item

  my simple code wont work! help!
Posted by: simon12323121 - Sep-05-2021, 12:06 AM - Forum: Homework - Replies (2)

Hi All,

UPDATE - I fixed it - I had to force the input typo be an integer for the comparison

I am trying to make a multiplication tester program..... More

Print this item

  TypeError: sequence item 0: expected str instance, float found Error Query
Posted by: eddywinch82 - Sep-04-2021, 08:50 PM - Forum: General Coding Help - Replies (1)

Hi there,

I have the following, first part of a Python Pandas Code :-

[python]import pandas as pd
pd.chained_assignment=None

data =..... More


Attached Files

.csv   BBMF2011.csv (Size: 136.99 KB / Downloads: 409)
Print this item

  Python graphics
Posted by: kaltenherz - Sep-04-2021, 08:31 PM - Forum: General Coding Help - Replies (1)

I just started learning graphing in python and I don't understand what the problem is
[python]import numpy as np
import matplotlib.pyplot as plt

..... More

Print this item

  Regex - Pass Flags as a function argument?
Posted by: muzikman - Sep-04-2021, 06:48 PM - Forum: General Coding Help - Replies (6)

Greetings,

I am just playing around with possibly making some methods for my own class for regex. I have a slight problem. Take a look at the sear..... More

Print this item

Photo How plotsubplot in Python
Posted by: Anldra12 - Sep-04-2021, 06:38 PM - Forum: General Coding Help - Replies (4)

How can We plot subplot similar for four in one in Python using matplotlib or Any Python Library

  1. See the Url
https://ibb.c..... More

Print this item

  Dealing with duplicated data in a CSV file
Posted by: bts001 - Sep-04-2021, 06:15 PM - Forum: General Coding Help - Replies (10)

I am new to the programming world and I am looking for advice on the scenario below:

I have a csv file with four columns of data and I want to extr..... More

Print this item

  Mypy typing error
Posted by: WannaBePythonDev - Sep-04-2021, 05:52 PM - Forum: General Coding Help - Replies (2)

[python]
@staticmethod
def formula_obj_to_string(formula: Formula) -> str:
"""Recursive function to assemble a string representatio..... More

Print this item

  Need to run 100+ Chrome’s with Selenium but can’t get past ~15 without breaking
Posted by: imillz - Sep-04-2021, 04:51 PM - Forum: General Coding Help - No Replies

I have a script with selenium where I need to run about 100 different chromes and 15 tabs per chrome. I can easily run 10 chromes with 15 tabs using a..... More

Print this item

  if statement string match
Posted by: javiopro - Sep-04-2021, 04:37 PM - Forum: General Coding Help - Replies (2)

making a simple remote radio control program. radio listens for packets
and if none received, keep listening. Im needing it to check if transmitted s..... More

Print this item

  STDIN not working
Posted by: H84Gabor - Sep-04-2021, 01:22 PM - Forum: General Coding Help - Replies (3)

Hi all.

Anyone would have an idea why the STDIN is not working here? I start a server application for a game as a subprocess, and the STDOUT part w..... More

Print this item

  Speed up code with second process help
Posted by: samuelbachorik - Sep-04-2021, 08:14 AM - Forum: General Coding Help - No Replies

Hi, iam trying to speed up my code by this way. But it is still not working fine. Let me tell you what iam doing.
I have two models that can process ..... More

Print this item

  Industrial Databases like IAC Database?
Posted by: nEmaTA - Sep-04-2021, 08:13 AM - Forum: Bar - No Replies

Hello guys,

I'm working with data regarding specific industry plants for my data science project in Python. No firm names. Just vital information l..... More

Print this item

  Libraries installed with pipenv, but ModuleNotFoundError returned
Posted by: jpncsu - Sep-04-2021, 01:01 AM - Forum: General Coding Help - Replies (2)

I am using pipenv v2021.5.29 to create an environment for running a script. I have a requirements.txt script with all the packages needed. The content..... More

Print this item

  Python Freelancer - Remote Working
Posted by: rsptm - Sep-03-2021, 07:56 PM - Forum: Jobs - No Replies

Dear All,

This is my first day here on Python and anything related to Python, I am representing our company here. We understand that this platform..... More

Print this item

  Python Error List Index Out of Range
Posted by: abhi1vaishnav - Sep-03-2021, 05:08 PM - Forum: General Coding Help - Replies (3)

I am making a program using python and tkinter which basically is an expense tracking system. However, I am getting an error when running my program w..... More

Print this item

  Assert failure
Posted by: jtcostel - Sep-03-2021, 05:03 PM - Forum: General Coding Help - Replies (1)

We are supposed to write file out.

This is what I have and I am still getting an assertion failure:
[python]with open('employee_salaries.tsv', 'w'..... More

Print this item

  PysimpleGUI - listbox with list
Posted by: jamesaarr - Sep-03-2021, 10:36 AM - Forum: GUI - Replies (2)

Hello everyone,

I'm after a listbox which will display the contents of a list - eg

id = [1,2,3,4,5]

the listbox would look like:

_______
..... More

Print this item

  xgboost,halvinggridsearchcv hyperparameters
Posted by: dawid294 - Sep-03-2021, 06:14 AM - Forum: Data Science - No Replies

I am searching for best hyper parameters of XGBRegressor using HalvingGridSearchCV. Here is the code:

[python]base_estimator = XGBRegressor(seed=12..... More

Print this item

  print (output)
Posted by: taaperaban - Sep-03-2021, 05:58 AM - Forum: General Coding Help - Replies (3)

so the below will print out the result of the show command. How do I get it to print out the show command prior to the result of the show command?
..... More

Print this item

  Help with a python problem
Posted by: LoveSamosa - Sep-03-2021, 01:59 AM - Forum: Homework - Replies (5)

So the problem I have been given is this:

[b][i]The user is shown a glossary entry, together with two definitions. One definition is correct and the ..... More

Print this item

  array manipulation
Posted by: divon - Sep-02-2021, 11:51 PM - Forum: General Coding Help - Replies (3)

Hello everyone,

I have question about array manipulation in Numpy. In this case I have 3 arrays:
arr_1 = [ 0 1 2 4 8 3 5 9 6 10 12 7 11 1..... More

Print this item

  why don't i get the answer i want
Posted by: CompleteNewb - Sep-02-2021, 10:59 PM - Forum: General Coding Help - Replies (12)

Hello, i have this small program:

[code]
hand = [['7','h'],['5','h']]
flop = []
turn = []
river = []
table = [['13','H'],['10', 'h'],['12','h'..... More

Print this item

Lightbulb Multiple inputs on the same line (beginner)
Posted by: dementshuk - Sep-02-2021, 06:46 PM - Forum: General Coding Help - Replies (9)

How can I ask the user to insert a date in Python and automatically show the bar for him on the same line?

Something like:

[b]> Insert your birt..... More

Print this item

  Multiprocesing socket
Posted by: samuelbachorik - Sep-02-2021, 05:34 PM - Forum: General Coding Help - Replies (2)

Hi iam trying to sent numpy array to multiprocesing socket and always getting error
Does somebody know where is problem ?
This is my server
[pyth..... More

Print this item

  How to create waiting process?
Posted by: samuelbachorik - Sep-02-2021, 03:43 PM - Forum: General Coding Help - Replies (4)

Hi lets think i need to process image and i have function for it. How to create from this function process that will be always running and waiting for..... More

Print this item

  TypeError: 'DataFrame' object is not callable using Pandas in Python
Posted by: sofiavlachou - Sep-02-2021, 03:19 PM - Forum: General Coding Help - Replies (1)

Hello to everyone, I have a question…

I’ve programmed these:


[python]# Dependencies
import pandas as pd
from numpy import where
from matplot..... More

Print this item

  Unable to import Private Repo using setup.py
Posted by: Bob786 - Sep-02-2021, 02:18 PM - Forum: General Coding Help - Replies (1)

I am trying to import the private repo but I am getting an error.

from setuptools import setup, find_packages

[python]
setup(
name = 'MyP..... More

Print this item

Sad Miss-Classification problem with shuffled batch
Posted by: Faebs94 - Sep-02-2021, 11:55 AM - Forum: Data Science - No Replies

Hello all,

I am totally new to this forum and to python as well as pytorch. I watched a lot of tutorials and rebuild examples. But now I tried my ..... More


Attached Files

.txt   Daten.txt (Size: 11.37 KB / Downloads: 3)
Print this item

  How does one combine 2 data sets ?
Posted by: detlefschmitt - Sep-02-2021, 11:31 AM - Forum: General Coding Help - Replies (2)

In the below script I am creating 2 datasets (stats1, stats2). One in each for loop. Now I want to combine the two data sets. That is, adding the colu..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  what does % stand for in ... Yesterday, 19:55 arbiel arbiel General Codin...
  403 Error Yesterday, 18:57 CaptainNewb CaptainNewb Web Scraping ...
  Scraping a page with log ... Yesterday, 12:30 iamaghost Hershien Web Scraping ...
  C++ program embedding Pyt... Yesterday, 11:11 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
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
Most views
  The best Prog... 576308
  Tutorial Requ... 498005
  Web Scraping ... 440222
  Newbie with P... 384073
  New Users Int... 366851
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
AdrianCocian Today
humanoidAI Today
Baran12332 Yesterday
Hershien Yesterday
Diyaseating Yesterday

User Panel Messages

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