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,263
» Latest member: aanthonymaaleyo3938
» Forum threads: 38,787
» Forum posts: 175,849

Full Statistics

Online Users
There are currently 32 online users.
» 0 Member(s) | 28 Guest(s)
Bing, Mojeek, Google, AOL

Latest Threads
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
11 hours ago
» Replies: 2
» Views: 88
PermissionError: [Errno 1...
Forum: GUI
Last Post: deanhystad
Yesterday, 02:42 PM
» Replies: 1
» Views: 53
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 01:54 PM
» Replies: 1
» Views: 59
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Yesterday, 01:00 PM
» Replies: 5
» Views: 313
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 45
PyQt6 QWidgets and system...
Forum: GUI
Last Post: stevecoh1
Nov-14-2025, 06:38 PM
» Replies: 0
» Views: 70
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 261
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
Nov-14-2025, 03:33 PM
» Replies: 3
» Views: 141
New to python and coding
Forum: Homework
Last Post: jefsummers
Nov-13-2025, 07:58 PM
» Replies: 6
» Views: 236
Backward compatibility qu...
Forum: News and Discussions
Last Post: noisefloor
Nov-13-2025, 11:52 AM
» Replies: 6
» Views: 421

 
Photo Unable to Extract a web element
Posted by: law - Feb-24-2021, 11:14 AM - Forum: Web Scraping & Web Development - Replies (6)

Hello,
I have this Selenium web scrapping project I've been working on for while, everything have been awesome till recently the website got updated ..... More

Print this item

Question exiting the outer function from the inner function
Posted by: banidjamali - Feb-24-2021, 07:16 AM - Forum: General Coding Help - Replies (3)

Hello everyone.

In the code below I have simplified a result I'm trying to achieve.
I want to know how I can exit the outer function when the inne..... More

Print this item

Question Dataframe Manipulation Coping Rows and Removing Dates
Posted by: ashleysnl - Feb-24-2021, 02:18 AM - Forum: General Coding Help - Replies (1)

Hello,

I have a data frame that contains two dates in a single column. I would like to copy the column and split the dates. how can I achieve this..... More

Print this item

  parsin python code
Posted by: Skaperen - Feb-24-2021, 02:18 AM - Forum: News and Discussions - Replies (5)

is there a function to parse or lex python code? in particular i want to extract the name from a source line that is a def or class statement. i don..... More

Print this item

  AttributeError class object has no attribute list object
Posted by: scttfnch - Feb-24-2021, 01:00 AM - Forum: General Coding Help - Replies (5)

Hi,

I am calling an API to retrieve different types of information in multiple calls. I use an authorization process to gain access to the API and ..... More

Print this item

  Statements and Expressions
Posted by: Julie - Feb-23-2021, 11:46 PM - Forum: General Coding Help - Replies (1)

Understanding Statements and Expressions
After a ton of research, reading and asking around here is my understanding of statements and express..... More

Print this item

  exporting all lines
Posted by: YazeedbnMohmmed - Feb-23-2021, 11:35 PM - Forum: General Coding Help - Replies (2)

Hello Dear

Before few days ago I was code password generator and I had problem that the output text file only write last line my code was like thi..... More

Print this item

  Move a key:value in a dictionary
Posted by: dgrunwal - Feb-23-2021, 09:17 PM - Forum: General Coding Help - Replies (4)

I created the following dictionary and added another key:value.

[python]>>> super_hero_names = {
... 'Superman' : 'Clark Kent',
... 'Spid..... More

Print this item

  python selenium downloading embedded pdf
Posted by: damian0612 - Feb-23-2021, 08:44 PM - Forum: Web Scraping & Web Development - No Replies

I've navigated to a page to download a pdf that is a report showing information I've asked for. However, I can't seem to download it because of the wa..... More

Print this item

  Running a few lines of code as soon as my timer ends
Posted by: nethatar - Feb-23-2021, 08:44 PM - Forum: General Coding Help - Replies (3)

Basically near the end of my script I added a timer that will count down the exact time until it hits 0. Lets say I make it wait 100 seconds, it will ..... More

Print this item

  IMAP authentication
Posted by: matt_the_hall - Feb-23-2021, 08:38 PM - Forum: Networking - No Replies

Hi folks,

I am trying to write a console based IMAP email client and am feeling a little confused about the connection/authentication part.

Som..... More

Print this item

  keeping the last 4 records in a list
Posted by: Skaperen - Feb-23-2021, 08:17 PM - Forum: News and Discussions - Replies (2)

i'm reading in lines from a file by looping over the open file object so i have 1 line at a time. i need to do tests that check the last 4 lines. i ..... More

Print this item

Sad :/
Posted by: Oshadha - Feb-23-2021, 04:45 PM - Forum: General Coding Help - Replies (1)

Script;
[python]
import mysql.connector

mydb = mysql.connector.connect(
host = "localhost",
user = "root",
passwd = "password",
..... More

Print this item

  How to create a speed limiter for a car
Posted by: Tyrel - Feb-23-2021, 04:26 PM - Forum: General Coding Help - Replies (3)

Can someone please help me.

I want to create a device that you plug into your car that limits the speed of the car according to the speed limit of ..... More

Print this item

  Reindex columns
Posted by: rr1997 - Feb-23-2021, 03:09 PM - Forum: General Coding Help - Replies (10)

Hi,

How can I reindex columns? I get an error that says "ValueError: Length mismatch: Expected axis has 18 elements, new values have 5 elements"
..... More

Print this item

  tkinter destroy label inside labelFrame
Posted by: Nick_tkinter - Feb-23-2021, 02:32 PM - Forum: GUI - Replies (3)

hello.I have 3 functions inside a file:

[python]import webbrowser
from tkinter import *
from datetime import datetime
def open_google_maps(root ..... More

Print this item

  object has no attribute 'add_internal'
Posted by: djwilson0495 - Feb-23-2021, 02:11 PM - Forum: Game Development - Replies (7)

I'm trying to produce a grid of stars in a pygame window but when I run the code:

[python]
import sys

import pygame # contains functionality ..... More

Print this item

  Help with beginner assignment
Posted by: Sigwulfr - Feb-23-2021, 02:03 PM - Forum: Homework - Replies (4)

Hi all, and in advance thanks for helping out the Python rookie :)

For my Programming Class I have to create a program that can search for a substr..... More

Print this item

  Circular import dependency
Posted by: hobbyist - Feb-23-2021, 09:45 AM - Forum: General Coding Help - Replies (9)

Hello, I got this message when trying to run my code:
[error]ImportError: cannot import name 'convert_kernel' from partially initialized module 'keras..... More

Print this item

  How to understand the byte notation in python3
Posted by: blackknite - Feb-23-2021, 07:00 AM - Forum: General Coding Help - Replies (3)

Hey, I am trying to learn low-level stuff in py3 for some crypto project, and it is pretty hard so far.

[python]In [63]: int(b'\x12AY5'.hex(),16)
..... More

Print this item

  how to get process handler?
Posted by: maiya - Feb-23-2021, 06:40 AM - Forum: General Coding Help - Replies (1)

Hi All,

I have few questions
1. how to get the process handler?
2. how to keep the process open throughout the entire execution of the script
3...... More

Print this item

  pyautogui attribuyes not found
Posted by: rfresh737 - Feb-22-2021, 10:32 PM - Forum: GUI - Replies (7)

I'm fairly new to python programming. I installed pyautogui.

I was just starting a basic tutorial on using it with these two lines:

[python]
import ..... More

Print this item

  Efficient method to find phrase in string
Posted by: Tuxedo - Feb-22-2021, 10:13 PM - Forum: Data Science - Replies (6)

I'm creating an application to automatically categorize personal financial transactions based on the description (I know some institutions do that alr..... More

Print this item

  Call for participants in creating an App for Wikidata
Posted by: priskorn - Feb-22-2021, 10:04 PM - Forum: Bar - Replies (1)

I have started a project to make it easy to edit Wikidata from mobile devices. Feel free to join, we have a python GNU/Linux GTK app in beta which we ..... More

Print this item

  Please help to make the code smaller
Posted by: dexomol - Feb-22-2021, 08:08 PM - Forum: Code Review - Replies (2)

Hi,
can some one show me a way to write this code in a shorter way? :)
Can't find a way to make the labels configure more compact with iteration.
..... More

Print this item

  Subprocesses not opening File Select Dialog
Posted by: teut - Feb-22-2021, 05:55 PM - Forum: General Coding Help - Replies (2)

Hello ,
I am trying to run a command which should open up a File Select Windows widget in Kivy. Kivy has the non-native FileChooser class which is n..... More

Print this item

  How to start the program from the beginning.
Posted by: iamaghost - Feb-22-2021, 05:33 PM - Forum: General Coding Help - Replies (5)

Hey guys,

im currently just trying to make very basic rock, paper, scissors game but i strumbled upon the following problem:

i wrote basic code..... More

Print this item

  raspberry pi - connection - wireless - tkinter
Posted by: Nick_tkinter - Feb-22-2021, 01:45 PM - Forum: Networking - Replies (2)

Hello.Is there any way to connect my laptop to a raspberry pi wirelessly by pressing a button from an app (tkinter) and then if I m connected(to raspb..... More

Print this item

  drawing images onto pygame window
Posted by: djwilson0495 - Feb-22-2021, 10:12 AM - Forum: Game Development - Replies (1)

Hi I'm trying to draw a grid of stars onto a pygame screen as a background. The code runs but the pygame window is empty. Here is my code:

[python..... More

Print this item

Question Mouseover(Hover/Float) text in PDF documents
Posted by: ak52 - Feb-22-2021, 08:45 AM - Forum: General Coding Help - Replies (1)

Hello,
Is there anyway to insert a mouse over text on certain words in a pfd document.
There are a few custom made adobe scripts which do this but n..... More

Print this item

  Finding square roots using long division.
Posted by: jahuja73 - Feb-22-2021, 05:01 AM - Forum: Homework - Replies (10)

Below is code for long division based finding square root.
But, it fails for decimals, as well as non-square integers.
I mean it gives the same result..... More

Print this item

  Assistance with running a few lines of code at an EXACT time
Posted by: nethatar - Feb-22-2021, 04:33 AM - Forum: General Coding Help - Replies (5)

I'm not sure if this is the correct area, so I apologize, anyways, I'm new to learning python, for the past 2 days I've been looking for an answer to ..... More

Print this item

  Indexing [::-1] to Reverse ALL 2D Array Rows, ALL 3D, 4D Array Columns & Rows Python
Posted by: Jeremy7 - Feb-22-2021, 04:10 AM - Forum: General Coding Help - Replies (8)

How do you get indexing [::-1] to reverse ALL 2D array rows and ALL 3D and 4D array columns and rows simultaneously? I can only get indexing [::-1] to..... More

Print this item

  Moving files to Folders
Posted by: giddyhead - Feb-22-2021, 02:10 AM - Forum: General Coding Help - Replies (13)

Hello everyone, I am trying move files based upon a the names in the spreadsheet. The files in the folder also has the same name. What I want to do ..... More

Print this item

Exclamation Compare values in a for loop.
Posted by: penahuse - Feb-22-2021, 12:57 AM - Forum: General Coding Help - Replies (1)

Hey!

Im working on this code that get a list o templates and compare(OpenCV template matching) to a image searching for templates.

The precision is ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How to make ball stay wit... 11 hours ago nathanael deanhystad General Codin...
  PermissionError: [Errno 1... Yesterday, 14:42 Tuurbo46 deanhystad GUI
  Graph Interpolate Difficu... Yesterday, 13:54 Tuurbo46 deanhystad General Codin...
  sorting a lisr of file pa... Yesterday, 13:00 Skaperen DeaD_EyE News and Disc...
  conditional nested loops 11-14, 23:31 Skaperen Skaperen News and Disc...
  PyQt6 QWidgets and system... 11-14, 18:38 stevecoh1 stevecoh1 GUI
  [solved] re.split issue 11-14, 18:02 paul18fr deanhystad General Codin...
  Please guide me to comple... 11-14, 15:33 pbkurd Larz60+ General Codin...
  New to python and coding 11-13, 19:58 lary_p jefsummers Homework
  Backward compatibility qu... 11-13, 11:52 yutaozhou noisefloor News and Disc...
  why is the image not show... 11-12, 19:26 sarbogast deanhystad General Codin...
Most views
  The best Prog... 579001
  Tutorial Requ... 510739
  Web Scraping ... 442013
  Newbie with P... 386049
  New Users Int... 377350
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+ 12108
buran 8195
snippsat 7388
deanhystad 6913
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
aanthonymaaleyo3938 Today
chuhlowe Yesterday
SledgeNE Yesterday
nathanael 11-14
JamesFalkner 11-14

User Panel Messages

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