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,395
» Latest member: sydnydarkz9407
» Forum threads: 38,823
» Forum posts: 176,023

Full Statistics

Online Users
There are currently 45 online users.
» 0 Member(s) | 43 Guest(s)
Google, Bing

Latest Threads
Apple Iphone 17 Price Ger...
Forum: General Coding Help
Last Post: sydnydarkz9407
7 minutes ago
» Replies: 0
» Views: 6
Willing to pay for help w...
Forum: General Coding Help
Last Post: Pedroski55
1 hour ago
» Replies: 3
» Views: 83
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 117
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 260
IP address for users
Forum: Networking
Last Post: itx_sumeet
Dec-27-2025, 05:53 AM
» Replies: 4
» Views: 7,080
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Dec-27-2025, 01:10 AM
» Replies: 5
» Views: 9,920
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 157
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 92
requests.post not sending...
Forum: Web Scraping & Web Development
Last Post: noisefloor
Dec-24-2025, 09:20 AM
» Replies: 2
» Views: 160
Looking for constructive ...
Forum: News and Discussions
Last Post: cecrease
Dec-24-2025, 03:16 AM
» Replies: 2
» Views: 1,299

 
  Python executable Script (Wrapper)
Posted by: Hwang - Jan-12-2022, 01:05 AM - Forum: General Coding Help - Replies (2)

I need help creating an executable wrapper file/function in python to which i can parse parameter variable , that will be consumed by methods/function..... More

Print this item

  How to receive webcam capture on spout?
Posted by: buzzdarkyear - Jan-12-2022, 12:49 AM - Forum: General Coding Help - Replies (2)

I'm trying to let Spout receive a webcam capture done with OpenCV but I keep getting errors. How can I approach this problem in the best way?

[erro..... More

Print this item

  how to split socket data onto multiple clients for separate processing
Posted by: ConcealedFox70 - Jan-11-2022, 08:26 PM - Forum: Networking - No Replies

i am controlling 4 stepper motors as a mecanum robot in python socket to esp8266 arduino with a limited amount of pins. i would like to add a pair of ..... More

Print this item

  PDF Extract using CSV values
Posted by: atomxkai - Jan-11-2022, 07:03 PM - Forum: General Coding Help - Replies (5)

Hello, need help on how to read from CSV file with multiple values instead of manual input?

Thank you.

[python]from PyPDF2 import PdfFileReader,..... More

Print this item

  Remove empty keys in a python list
Posted by: python_student - Jan-11-2022, 05:18 PM - Forum: General Coding Help - Replies (7)

I have a list of dictionaries and in case if some dictionary has empty key I want to remove it completely from the list. In my example,
I need to rem..... More

Print this item

Sad Want to Save Print output in csv file
Posted by: Rasedul - Jan-11-2022, 02:50 PM - Forum: General Coding Help - Replies (5)

I want to save this print output to CSV file but this code is not working, how can I save this output to CSV?

[python]import csv

for x in range(..... More

Print this item

  Can't get tkinter database aware cascading comboboxes to update properly
Posted by: dford - Jan-11-2022, 02:13 PM - Forum: GUI - Replies (6)

I'm running into a tkinter situation that I cannot find a resolution for as of yet. I've got three database linked comboboxes that I would like to ..... More

Print this item

  How to crop eyes/nose/mouth in the face only? [OpenCV]
Posted by: buzzdarkyear - Jan-11-2022, 01:41 PM - Forum: General Coding Help - No Replies

When I crop only face it does the job, but when I want to crop eyes, nose, mouth that are detected in the face it doesn't.

[python]gray = cv2.cvtCo..... More

Print this item

  How to zoom on/follow MOUTH in FACE? (OPENCV Face Detection)
Posted by: buzzdarkyear - Jan-10-2022, 10:56 PM - Forum: General Coding Help - Replies (2)

When I only detect the face the camera zoom on the face and follows it. But when I want to detect & zoom/follow the mouth it doesn't.

Mouth detecti..... More

Print this item

  Matching Exact String(s)
Posted by: Extra - Jan-10-2022, 10:43 PM - Forum: General Coding Help - Replies (4)

Hello,

So I'm working on an A.I assistant and I got a good chunk of it done. It can display the news, weather, time, do calculations and google sea..... More

Print this item

  Cryptic Error with import statement
Posted by: Led_Zeppelin - Jan-10-2022, 07:31 PM - Forum: General Coding Help - Replies (2)

In the following import statements there is an error

[code]
from utils.create_features_utils import *
import pandas as pd
import numpy as np
fr..... More

Print this item

  Cannot import google
Posted by: KEIKAS - Jan-10-2022, 06:25 PM - Forum: General Coding Help - Replies (2)

I have pip installed everything I need. My goal is to get that service to import.
This is my code:
[python]from googleapiclient.http import MediaFil..... More

Print this item

  PANDAS: DataFrame | Saving the wrong value
Posted by: moduki1 - Jan-10-2022, 04:42 PM - Forum: Data Science - No Replies

I have a column called 'cnpjfornecedor' the original value is 08.482.581/0001-57 i need to remove the special caracters to have 08482581000157

i'm ..... More

Print this item

  find 2 largest equal numbers
Posted by: Frankduc - Jan-10-2022, 03:16 PM - Forum: General Coding Help - Replies (13)

Hello,

Here's a basic question.

[python]a = 154
b = 42
d = 0
f = 0

for i in range(1,a):

d = round(a / i)

print(d)
..... More

Print this item

  Problem with Selenium webdriver
Posted by: Fred - Jan-10-2022, 01:09 PM - Forum: Web Scraping & Web Development - Replies (1)

Hello all,

I imported the selenium librery and the Chrome driver with the version compatible with the chrome browser

I try this simple code

f..... More

Print this item

  Scan for Bluetooth device
Posted by: korenron - Jan-10-2022, 01:06 PM - Forum: General Coding Help - No Replies

Hello ,
I'm trying to scan for bluetooth devices around me
I'm using this simple code I have found here ([python]https://geektechstuff.com/2020/06..... More

Print this item

  How to swap two numbers in fields in python
Posted by: Joni_Engr - Jan-10-2022, 08:26 AM - Forum: General Coding Help - Replies (5)

Hi,
I have two numbers written in the user field. I would like to swap these numbers in the fields when the swap button is pressed. I did a basic se..... More

Print this item

  How to solve this file handling issue?
Posted by: GiggsB - Jan-10-2022, 06:58 AM - Forum: General Coding Help - Replies (3)

Hi,

I am using the below code to store data on Raspberry Pi using UART whenever it receives any data. Raspberry Pi receives data continuously for 6..... More

Print this item

  PANDAS: DataFrame | Replace and others questions
Posted by: moduki1 - Jan-09-2022, 08:21 PM - Forum: Data Science - Replies (2)

Hello, i'm trying to create a script that parse the CSV.
This is what i got at moment.

[python]#### Importando arquivo CSV

import pandas as pd..... More

Print this item

  change item in column based on the item before[solved]
Posted by: amdi40 - Jan-09-2022, 07:14 PM - Forum: Homework - Replies (4)

Hello I would like to be able to compare a number with another number, and if the numbers are equal to each other, then I would like to add a number t..... More


Attached Files

.xlsx   newfile1.xlsx (Size: 8.72 KB / Downloads: 381)
Print this item

  console pwd file
Posted by: kucingkembar - Jan-09-2022, 06:42 PM - Forum: General Coding Help - Replies (4)

hi, sorry for my bad English,
is there any way to run the PWD file,
but if something happens like an error,
the "console" (what this is called? co..... More

Print this item

  Date Conversion issue
Posted by: Racer_x - Jan-09-2022, 05:17 PM - Forum: General Coding Help - Replies (2)

Hello All,

Disclaimer (Python Newbie):

No matter what I do I get the 'TypeError: Variable.dtype datetime64[ns] not supported' error. Even after ..... More

Print this item

  Scraping data from table into existing dataframe
Posted by: vincer58 - Jan-09-2022, 05:15 PM - Forum: Web Scraping & Web Development - Replies (1)

Hello

1.) I have initial code below that scrapes various stock data from Finviz and gives the output below titled First Output. The problem comes u..... More

Print this item

  Can't strip extra characters from Data
Posted by: Canflyguy - Jan-09-2022, 04:06 PM - Forum: General Coding Help - Replies (7)

I'm new at Python with a Fortran, Basic and Visual Basic background, but I've managed to get a running program, but can't strip off the extra informat..... More

Print this item

  Unable to Loop Over Date
Posted by: gdbengo - Jan-09-2022, 03:55 PM - Forum: General Coding Help - Replies (2)

Hello, I'm trying to loop over a dictionary that contains date but as I do so I'm unable to print out the date, can you help me on this and possibly e..... More

Print this item

  How to output Python in Spout or any other video sharing network?
Posted by: buzzdarkyear - Jan-09-2022, 02:59 PM - Forum: General Coding Help - Replies (4)

Hi,

I've been new to Python and I've created something that I would like to stream in Spout so I can output it in touchdesigner/MadMapper. In the p..... More

Print this item

  TypeError: not enough arguments for format string
Posted by: MaartenRo - Jan-09-2022, 07:45 AM - Forum: General Coding Help - Replies (6)

I am doing an assignement program from a book. I need to write a program that
makes a test with 50 mutliple choice questions asking what the capital ..... More

Print this item

Question Scraping Columns with Pandas (Column Entries w/ more than 1 word writes two columns)
Posted by: BrandonKastning - Jan-09-2022, 05:47 AM - Forum: Web Scraping & Web Development - Replies (7)

Scraping Columns with Pandas (Column Entries w/ more than 1 word writes two columns)

My code is the following:

[CODE..... More

Print this item

  efficiency of CPython expression comppilation
Posted by: Skaperen - Jan-09-2022, 12:03 AM - Forum: News and Discussions - Replies (1)

i need to divide a number which is a long duration in seconds by the number of seconds in a week (604800) to get the number of weeks. if i were to wr..... More

Print this item

  Making a hotel filled with people categorizing them
Posted by: lucasrohr - Jan-08-2022, 05:12 PM - Forum: General Coding Help - Replies (3)

Hello forum,

so I've been trying to learn python by myself and made up an exercise that I can't handle.

I've been trying to populate a hotel (i.e. l..... More

Print this item

  how to get the sudoku solver to work?
Posted by: Tool1211 - Jan-08-2022, 03:29 PM - Forum: Homework - Replies (8)

hello, I'm fairly new to python programming and I need help as I watched this video (https://www.youtube.com/watch?v=lK4N8E6uNr4) to create a sudoku s..... More


Attached Files

.py   sudoku.py (Size: 4.26 KB / Downloads: 361)
Print this item

  Creating file with images
Posted by: BobSmoss - Jan-08-2022, 03:18 PM - Forum: General Coding Help - Replies (1)

Hello,
I need some help with my coding skills (again XD).

What i am trying to accomplish:
I want to make a script that creates a file. For exampl..... More

Print this item

  Closing Threads and the chrome window it spawned from Tkinter close button
Posted by: law - Jan-08-2022, 12:13 PM - Forum: General Coding Help - No Replies

[python]
from selenium import webdriver
from webdriver_manager.chrome import ChromeDriverManager
import time
import threading
from threading impo..... More

Print this item

  Problems getting tk Combobox contents to populate properly
Posted by: dford - Jan-08-2022, 08:15 AM - Forum: GUI - Replies (4)

I could use some help with tkinter comboboxes, and populating the combobox from a database. First question is, will the combobox accept a dictionary ..... More

Print this item

  tk is not defined
Posted by: jip31 - Jan-08-2022, 07:55 AM - Forum: General Coding Help - Replies (8)

Hi

The code below works when I execute it with idle or in CLI but when I execute it with vscode, I have the message "NameError: name 'Tk' is not de..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Apple Iphone 17 Price Ger... 7 minutes ago sydnydarkz9407 sydnydarkz9407 General Codin...
  Willing to pay for help w... 1 hour ago braillescribe Pedroski55 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...
  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...
  [PyQt] Switching from bat... 12-23, 21:38 arbiel arbiel GUI
Most views
  The best Prog... 580388
  Tutorial Requ... 519291
  Web Scraping ... 442776
  Newbie with P... 386969
  New Users Int... 386393
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
sydnydarkz9407 Today
braillescribe Yesterday
aurelio12282025 Yesterday
bejaminmaarleyo1374 Yesterday
taylorlitleoz476 Yesterday

User Panel Messages

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