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,402
» Latest member: LewisByday
» Forum threads: 38,825
» Forum posts: 176,038

Full Statistics

Online Users
There are currently 32 online users.
» 2 Member(s) | 26 Guest(s)
Bing, AOL, Google, AOL, buran, snippsat

Latest Threads
a function to watch files
Forum: News and Discussions
Last Post: OtiliaGen
5 hours ago
» Replies: 2
» Views: 179
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
5 hours ago
» Replies: 29
» Views: 15,709
Create dataframe from the...
Forum: Data Science
Last Post: JassicaElla60
5 hours ago
» Replies: 8
» Views: 3,662
Check if running from she...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 11:52 AM
» Replies: 2
» Views: 179
Sorry Help
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 11:47 AM
» Replies: 2
» Views: 145
IP address for users
Forum: Networking
Last Post: DeaD_EyE
Dec-31-2025, 08:02 PM
» Replies: 6
» Views: 7,192
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Dec-30-2025, 12:11 AM
» Replies: 1
» Views: 219
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,636
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 304
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 267

 
  PyQt5 QPushButton Problem
Posted by: Hellmut - Dec-26-2020, 07:11 PM - Forum: Homework - Replies (2)

Hello everybody!

I am working on my homework and I have a problem with QPushButtons. I need to make a field(8*8) of QPushButtons and then work with..... More

Print this item

  Two loops behaving differently
Posted by: DavidTheGrockle - Dec-26-2020, 03:24 PM - Forum: General Coding Help - Replies (5)

One of the options below prints "a = 1" as the first term and the other doesn't. WHY ?

for a in range(1, 4, 1): # This option prints a = 1 as firs..... More

Print this item

  Got error in Tic Tac Toe
Posted by: Sahil - Dec-26-2020, 01:51 PM - Forum: Game Development - Replies (1)

I somehow created Tic tac toe (not finished yet). when I place 'X' it place 'X' properly, and when I place 'O' it place 'O' but it also change 'X' to ..... More

Print this item

  category and subcategory into django project
Posted by: dhirendra007 - Dec-26-2020, 10:33 AM - Forum: Web Scraping & Web Development - No Replies

i am creating a blog application where an admin can put blogs into categories and subcategories, how do I add this functionality

Print this item

Big Grin Error installing Pygame-Zero
Posted by: dpa2007 - Dec-26-2020, 09:57 AM - Forum: Game Development - Replies (1)

Hello All
nice to find your community
I have an issue installing pygame-zero in python (pip install pgzero)
I get the following error and cannot re..... More

Print this item

  What kind of object is this?
Posted by: Moris526 - Dec-26-2020, 07:58 AM - Forum: General Coding Help - Replies (5)

HI.

Im trying to control a leds color sending data from pc to raspberrypi.
But instead of sending the RGB numbers I want to send a word like PURPL..... More

Print this item

  main libvlc error: stale plugins cache:
Posted by: schascheck - Dec-26-2020, 04:04 AM - Forum: General Coding Help - Replies (2)

Hello again,

I'm having some issues that show up when I run a script in Windows 10 shell, but not when I run it in the Idle shell. I get a little o..... More

Print this item

  pygame music doesn't work
Posted by: CompleteNewb - Dec-25-2020, 11:59 PM - Forum: General Coding Help - Replies (1)

hello

I'm going through the book 'making games with pygames', but I can't make python play music. The sound works fine but not the music

Here's ..... More

Print this item

  tic-tac-toe Code
Posted by: PyMahan - Dec-25-2020, 09:10 PM - Forum: Code sharing - No Replies

Hello,
im mahan a trainy python programmer and this is my first post!
my tic-tac-toe project is not complete but I will complete it soon.
just wan..... More

Print this item

  Subtracting Elements of a Sublist in Python 3
Posted by: pangloss3030 - Dec-25-2020, 08:51 PM - Forum: Homework - Replies (3)

Hello,

I am having an issue with subtracting sublists. With the given sublist:

first_list: [[0, 1], [2,4], [8,7]]

There is supposed to be a n..... More

Print this item

  Hacking With Python -NEW SERIES
Posted by: Spyros_dev - Dec-25-2020, 06:18 PM - Forum: Tutorial Requests and Submissions - No Replies

Hello everybody!

I am starting a new series about hacking with python.
This is the first video that i teach how to make a port scanner: https://ww..... More

Print this item

  Multi-line console input
Posted by: lizze - Dec-25-2020, 06:07 PM - Forum: General Coding Help - Replies (4)

Trying to read multi-line console input with my program. But as of know I need to press enter twice before the actual reading begins? Does anyone unde..... More

Print this item

  binary integer confusion
Posted by: Moris526 - Dec-25-2020, 05:56 PM - Forum: General Coding Help - Replies (10)

Hi all.

Im receving a number through serial.

b'34\n'
I do this to remove the end of line

[python]data=data.rstrip()[/pyth..... More

Print this item

  Changing the BG-color of the table
Posted by: Pattaya - Dec-25-2020, 05:45 PM - Forum: Code sharing - Replies (1)

Hello,
who can help me with a line of code, where to change the background color of table 2(which is in white)
to anything else, for example "blue"

[..... More

Print this item

Smile PROJECTILE WITH TURTLE
Posted by: artnote1337 - Dec-25-2020, 05:15 PM - Forum: General Coding Help - Replies (2)

Hello. The idea here was to shot a projectile til the end of the screen. What actually happens is that the function is just printing it at the end of ..... More

Print this item

  given a window handle, draw a red box around the border, and remove it later
Posted by: raymond0517 - Dec-25-2020, 01:04 PM - Forum: Homework - No Replies

Hi ,
I am using python code to perform a function.
Specifically, the UiPath will call this python function,
and pass it a window handle,
this func..... More

Print this item

  cant access root environment folder from django folder using __init__.py
Posted by: Sanjish - Dec-25-2020, 05:54 AM - Forum: Web Scraping & Web Development - No Replies

Hi,
I have a Python - Django project with the following DIRECTORY structure

PYTHON-MSACCESS_PROJECT>MYTESTENVIRONMENT>DJANGOEXAMPLE>DJANGO..... More

Print this item

  Popen() but .wait() not called
Posted by: Skaperen - Dec-25-2020, 01:40 AM - Forum: News and Discussions - No Replies

what is supposed to happen if Popen() is called to launch a process but the .wait() method is never called?

Print this item

  csv.reader(): Limit the number of columns read in Windows
Posted by: Pedroski55 - Dec-24-2020, 11:56 PM - Forum: General Coding Help - Replies (9)

I don't use Windows, but I am trying to show someone how to read and write .csv files

In Ubuntu, when I do this:

[python]import csv
file1 = '/home/p..... More

Print this item

  Process halting
Posted by: JarredAwesome - Dec-24-2020, 11:46 PM - Forum: General Coding Help - No Replies

Hey Everyone,

I am writing a program that checks various sensors in the background, and controls hardware accordingly.

I wrote the program to us..... More

Print this item

  "'DataFrame' objects are mutable, thus they cannot be hashed"
Posted by: Mark17 - Dec-24-2020, 08:41 PM - Forum: General Coding Help - Replies (1)

I've been having trouble in a few instances with what I think is the same core issue--I just can't identify exactly what it is.

[Python]
markets =..... More

Print this item

  Voice packs for Linux espeak
Posted by: gr3yali3n - Dec-24-2020, 07:42 PM - Forum: General Coding Help - No Replies

I am fiddling with a project that uses espeak and I’ve started using Linux more than Mac lately,
My question is there any way to get voices that are ..... More

Print this item

  Variable scope - "global x" didn't work...
Posted by: ptrivino - Dec-24-2020, 07:17 PM - Forum: General Coding Help - Replies (5)

I am struggling to understand updating a 'global' dictionary (i.e., it's defined in the main module and I want to update it in a subroutine). I unders..... More

Print this item

  Security system to protect my family from burglars
Posted by: kronk - Dec-24-2020, 03:19 PM - Forum: Bar - No Replies

I work a lot. Usually, I have 4-5 business trips a month. So, when I am out, my wife and our little baby are at home. Honestly, we live not in a safe ..... More

Print this item

  How to use Bunch data structure
Posted by: moish - Dec-24-2020, 02:45 PM - Forum: General Coding Help - Replies (2)

Hi All,
I'm trying to use Bunch data structure, and fail to find what import is needed in order to use it
I'm using Python 3.8
A complete working e..... More

Print this item

  Available for hire: Remote team
Posted by: sandeep_canopus - Dec-24-2020, 12:24 PM - Forum: Jobs - Replies (1)

Hi, everyone, Wishing you all Wonderful Holidays & Cheers to a Brighter 2021🎉

We are a team of Data engineers and data Scientists and specialize in c..... More

Print this item

  Available for hire: Remote team
Posted by: sandeep_canopus - Dec-24-2020, 12:18 PM - Forum: Jobs - No Replies

Hi, everyone, Wishing you all Wonderful Holidays & Cheers to a Brighter 2021🎉

We are a team of Data Scientist and specialize in cognitive technolog..... More

Print this item

  How do I add another loop to my nested loop
Posted by: greenpine - Dec-24-2020, 11:34 AM - Forum: General Coding Help - Replies (11)

I have a working Python program (nested loop).
When the file runs:

1- Starts from first CSV file, reads first row (within a given range, e.g. 2 rows..... More

Print this item

  4D array with only elements on one side of the diagonal
Posted by: schniefen - Dec-24-2020, 11:30 AM - Forum: General Coding Help - No Replies

Given the parameters n and m, I'd like to initialize a n x n4D array where each entry is an [inline..... More

Print this item

  pandas change value two dataframe
Posted by: nio74maz - Dec-24-2020, 10:08 AM - Forum: General Coding Help - Replies (4)

good morning i'm trying to find the differences between two dataframes the promo 'df1' has only one column which is 'codbar, where the equivalent in' ..... More

Print this item

  solve probability problem by python
Posted by: Dreammer - Dec-24-2020, 08:40 AM - Forum: Homework - Replies (1)

A = {1, 2, 3, 4, 5}

There is bijective function f from A to A. The function satisfying following condition.


for only one n, element of dom..... More

Print this item

  Slice list
Posted by: Moris526 - Dec-24-2020, 01:43 AM - Forum: General Coding Help - Replies (1)

Hi

Im receving through serial a number from 0 to 511 and a letter like:

1 A
432 B
23 C

and I need to asign them to different variables. I t..... More

Print this item

  List / arrays putting in sentence
Posted by: Kurta - Dec-24-2020, 01:03 AM - Forum: General Coding Help - Replies (3)

I’m trying to pull from a index and a variable and use in a sentence what’s am I doing wrong

[python]
bicycles = ['trek','cannondale','shwin','spe..... More

Print this item

  How to preserve x-axis labels despite deleted subplot?
Posted by: Mark17 - Dec-23-2020, 06:58 PM - Forum: General Coding Help - Replies (1)

[Python]
# -*- coding: utf-8 -*-
"""
Created on Wed Dec 23 11:59:48 2020

@author: drkle
"""
import matplotlib.pyplot as plt
import collection..... More

Print this item

  Recruiting for a Server Software Engineer
Posted by: ader01 - Dec-23-2020, 06:26 PM - Forum: Jobs - Replies (1)

Hello there,

I'm currently recruiting for a Server Engineer in London, to work on one of our projects.

You will need:
- 3+ years’ experience of..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  a function to watch files 5 hours ago Skaperen OtiliaGen News and Disc...
  Merge video with subtitle... 5 hours ago Pavel_47 OtiliaGen General Codin...
  Create dataframe from the... 5 hours ago Calab JassicaElla60 Data Science
  Check if running from she... Yesterday, 11:52 rjdegraff42 noisefloor General Codin...
  Sorry Help Yesterday, 11:47 BioNanoTech noisefloor General Codin...
  IP address for users 12-31, 20:02 Robots DeaD_EyE Networking
  Opencv findContours Q 12-30, 00:11 jogl Pedroski55 General Codin...
  Struggles I Faced While E... 12-29, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... 12-29, 08:37 braillescribe noisefloor General Codin...
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
Most views
  The best Prog... 580496
  Tutorial Requ... 520263
  Web Scraping ... 442809
  Newbie with P... 387027
  New Users Int... 386885
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
LewisByday Today
JassicaElla60 Today
bryanptrovz7447 Today
oliviajuior7959 Yesterday
aoliiapetrov4786 Yesterday

User Panel Messages

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