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,396
» Latest member: aellatsz9602
» Forum threads: 38,823
» Forum posts: 176,026

Full Statistics

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

Latest Threads
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Today, 12:11 AM
» Replies: 1
» Views: 104
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Yesterday, 09:12 AM
» Replies: 1
» Views: 4,598
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 08:37 AM
» Replies: 4
» Views: 195
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Yesterday, 07:27 AM
» Replies: 7
» Views: 3,609
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 165
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 316
IP address for users
Forum: Networking
Last Post: itx_sumeet
Dec-27-2025, 05:53 AM
» Replies: 4
» Views: 7,120
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Dec-27-2025, 01:10 AM
» Replies: 5
» Views: 9,981
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 190
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 123

 
  Basic Music Player with tkinter
Posted by: menator01 - Jul-15-2021, 03:58 PM - Forum: Code sharing - Replies (4)

[python]
#! /usr/bin/env python3

import tkinter as tk
import pygame as pg
from os import listdir, chdir
from functools import partial
import r..... More

Print this item

  Zeep - BasicHTTPBinding secured Endpoint throws 500-invalid security error
Posted by: vinoth - Jul-15-2021, 02:19 PM - Forum: Web Scraping & Web Development - No Replies

Hi,

Greetings!!

I'm working on Python Soap client library - Zeep and struck with below issue. It would be very helpful if you can help to solve ..... More

Print this item

  re
Posted by: menator01 - Jul-15-2021, 09:04 AM - Forum: General Coding Help - Replies (2)

Trying to understand regexp a little.
Taking this string 01-09- Money Honey, I'm trying to get just the Money Honey part.
the closest I've gotten is..... More

Print this item

  field in db as text
Posted by: rwahdan - Jul-15-2021, 08:25 AM - Forum: GUI - Replies (6)

Hi,

I am trying to get a field from db which is a text but when trying to print it it gives me in form of list. how to print the value as string in..... More

Print this item

  Flask TypeError: Object of type Decimal is not JSON serializable
Posted by: mekacharan - Jul-15-2021, 05:28 AM - Forum: Web Scraping & Web Development - No Replies

We are using flask for our application service. Internally we are using Jsonify to return the respon[img]se and our response contains decimal data.
..... More

Print this item

  Division calcuation with answers to 1decimal place.
Posted by: sik - Jul-14-2021, 03:31 PM - Forum: General Coding Help - Replies (3)

I'm trying to write a program that takes two random integers from 0-10 and divides them by each other and have the user enter the answer to one decima..... More

Print this item

  Circular Import
Posted by: Led_Zeppelin - Jul-14-2021, 02:43 PM - Forum: General Coding Help - Replies (3)

when I run the following holdem_calc.py program, I get the following error:

[error]
\Downloads\holdem_calc-1.0.0\holdem_calc>python holdem_calc.p..... More

Print this item

  How to take the tar backup files form remote server to local server
Posted by: sivareddy - Jul-14-2021, 01:32 PM - Forum: General Coding Help - No Replies

import os, subprocess, psutil
import sys
import tarfile
COMMAND="ls -la"

HOST=input("Please enter old server: ")

ssh_option="-o StrictHostKey..... More

Print this item

  open the html page from the django dropdown menu?
Posted by: shams - Jul-14-2021, 12:58 PM - Forum: General Coding Help - Replies (2)

I got this django country, state, city dropdown code and changed the mysql db and tables for my use, thisi is views.py:
[python]
# -*- coding: utf-..... More

Print this item

  spyder tensorflow
Posted by: heye - Jul-14-2021, 12:15 PM - Forum: General Coding Help - No Replies

Hi
I installed spyder4.2.1 in ubuntu21.04 in virtual box.
i installed tensorflow2.5 using pip3 install --upgrade tensorflow in a venv.
but when i ..... More

Print this item

  python memory
Posted by: rd_rakesh - Jul-14-2021, 06:13 AM - Forum: General Coding Help - Replies (1)

HI Friends ,

Processing table number: 67 and table name is: bp_dealer_tbl
Fetching query results.

[error]Error while getting the result from qu..... More

Print this item

  Copying files from a remote Windows station
Posted by: tester_V - Jul-14-2021, 04:58 AM - Forum: General Coding Help - Replies (11)

Greetings to those that do not sleep! Wink
I have a bunch of remote hosts(windows), each host has a windows based system connected to it (I ca..... More

Print this item

  SMTPSenderRefused: (530, b'5.7.0 Must issue a STARTTLS command first
Posted by: rhat398 - Jul-13-2021, 06:24 PM - Forum: General Coding Help - No Replies

I'm trying to creating the User Authentication API using FastAPI. My scope is when a new user gets registered via endpoint an email will be sent to ve..... More

Print this item

  TypeError
Posted by: woodcncwnc - Jul-13-2021, 02:08 PM - Forum: GUI - Replies (2)

I am learning Python, QT Designer and SQLite using a kindle book (Learn SQLite with Python
Building database-driven desktop projects), written by Viv..... More

Print this item

  string function doesn't work in script
Posted by: ClockPillow - Jul-13-2021, 01:40 PM - Forum: General Coding Help - Replies (3)

I don't know if this has been posted before, but when I run the string function in interactive, it works fine, but when it comes to script it doesn't ..... More

Print this item

  Combine 2 PDF pages into 1
Posted by: Cyberduke - Jul-13-2021, 10:13 AM - Forum: General Coding Help - Replies (7)

Hi, I am trying to take 2 PDF pages, and combine them into one. The reason is that I have a template and a technical drawing and would need to combine..... More

Print this item

  previous and next buttons
Posted by: rwahdan - Jul-13-2021, 09:39 AM - Forum: GUI - Replies (1)

Hi

I have a db and i got the data and put them in python lists so I can get the records places 0,1,2...
for the first record i am able to assign t..... More

Print this item

  using different frame for some widgets
Posted by: rwahdan - Jul-13-2021, 07:51 AM - Forum: GUI - Replies (1)

Hi,

I am trying to have some widgets in main frame and others in another frame:
[python]

available_exams.destroy()
exam_started = Topl..... More

Print this item

  Python Pandas: How do I sumproduct by rows with an if condition?
Posted by: JaneTan - Jul-13-2021, 01:38 AM - Forum: General Coding Help - Replies (2)

I am new to Python Pandas.

For each row, I want to do a sumproduct of certain columns only if column['2020'] !=0. I used the below code, but get er..... More

Print this item

  TI-84 Python
Posted by: metulburr - Jul-13-2021, 01:24 AM - Forum: News and Discussions - No Replies

Someone showed me this and thought it was neat enough to post here

https://preettheman.medium.com/the-new-t...python-971..... More

Print this item

  Regex not finding all unicode characters
Posted by: tantony - Jul-12-2021, 10:51 PM - Forum: General Coding Help - Replies (3)

I'm trying to parse a flight tracker web page. But when I try to get the values from the 'Course' tab, I'm only getting the ←,→ ,↓ ,↑. Its not readi..... More

Print this item

  On error - go to the next task
Posted by: stsxbel - Jul-12-2021, 09:04 PM - Forum: General Coding Help - Replies (2)

There is a code that interrogates the device via modbus, in the code several devices are interrogated. When the device is turned off, there is no data..... More

Print this item

  image inside button
Posted by: rwahdan - Jul-12-2021, 05:54 PM - Forum: GUI - Replies (4)

I am trying to add image inside a button. It is empty, I have the image in the exact location and no errors.

[python]
photo1 = PhotoImage(file..... More

Print this item

  Random Particle Simulation in Blender
Posted by: willm168 - Jul-12-2021, 05:13 PM - Forum: Data Science - Replies (3)

I am new to Blender/Python and am trying to create a random particle simulation inside of Blender. I used my code from my python script that worked an..... More

Print this item

  Photoshop extension for procedural textures generation
Posted by: psprocedural - Jul-12-2021, 03:13 PM - Forum: Bar - Replies (1)

Hello to all,

I am new to this forum, so I see things interesting here and hope you folks will give me some guide on what to do next with my develo..... More

Print this item

  I have an error and I do not know why
Posted by: rohes_kaugummi - Jul-12-2021, 03:05 PM - Forum: General Coding Help - Replies (4)

Hello,
i am trying to make a platformer game but every time I press a key the following error message:

File "D:\python project\pygametest\pygamet..... More

Print this item

  How to assigned value to each different binary in python...
Posted by: ZYSIA - Jul-12-2021, 09:05 AM - Forum: General Coding Help - Replies (2)

Hi,
this is my code for converting hex to binary
I converted 6EDAC

# conversion of hex string
# to binary string

import math

# Initialisin..... More


Attached Files

Thumbnail(s)
   
Print this item

  Python “Formula” Package: How do I parse Excel formula with a range of cells?
Posted by: JaneTan - Jul-12-2021, 06:02 AM - Forum: General Coding Help - Replies (1)

Hi,

I have read the documentation of the "Formula" package at https://formulas.readthedocs.io/en/stabl...ng-formula but it doesn't exp..... More

Print this item

  sqlite3 update statement
Posted by: rwahdan - Jul-12-2021, 05:42 AM - Forum: GUI - Replies (1)

Hi,

I am trying to update 2 columns, one of which will take its value from a label "thetoken".

[python]
def assign_exam():
global thefulln..... More

Print this item

  source of python-wstools has two corrupt .gz files in Ubuntu Linux
Posted by: Skaperen - Jul-12-2021, 02:02 AM - Forum: News and Discussions - Replies (3)

Ubuntu Linux has a package named "python-wstools" that installed a number of files including two .gz files. the package in PyPI of the same name does..... More

Print this item

  Ho can I make it so the dirt goes up instad of diagonal
Posted by: izmamonke - Jul-11-2021, 06:48 PM - Forum: General Coding Help - Replies (3)

I finished this code so in line 53-65 display the numbers of the code of images, but when I try to run it nothing goes as planned.
how can I fix it?..... More

Print this item

  Programming a routing protocol
Posted by: leemao - Jul-11-2021, 06:36 PM - Forum: General Coding Help - Replies (2)

Hello,

I want to make a simple routing protocol similar to OSPF (or at least modify an existed one) in python. I found many protocols written in ot..... More

Print this item

  Hi need help for a course - complete beginner
Posted by: zach_s - Jul-11-2021, 02:20 PM - Forum: Homework - Replies (2)

Hi new to python and I need some help with one of my courses questions:
https://gyazo.com/7f963d31452efaa8906a3de2b08bbd80

I have this so far but ..... More


Attached Files

Thumbnail(s)
   
Print this item

Question Making a copy list in a function
Posted by: RuyCab - Jul-11-2021, 02:00 PM - Forum: General Coding Help - Replies (1)

I'm getting a error in the function (make_great). I saw that we use [:] to pass a copy of the list to a function, but it's not working.
Does someone ..... More

Print this item

  MYSQL.CONNECTOR ERROR
Posted by: DB1 - Jul-11-2021, 11:43 AM - Forum: General Coding Help - Replies (8)

I am trying to connect MySQL(8.0.25) and python(3.9.6) using mysql.connector but getting error.
[error]mysql.connector.errors.ProgrammingError: 1045 ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Opencv findContours Q Today, 00:11 jogl Pedroski55 General Codin...
  Struggles I Faced While E... Yesterday, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... Yesterday, 08:37 braillescribe noisefloor General Codin...
  Create dataframe from the... Yesterday, 07:27 Calab OtiliaGen Data Science
  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 ...
Most views
  The best Prog... 580435
  Tutorial Requ... 519688
  Web Scraping ... 442788
  Newbie with P... 386993
  New Users Int... 386622
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
aellatsz9602 Today
cruisesfares Today
azam Today
zcharlesoogleto9533 Today
MaxTranslate Yesterday

User Panel Messages

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