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,947
» Latest member: Markbel386
» Forum threads: 38,726
» Forum posts: 175,523

Full Statistics

Online Users
There are currently 75 online users.
» 2 Member(s) | 67 Guest(s)
Applebot, Bing, AOL, Google, AOL, CaptainNewb, snippsat

Latest Threads
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
3 hours ago
» Replies: 5
» Views: 9,103
IBKR Purchasing code issu...
Forum: General Coding Help
Last Post: compuman145
5 hours ago
» Replies: 0
» Views: 37
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
11 hours ago
» Replies: 2
» Views: 425
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
Today, 02:36 AM
» Replies: 0
» Views: 73
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 08:56 PM
» Replies: 9
» Views: 563
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 4,790
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 1,110
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,468
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 3,030
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,778

 
  Mido and virtual midi ports
Posted by: dore_m - Dec-27-2020, 02:00 AM - Forum: General Coding Help - Replies (2)

I'm new here, and hope someone might point me to the right direction, or show me some demo code I might review.

I'm trying to use MIDO to allow a p..... More

Print this item

Sad Convert python list to dictionary
Posted by: akanowhere - Dec-27-2020, 12:01 AM - Forum: General Coding Help - Replies (6)

I need a help to convert the bellow list to a dictionary:



[python] list = [{'Dia': 'qua', 'Promo': 'João', 'Loja': 6697}, {'Dia': 'qui', 'Promo..... More

Print this item

  TabError: inconsistent use of tabs and spaces in indentation
Posted by: hobbyist - Dec-26-2020, 09:15 PM - Forum: GUI - Replies (3)

Hello,

I am getting this error:

[error]
UbuntuUser@ubuntu:~/Desktop/PyQT$ python3 pycalc.py
File "pycalc.py", line 80
for btnText, pos ..... More

Print this item

  Pandas Extract data from two dataframe
Posted by: nio74maz - Dec-26-2020, 07:18 PM - Forum: General Coding Help - Replies (1)

Hi have help You, I need to extract data based on a column of a dataframe on another dataframe.in practice with df1.codbar I have to filter all the da..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Creating a Mindmap progra... 3 hours ago J_Miller Pedroski55 General Codin...
  IBKR Purchasing code issu... 5 hours ago compuman145 compuman145 General Codin...
  A coding beginner needs h... 11 hours ago Littlefish Littlefish General Codin...
  Is the interpreter that c... Today, 02:36 helendamdam helendamdam General Codin...
  Using a For Loop to subtr... Yesterday, 20:56 Anunderling deanhystad General Codin...
  403 Error 09-20, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  C++ program embedding Pyt... 09-19, 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...
  real community 09-15, 20:16 decuser decuser News and Disc...
Most views
  The best Prog... 576697
  Tutorial Requ... 498873
  Web Scraping ... 440513
  Newbie with P... 384471
  New Users Int... 368193
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+ 12087
buran 8176
snippsat 7368
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Markbel386 Today
trntgl Today
susan Today
jatinkumar12 Today
angelhealu504 Today

User Panel Messages

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