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,933
» Latest member: bennyanderson482
» Forum threads: 38,721
» Forum posts: 175,503

Full Statistics

Online Users
There are currently 38 online users.
» 0 Member(s) | 27 Guest(s)
Bing, Applebot, Google, AOL, AOL, Facebook, Mojeek

Latest Threads
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Gribouillis
8 hours ago
» Replies: 2
» Views: 331
403 Error
Forum: Web Scraping & Web Development
Last Post: CaptainNewb
Sep-17-2025, 05:56 PM
» Replies: 9
» Views: 3,359
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 1,760
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 731
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 977
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,041
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,082
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 651
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Sep-15-2025, 03:28 PM
» Replies: 7
» Views: 3,633
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,854

 
  ord()
Posted by: Men - Jan-12-2022, 04:38 AM - Forum: General Coding Help - Replies (2)

Hi,

Quick question. coding in python...How do you continuously decrease an ord value until it reaches an n value?

for example: i have a ord valu..... More

Print this item

  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: 370)
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: 347)
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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  C++ program embedding Pyt... 8 hours ago Alexandros Gribouillis General Codin...
  403 Error 09-17, 17:56 CaptainNewb CaptainNewb Web Scraping ...
  [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...
  Select Python comment (#)... 09-14, 23:27 SpongeB0B Pedroski55 General Codin...
  data input while debuggin... 09-14, 15:32 fred1232 deanhystad General Codin...
Most views
  The best Prog... 576133
  Tutorial Requ... 497667
  Web Scraping ... 440080
  Newbie with P... 383876
  New Users Int... 366420
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 8174
snippsat 7367
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
bennyanderson482 Yesterday
AstoundzSEO Yesterday
tobey12 Yesterday
alexguemez 09-17
Shadab 09-17

User Panel Messages

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