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,451
» Latest member: Elkian6
» Forum threads: 38,564
» Forum posts: 174,746

Full Statistics

Online Users
There are currently 497 online users.
» 0 Member(s) | 490 Guest(s)
Bing, Yandex, Google, Apple, Baidu, Facebook

Latest Threads
problems with netcdf if I...
Forum: General Coding Help
Last Post: Larz60+
2 hours ago
» Replies: 3
» Views: 127
How to use isintance with...
Forum: General Coding Help
Last Post: buran
8 hours ago
» Replies: 3
» Views: 123
Gomoku game problem
Forum: General Coding Help
Last Post: snl_9527
Today, 12:10 AM
» Replies: 6
» Views: 387
500 Internal Server error...
Forum: Web Scraping & Web Development
Last Post: Larz60+
Yesterday, 05:04 PM
» Replies: 3
» Views: 157
How to put my game loop i...
Forum: Game Development
Last Post: ekaintan1590
Yesterday, 12:54 PM
» Replies: 8
» Views: 2,051
Text frame
Forum: Homework
Last Post: Larz60+
Yesterday, 05:47 AM
» Replies: 1
» Views: 115
tkinter only storing last...
Forum: General Coding Help
Last Post: deanhystad
May-06-2025, 11:54 PM
» Replies: 8
» Views: 481
Question regarding Python
Forum: General Coding Help
Last Post: Larz60+
May-06-2025, 07:04 AM
» Replies: 1
» Views: 228
Brute Forcing Anagrams
Forum: General Coding Help
Last Post: MeganWillia
May-05-2025, 04:12 PM
» Replies: 13
» Views: 2,391
Picamera2 commands betwee...
Forum: General Coding Help
Last Post: deanhystad
May-05-2025, 02:15 PM
» Replies: 3
» Views: 410

 
  Horizontal extension of widgets + frame size adapted to content
Posted by: Fab117 - Feb-21-2024, 10:54 AM - Forum: GUI - Replies (3)

Hi,
I'm really beginner with TKinter/Python. I followed a TKinter training and I'm now trying to develop my 1st application.
I'm facing 2 challenges..... More

Print this item

  Simple linear regression with interaction summary table
Posted by: Andrzej_Andrzej - Feb-21-2024, 07:44 AM - Forum: Data Science - No Replies

Hi,
I would be very grateful for help because I was not able to figure it out in R.
So if R can't do it maybe Python can?
Here are two questions h..... More

Print this item

Bug p[0] mysteriouly set to 0
Posted by: pnachtwey - Feb-21-2024, 03:39 AM - Forum: General Coding Help - Replies (2)

[code]
import numpy as np

alpha = 0.1
h=0.000001
ftol = 1e-12

def f(p):
_sum = 0 # simple sum of x and y squa..... More

Print this item

  cutomtkinter matplotlib no x,y - xaxis and x,y - labels-> only graph and grid visible
Posted by: dduric - Feb-20-2024, 07:09 PM - Forum: GUI - No Replies

I am trying to create a virtual signal-generator(function-generator) - GUI with the cutomtkinter, matplotlib libs. The graph should be updated after a..... More


Attached Files

Thumbnail(s)
   
Print this item

  J'ai un "Failed: DID NOT RAISE <class 'Exception'>"
Posted by: williamKrakos - Feb-20-2024, 02:21 PM - Forum: Data Science - No Replies

code test.py:
[python]import pytest

#################### PHASE 1 ####################

def test_imports():
from pixel import Pixel
fro..... More

Print this item

Question How to add Python folder in Windows Registry ?
Posted by: Touktouk - Feb-20-2024, 09:09 AM - Forum: General Coding Help - Replies (1)

While trying to uninstall python to solve some errors, I have deleted that folder in the Windows Registery (and all the subfolder as well then): HKEY_..... More

Print this item

  I have 'Failed: DID NOT RAISE <class 'Exception'>'
Posted by: williamKrakos - Feb-19-2024, 11:55 PM - Forum: Homework - Replies (3)

code test.py:
[python]import pytest

#################### PHASE 1 ####################

def test_imports():
from pixel import Pixel
from image..... More

Print this item

  Puzzling import issue that I have no idea how to solvr
Posted by: starseeker - Feb-19-2024, 09:50 PM - Forum: General Coding Help - Replies (3)

I'm building an API with django ninja, for design reasons I'm using some logic inside microservice/logic/one_module.py that needs to get JSON data fro..... More

Print this item

Star Pairs Trading Simulation
Posted by: Kiitoos - Feb-19-2024, 08:27 PM - Forum: General Coding Help - Replies (2)

Hello, I am a student in finance and I have a project to do about pairs trading strategy. The fact is that my program works but gives me outputs that ..... More

Print this item

  Transform a list
Posted by: standenman - Feb-19-2024, 07:28 PM - Forum: Data Science - Replies (2)

I have a list of the bookmarks in pdf that I wish to transform. The list prints out in the form:

[[python][2, 'Medical Evidence of Record (MER) ..... More

Print this item

  recording textbox data into a variable
Posted by: paul18fr - Feb-19-2024, 06:13 PM - Forum: GUI - Replies (4)

Hi

This is my very (very) first test to code a GUI and I know it'll be a very (very) long way Wink .

In the following example, printing textbox..... More

Print this item

  Need to upgrade this code.
Posted by: valentino1337 - Feb-19-2024, 04:08 PM - Forum: Homework - Replies (2)

Hey everyone. For my project i need to extract single characters from a given string which are separated from each other by the increasing number of p..... More

Print this item

  Help with extracting characters from string
Posted by: valentino1337 - Feb-19-2024, 09:58 AM - Forum: Homework - Replies (2)

For our project we need to extract single characters from a given string which are separated from each other by the increasing number of places. Each ..... More

Print this item

  Export Utility for Inventor
Posted by: cthull12 - Feb-18-2024, 04:58 PM - Forum: Code Review - No Replies

I am trying to create a utility for my position that will allow the user to input a list of parts that need exported to DXF files from Inventor, then ..... More

Print this item

  importing variables from module
Posted by: 8376459 - Feb-18-2024, 11:10 AM - Forum: General Coding Help - Replies (1)

hello experts,
i am learning python.
my question:
i am trying to import string variables from separate module to avoid retyping the same strings i..... More

Print this item

  main GUI is not shown
Posted by: flash77 - Feb-18-2024, 07:09 AM - Forum: GUI - Replies (3)

Dear community,

the main GUI of my application is not shown - I don't know why...
I'm using PyCharm, but the debugger doesn't start. (In the past ..... More

Print this item

  Fastest way tkinter
Posted by: Quatrixouuu - Feb-17-2024, 10:59 PM - Forum: General Coding Help - Replies (2)

Hello sorry for my bad english, it's not my mother tongue, I'm trying to make a python code that allows to make the fastest path between two points wh..... More

Print this item

  custom exception
Posted by: dcr - Feb-17-2024, 07:57 PM - Forum: General Coding Help - Replies (1)

I always get a nun2hgh error even when I input abc. What am I doing wrong?

Just figured it out. num2hgh is an exception so it's get's executed bef..... More

Print this item

  Get an average of the unique values of a column with group by condition and assign it
Posted by: klllmmm - Feb-17-2024, 05:53 PM - Forum: General Coding Help - No Replies

I'm trying to get an average of the unique values of a column with a group by condition.

In the method, I followed I had to create a new data frame..... More

Print this item

  [split] How to ask Smart Questions (thread title expansion)
Posted by: saifalikhan9 - Feb-17-2024, 11:57 AM - Forum: Homework - No Replies

[python]import tkinter as tk
from tkinter import ttk, messagebox
from reportlab.pdfgen import canvas

class GuillotineCuttingOptimizer:
def _..... More

Print this item

  The function of double underscore back and front in a class function name?
Posted by: Pedroski55 - Feb-17-2024, 11:30 AM - Forum: General Coding Help - Replies (9)

I am just looking at Mandelbrot fractals. This class comes from realpython.com I know next to nothing about classes.

I saved this class as a module..... More

Print this item

  Python Launcher (on Windows) only necessary when 2 or more Python versions installed?
Posted by: pstein - Feb-17-2024, 09:02 AM - Forum: General Coding Help - Replies (1)

I wonder when users need the Python Launcher.

I installed newest 64bit Python v3.12.2 on Windows. Thats my one and only Python installation.

So..... More

Print this item

  How to receive two passed cmdline parameters and access them inside a Python script?
Posted by: pstein - Feb-17-2024, 08:55 AM - Forum: General Coding Help - Replies (2)

Sorry for this newbie question:

Assume I have have a python script myscript.py (on Windows 10).

Now I want to call this script (from command lin..... More

Print this item

  an uncatchable asyncio exception from in 3.12.2 but not 3.11.5
Posted by: wangli - Feb-17-2024, 04:10 AM - Forum: General Coding Help - No Replies

For the following code:
[python]
from asyncio import create_task, run as aiorun, sleep as aiosleep
from asyncio import get_event_loop, get_running_..... More

Print this item

  sort search results by similarity of characters
Posted by: jacksfrustration - Feb-16-2024, 07:43 PM - Forum: General Coding Help - Replies (5)

i have a stock market app that im building. basically i have the following code that works as a feature that allows the user to search for official co..... More

Print this item

  Unexpected termination of program when using JDBC drivers in python with jaydebeapi
Posted by: skarface19 - Feb-16-2024, 06:26 PM - Forum: General Coding Help - Replies (2)

I am trying to connect to a solid DB using JDBC drivers and the program just prints "point - 0" and quits. I cannot do anything because the frustratin..... More

Print this item

  Converting py to exe
Posted by: WiPi - Feb-16-2024, 08:47 AM - Forum: General Coding Help - Replies (10)

Hi all,
I am using PyInstaller to convert a python script to a windows exe file.
The python script is:
[python]#!/usr/bin/python

import requests..... More

Print this item

  Python3 string slicing
Posted by: Luchano55 - Feb-16-2024, 08:06 AM - Forum: General Coding Help - Replies (4)

And because we know how much you love variety, our library's jacked with everything from quick amateur hookups to full-scale pornstar throwdowns. No s..... More

Print this item

  function-decorator , which is checking an access according to USERNAME
Posted by: Liki - Feb-16-2024, 02:37 AM - Forum: Homework - Replies (6)

Hallo,

I'm asking for help for followed task:

"""
Realize a function-decorator , which is checking an access according to USERNAME
All USERNAM..... More

Print this item

  Tkinter callback exception
Posted by: Ben123 - Feb-15-2024, 07:02 PM - Forum: GUI - Replies (2)

Exception in Tkinter callback
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/tkinter/_..... More

Print this item

  File Handling not working properly
Posted by: TheLummen - Feb-15-2024, 04:08 PM - Forum: General Coding Help - Replies (8)

I've trying to find what is the error in the following code but I still get the error. Does anyone have any idea how to resolve this as I have been tr..... More

Print this item

  Python logging RotatingFileHandler writes to random file after the first log rotation
Posted by: rawatg - Feb-15-2024, 11:12 AM - Forum: General Coding Help - No Replies

I am using python logging.handlers.RotatingFileHandler for my log rotation. It is working fine and writting logs to let's say app.log file but after t..... More

Print this item

  file transfer
Posted by: DPaul - Feb-15-2024, 08:55 AM - Forum: Bar - Replies (10)

Hi,
My business is converting legacy files,lists,databases,images,pdfs,cards... etc.
into a format that can be searched by (genalogy) enthousiasts...... More

Print this item

  Exponeniation and Right Binding
Posted by: PhDoctus - Feb-14-2024, 10:21 PM - Forum: General Coding Help - Replies (3)

Please see the included images.

I was taking an online course and came across what I perceive as a problem. If I am ri..... More


Attached Files

Thumbnail(s)
       
Print this item

  How to automate the process
Posted by: br0oJ - Feb-14-2024, 12:01 PM - Forum: General Coding Help - No Replies

Hi all, I need to automate the process of generating a dataset. I want to open 3d models and have the ability to spin them around and take screenshots..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  problems with netcdf if I... 2 hours ago Blaubart Larz60+ General Codin...
  How to use isintance with... 8 hours ago Azdaghost buran General Codin...
  Gomoku game problem Today, 00:10 snl_9527 snl_9527 General Codin...
  500 Internal Server error... Yesterday, 17:04 ppowell777 Larz60+ Web Scraping ...
  How to put my game loop i... Yesterday, 12:54 temlotresid6 ekaintan1590 Game Developm...
  Text frame Yesterday, 05:47 dnabtuh Larz60+ Homework
  tkinter only storing last... 05-06, 23:54 bertschj1 deanhystad General Codin...
  Question regarding Python 05-06, 07:04 LPTtech Larz60+ General Codin...
  Brute Forcing Anagrams 05-05, 16:12 Anorak MeganWillia General Codin...
  Picamera2 commands betwee... 05-05, 14:15 GigiG deanhystad General Codin...
  How to space data on x ax... 05-05, 12:55 m_kdch m_kdch General Codin...
Most views
  The best Prog... 560294
  Tutorial Requ... 435721
  Web Scraping ... 425544
  Newbie with P... 356467
  Thread remain... 329770
Most reputation
buran 580
snippsat 506
Larz60+ 452
Gribouillis 362
deanhystad 325
Most replies
  New Users Int... 449
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12043
buran 8168
snippsat 7324
deanhystad 6818
metulburr 5151
Top referrers
Googlepro 22
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Elkian6 Today
RubenBarrios Today
TvA Today
Sandrarox Today
TecocraftUK Today

User Panel Messages

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