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,403
» Latest member: asonpitt1039
» Forum threads: 38,827
» Forum posts: 176,040

Full Statistics

Online Users
There are currently 32 online users.
» 1 Member(s) | 25 Guest(s)
Bing, Facebook, Google, yoanselcp

Latest Threads
German Relative Clauses P...
Forum: General Coding Help
Last Post: asonpitt1039
9 minutes ago
» Replies: 0
» Views: 3
LhanePulse
Forum: General Coding Help
Last Post: Stephenchers
3 hours ago
» Replies: 0
» Views: 23
a function to watch files
Forum: News and Discussions
Last Post: OtiliaGen
Yesterday, 12:38 PM
» Replies: 2
» Views: 189
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Yesterday, 12:32 PM
» Replies: 29
» Views: 15,754
Create dataframe from the...
Forum: Data Science
Last Post: JassicaElla60
Yesterday, 12:31 PM
» Replies: 8
» Views: 3,668
Check if running from she...
Forum: General Coding Help
Last Post: noisefloor
Jan-01-2026, 11:52 AM
» Replies: 2
» Views: 183
Sorry Help
Forum: General Coding Help
Last Post: noisefloor
Jan-01-2026, 11:47 AM
» Replies: 2
» Views: 150
IP address for users
Forum: Networking
Last Post: DeaD_EyE
Dec-31-2025, 08:02 PM
» Replies: 6
» Views: 7,197
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Dec-30-2025, 12:11 AM
» Replies: 1
» Views: 228
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,640

 
  splitting UAV/sat images to smaller pieces in order to feed a CNN
Posted by: hobbyist - Dec-08-2020, 11:48 AM - Forum: General Coding Help - No Replies

Hello, I have enormous UAV/sat images (around 600MB each in .tif format). I am trying to do 2 things:
1) Divide/Split the 600 MB image to smaller ones..... More

Print this item

  Turning Client Side Script Into Pseusocode
Posted by: VinceLrj - Dec-08-2020, 06:47 AM - Forum: Bar - Replies (3)

Hi, I need help turning this line of client side script to pseudocode.

if(slides.length<2){
var nextPrevBtns=document.querySelector(".lef..... More

Print this item

  Convert looping home security to a one time scan of switches and sensors
Posted by: duckredbeard - Dec-08-2020, 04:31 AM - Forum: General Coding Help - No Replies

I present to you my home security program that monitors several doors and the activity of one PIR sensor. This program runs on boot and monitors GPIOs..... More

Print this item

  Examples of Customer requirements
Posted by: ComputerAstronaut - Dec-08-2020, 02:02 AM - Forum: General Coding Help - Replies (1)

Hello world,
Any body know of a website that has made up customer scenarios that can help hone my python skills. For example:

This tire warehou..... More

Print this item

  input interrupt
Posted by: Nickd12 - Dec-07-2020, 09:52 PM - Forum: General Coding Help - Replies (1)

how can i get this to just interrupt the input and continue down the while true loop. instead if there is no input after 3 seconds it end the program...... More

Print this item

  Button to clear all output labels?
Posted by: AnunnakiKungFu - Dec-07-2020, 09:28 PM - Forum: GUI - Replies (5)

[python]
from tkinter import *
from random import randint

def rollD4():
label = Label(root, text=randint(1, 4), font=(None, 12), height=2, w..... More

Print this item

Question closing a "nested" window with a button in PySimpleGUI and repeating this process
Posted by: Robby_PY - Dec-07-2020, 08:47 PM - Forum: GUI - Replies (9)

Hello,

I'm currently experimenting with my first GUI in Python (or in any other programming language) using PySimpleGUI and I'm stumbling on some i..... More

Print this item

  Txt File to CSV
Posted by: Andie19 - Dec-07-2020, 08:45 PM - Forum: General Coding Help - Replies (2)

Hi
Hoping someone can help. I am trying to convert a txt file (hundred of lines)- (sample below)
pc_account = An account is an entity (person or com..... More

Print this item

  Get name of command button
Posted by: Heyjoe - Dec-07-2020, 08:45 PM - Forum: GUI - Replies (3)

[python]
import tkinter as tk

root = tk.Tk()
myfont = "helvitica 25"
mybg = "light sky blue"
myheight = 4
mywidth = 60
myheight2 = 6
mywidth..... More

Print this item

  What does image.setMask do?
Posted by: A01 - Dec-07-2020, 06:29 PM - Forum: Homework - Replies (3)

What does image.setMask do? (Does it make parts of the image transparent, or is it like an overlay?) Why does the mask have to be a square? Is there a..... More

Print this item

  Flask login help
Posted by: dangermaus33 - Dec-07-2020, 04:06 PM - Forum: Web Scraping & Web Development - No Replies

I have a simple client app that accesses a flask web service to get data from a database and then write to a database. I make three calls to the web s..... More

Print this item

  Recommend Recent Python Books or Online Tutorials
Posted by: muzikman - Dec-07-2020, 03:37 PM - Forum: Homework - Replies (7)

Greetings,

I want to know if there are any recent Python books that cover python from beginning to end. There are so many resources online on how t..... More

Print this item

  Comparing results within a list and appending to pandas dataframe
Posted by: Aryagm - Dec-07-2020, 02:59 PM - Forum: Data Science - Replies (1)

I am doing a dummy project to hone my python skills and there is a problem I am encountering. I have a pandas column with many values inside it, I wan..... More

Print this item

  AttributeError : method has no attribute
Posted by: djwilson0495 - Dec-07-2020, 12:02 PM - Forum: Game Development - Replies (2)

Hi I'm trying to make a basic alien invasion game but when I try to load a ship image into the midbottom of the game screen I get an error. Here is th..... More

Print this item

  Django
Posted by: safakatar38 - Dec-07-2020, 08:40 AM - Forum: Web Scraping & Web Development - Replies (1)

Hello everyone. First of all ı'm from Turkey and if my english is bad I'm sorry. I've been learning html,css, js(little bit) and django since 3 months..... More

Print this item

  Collatz-problem
Posted by: CaptainNeemo - Dec-07-2020, 08:14 AM - Forum: Homework - Replies (2)

Dear forum,
I got a question to my function below:
The problem is the return value of tau() is integer usually, but if I call tau() from test() th..... More

Print this item

  Folium import error
Posted by: kashif_flavio - Dec-07-2020, 07:50 AM - Forum: General Coding Help - Replies (2)

Hello I am trying to use folium library but it is not working for me. I have tried with python 2.7/3.6/3.9. Below is my code.

[python]import folium..... More

Print this item

  Insertion sort algorithm courtesy of YouTuber Joe James
Posted by: Drone4four - Dec-07-2020, 03:13 AM - Forum: General Coding Help - Replies (3)

Hello Pythonistas!

I’m learning the insertion sort algorithm using Joe James’ terrific YouTube tutorial.
..... More

Print this item

  BeautifulSoup attribute problem
Posted by: zzy - Dec-06-2020, 10:56 PM - Forum: Web Scraping & Web Development - Replies (3)

In line 16 where it says "for tr in soup.find("tbody").children:", it keeps telling me that there is no such attribute. The code in the example video ..... More

Print this item

  how to modify a variable that is passed as parameter
Posted by: StefanL38 - Dec-06-2020, 09:43 PM - Forum: General Coding Help - Replies (2)

Hi everyone,

I have quite some experience with Delphi, Parallax SPIN and Arduino C++

NOw I started to use CircuitPython with a Teensy 4.0-microc..... More

Print this item

Photo tkinter issue
Posted by: mate - Dec-06-2020, 07:01 PM - Forum: GUI - Replies (4)

Hi guys,

I'm having a problem creating multiple buttons in tkinter using a for loop. I just can't figure out how to make each button unique. First ..... More

Print this item

  Factoring software
Posted by: Walkerh163 - Dec-06-2020, 06:19 PM - Forum: General Coding Help - Replies (2)

I am working on a program that can factor basic binomials. I am having trouble finding a way to verify if the result from 2 divided integers results i..... More

Print this item

  Class inheritance
Posted by: oclmedyb - Dec-06-2020, 04:57 PM - Forum: General Coding Help - Replies (3)

Hello,
I am just learning programming with Python as my first language.

I want to build a small application to manage electronic parts.
All parts sha..... More

Print this item

  bin, hex, dec??
Posted by: jackmartin - Dec-06-2020, 04:51 PM - Forum: General Coding Help - Replies (2)

Hi guys, I'm trying to read and proceed a hex-file.
When I open it in Notepad++ using an HEX-View-plugin, the content looks like this:
01 cc 81 00 0..... More

Print this item

  code to read files in folders and transfer the file name, type, date created to excel
Posted by: Divya577 - Dec-06-2020, 04:14 PM - Forum: General Coding Help - No Replies

Hi Forum,

I am trying to write a code to create a excel file with table based on number of files present in the folder.

the output should look l..... More

Print this item

  I need a code line to spam a keyboard key | Image detection bot
Posted by: Aizou - Dec-06-2020, 03:07 PM - Forum: General Coding Help - Replies (2)

Hello, first of all I`m a complete noob. I followed a tutorial and made this so far. This detects a small icon 40x40 in size on my screen and it works..... More

Print this item

  Building a food delivery program
Posted by: ElenaPapagia - Dec-06-2020, 01:26 PM - Forum: Homework - Replies (2)

Hello,

We have been assigned to do a project that I find quite hard, and I am a bit stuck.

There are 4 questions and I do not know how to do the..... More

Print this item

  [gtk] Image area and DND
Posted by: cyrille - Dec-06-2020, 01:17 PM - Forum: GUI - No Replies

Hi
I would like to define areas of various shapes within an image and interpret them in python in a GTK application

Ex: a man in an main side and..... More

Print this item

  ezdxf
Posted by: Mati_1 - Dec-06-2020, 11:48 AM - Forum: GUI - Replies (1)

Hi,
How can I create window (using tkinter) with .dxf file inside this window?

Something like:
" import ezdxf
from tkinter import *

aaa = "..... More

Print this item

  Newbie trying to pass text from different thread
Posted by: stephan1827 - Dec-06-2020, 08:16 AM - Forum: GUI - Replies (1)

Hi,
I am new to Python and try to write my first program. The main goal of the program is to read data from an OPC UA server and then execute a shell..... More

Print this item

  i need help for opencv apriltag detect
Posted by: bleulake - Dec-06-2020, 06:56 AM - Forum: General Coding Help - No Replies

I photographed april tag using raspberry pi 4 B+(8GB), arducam IMX298 MIPI 16MP Color Camera.
The shooting mode is width 1920 * height 1080.
I want ..... More

Print this item

  Issues Scraping Facebook using facebook_scraper
Posted by: DustinKlent - Dec-05-2020, 11:58 PM - Forum: General Coding Help - Replies (4)

I'm scraping facebook groups using Facebook_Scraper but I am experiencing issues with it.

Here's the code I have:

[python]
import operator
fro..... More

Print this item

  Button to add data to database and listbox
Posted by: SalsaBeanDip - Dec-05-2020, 10:19 PM - Forum: GUI - Replies (1)

Hello. I am creating a database that holds info on a person's name and phone number. The names are displayed in a listbox and when the user clicked a ..... More

Print this item

  Does Python have an ORM module?
Posted by: muzikman - Dec-05-2020, 03:33 PM - Forum: General Coding Help - Replies (6)

Greetings,

Does Python have an ORM package? I thought my days of typing long SQL queries was over.

Thanks,
Matt

Print this item

  index error
Posted by: surim - Dec-05-2020, 09:51 AM - Forum: General Coding Help - Replies (4)

I don't know why these codes makes error message.
Please help me


[python]def dynamic_sort©:
C.sort(key = lambda x: x[1])
n = len(C..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  German Relative Clauses P... 9 minutes ago asonpitt1039 asonpitt1039 General Codin...
  LhanePulse 3 hours ago Stephenchers Stephenchers General Codin...
  a function to watch files Yesterday, 12:38 Skaperen OtiliaGen News and Disc...
  Merge video with subtitle... Yesterday, 12:32 Pavel_47 OtiliaGen General Codin...
  Create dataframe from the... Yesterday, 12:31 Calab JassicaElla60 Data Science
  Check if running from she... 01-01, 11:52 rjdegraff42 noisefloor General Codin...
  Sorry Help 01-01, 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...
Most views
  The best Prog... 580501
  Tutorial Requ... 520320
  Web Scraping ... 442811
  Newbie with P... 387031
  New Users Int... 386912
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
asonpitt1039 Today
Stephenchers Yesterday
JassicaElla60 Yesterday
bryanptrovz7447 Yesterday
oliviajuior7959 01-01

User Panel Messages

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