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,237
» Latest member: lary_p
» Forum threads: 38,776
» Forum posts: 175,792

Full Statistics

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

Latest Threads
I’m building a Python Dat...
Forum: GUI
Last Post: woooee
2 hours ago
» Replies: 1
» Views: 88
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:56 AM
» Replies: 4
» Views: 140
Backward compatibility qu...
Forum: News and Discussions
Last Post: buran
Nov-08-2025, 10:39 AM
» Replies: 3
» Views: 121
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 123
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,225
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,376
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,575
Code runs perfectly and j...
Forum: General Coding Help
Last Post: noisefloor
Nov-05-2025, 05:56 PM
» Replies: 2
» Views: 201
Natural language processi...
Forum: Homework
Last Post: offsoar
Nov-05-2025, 02:03 PM
» Replies: 2
» Views: 3,206
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-05-2025, 08:31 AM
» Replies: 5
» Views: 7,457

 
  Why I am getting ModuleNotFoundError when I make an Exe file for tkinter GUI?
Posted by: pymn - Apr-01-2022, 05:35 PM - Forum: GUI - No Replies

I have a simple code to use the LHS design of the experiment, and it works fine.

[python]from tkinter import *
from pyDOE import *

root = Tk()..... More

Print this item

  How to print out the children index of the search tree?
Posted by: longmen - Apr-01-2022, 02:34 PM - Forum: Homework - Replies (7)

Hi, I am working on alphabeta pruning and I am trying to print out the index of the pruned nodes. When I used this input 2 4 13 11 1 3 3 7 3 3 I got p..... More

Print this item

  pywin32 problems
Posted by: catlessness - Apr-01-2022, 12:47 PM - Forum: General Coding Help - No Replies

I was trying to take a screenshot of a hidden window so I found the code below. But there are so many new terms I don't understand.
Can anyone explain..... More

Print this item

  Combining Lambda's not working
Posted by: giddyhead - Apr-01-2022, 03:54 AM - Forum: General Coding Help - Replies (2)

Hello everyone, Need help with this issue. What I am seeking to do is three things.

1. convert strings that start and end with numbers to num2word..... More

Print this item

  Ignore WakeWord after it's said
Posted by: Extra - Mar-31-2022, 10:55 PM - Forum: General Coding Help - Replies (2)

Hello,

I added a wakeword to my voice assistant but now when I say a command like: "Who is Albert Einstein", It searches with the wake word in the ..... More

Print this item

  file icons have Firefox icon
Posted by: Ricvourn - Mar-31-2022, 08:59 PM - Forum: General Coding Help - Replies (4)

Hi All
I'm new to Python. Have been trying to save files from Python to my desktop and when I save them they are saved as a Firefox browser window. ..... More

Print this item

Photo HOW FIX MY BOARD GAME
Posted by: LAZABI - Mar-31-2022, 08:25 PM - Forum: General Coding Help - Replies (3)

Hi, I try to make my board game like as photo.
my code :
[python]import pygame
from sys import exit

rows = cols = 8
fps = 60
white = (255, 25..... More

Print this item

  Autonomous Python Script
Posted by: Leyo - Mar-31-2022, 08:03 PM - Forum: Homework - Replies (6)

good evening,

May I ask for your help again?
[quote]
Create a plural.py script, capable of taking several words and displaying their plural.

E..... More

Print this item

  number to string
Posted by: Ali_ - Mar-31-2022, 09:20 AM - Forum: Homework - Replies (1)

If I have a number, for example 3, how can I convert it to beta 1, beta 2, beta 3 or if it is the number 2 to beta 1, beta 2 etc.

Print this item

  File handling issue
Posted by: GiggsB - Mar-31-2022, 04:00 AM - Forum: General Coding Help - Replies (4)

Hi,
I have this python script where I am getting data from microcontroller (MCU) and calculating the CRC value of the received data. As the data is re..... More

Print this item

  Pyinstaller distribution file seems too large
Posted by: hammer - Mar-31-2022, 02:04 AM - Forum: General Coding Help - Replies (4)

I ran pyinstaller on an app that has the following imports plus a small database and datepicker. I zipped the distribution file and it was 500MB. Is p..... More

Print this item

  Overwrite values in XML file with values from another XML file
Posted by: Paqqno - Mar-30-2022, 04:47 PM - Forum: General Coding Help - Replies (5)

I have one main xml file (Mainfile_1.xml) where some items show value = 'FAIL'. I want to replace those Fail values with correct values from another X..... More

Print this item

  Floor division problem with plotting x-axis tick labels
Posted by: Mark17 - Mar-30-2022, 03:24 PM - Forum: General Coding Help - Replies (5)

Because of the issue I posted about a couple weeks (?) ago regarding matplotlib's asymmetric plotting of x-axis labels (for me, they were at locations..... More

Print this item

Video Video Streaming
Posted by: goncalo - Mar-30-2022, 01:34 PM - Forum: News and Discussions - Replies (4)

Hi guys, i´m new here, first post. not native speaker.

I came here to ask for opinions.
I have the following project to develop: Play a stream(mjp..... More

Print this item

  PyQt + Matplotlib
Posted by: frohr - Mar-30-2022, 12:59 PM - Forum: General Coding Help - Replies (12)

Hi,
I have window with buttons and some text and I need insert matplotlib below buttons.

Here is my code:

[python]
import sys
from PyQt6.QtCo..... More

Print this item

  How to create 2 dimensional variables in Python?
Posted by: plumberpy - Mar-30-2022, 08:22 AM - Forum: General Coding Help - Replies (5)

[python]import time
import pandas

df = pandas.read_csv('abc.csv')
start = time.time()

i = 0
ii = 0
for ii in range(1, 25):

for i in r..... More

Print this item

  Print to a New Line when Appending File
Posted by: DaveG - Mar-30-2022, 04:14 AM - Forum: General Coding Help - No Replies

How can I force appended data to a new line when writing out to an existing file please? The first line in my output file should be 943 814 2

943 8..... More

Print this item

  Mytime Problems
Posted by: DaveG - Mar-30-2022, 02:04 AM - Forum: General Coding Help - Replies (1)

Hi
I'm getting the error with the use of mytime. Is this part of a library?
Thank you, Dave

[error]Traceback (most recent call last):
File "C:/Us..... More

Print this item

  convert a named tuple to a dictionary
Posted by: Skaperen - Mar-30-2022, 12:31 AM - Forum: General Coding Help - Replies (13)

is there a better way (like a built-in way) to convert a named tuple to a dictionary?

[python]
def named_tuple_to_dict(t):
return {n:getattr(..... More

Print this item

  Python Flask Realtime system printout (console) ffmpeg
Posted by: jttolleson - Mar-29-2022, 10:46 PM - Forum: General Coding Help - Replies (3)

Hey everyone - Jayson again; and now that i have started with flask i have attempted one of my older programming ideas with the addition of a realtim..... More

Print this item

  list, map and put of the Queue in the Tree Data Structure
Posted by: longmen - Mar-29-2022, 10:38 PM - Forum: Homework - Replies (6)

Hi, I wonder if anyone could explain me what does this line of code do " list(map(fringe.put, tree_struct))"? Thanks
[python]
def createTree(leafV..... More

Print this item

  Taking info from Json & using it in Python
Posted by: Extra - Mar-29-2022, 10:26 PM - Forum: General Coding Help - Replies (8)

Hello,

I have a json file filled with intents that I would like to use in my voice assistant.

I would like to have so it goes when I say one of ..... More

Print this item

  [SOLVED] Concat data from dictionary?
Posted by: Winfried - Mar-29-2022, 07:39 PM - Forum: General Coding Help - Replies (4)

Hello,

I don't know how to read all the data from a dictionary into a string:

[python]"""
ipconfig:

[{'addr': '192.168.188.213', 'netmask': ..... More

Print this item

  sqlalchemy could not find table
Posted by: 3lnyn0 - Mar-29-2022, 05:44 PM - Forum: General Coding Help - Replies (4)

Hi!
Please help me with the error below.
I also tried with the command: user_id = Column (String (13), ForeignKey ('users.user_id')) without child a..... More

Print this item

  Openpyxl-change value of cells in column based on value that currently occupies cells
Posted by: phillipaj1391 - Mar-29-2022, 04:54 PM - Forum: General Coding Help - Replies (5)

I am completely new to openpyxl so, as you can imagine, I am having pretty hard times when I try to make use of it.

I have an Excel report that con..... More

Print this item

  The formula in the function is not giving the correct value
Posted by: quest - Mar-29-2022, 02:59 PM - Forum: General Coding Help - Replies (1)

Here is my function
[python]def coefficients(_list,q_number):
paulis = list(product([i,x,y,z],repeat=q_number))
spaulis = list(product(['i'..... More

Print this item

  Tkinter text overlap
Posted by: Frankduc - Mar-29-2022, 01:50 PM - Forum: General Coding Help - Replies (3)

Hello,

I cant figure out why my text in upper left corner is overlaping when i switch the conversion from F to C and P to CM.

[python]from tkint..... More

Print this item

  Python SQL Help
Posted by: sschuldt - Mar-29-2022, 01:23 PM - Forum: General Coding Help - Replies (1)

I have the below code which is intended to execute a SQL (MSSQL) stored procedure that both updates some file names in a SQL table as well as return t..... More

Print this item

  Array Rotation Solution
Posted by: hannah - Mar-29-2022, 12:40 PM - Forum: General Coding Help - Replies (3)

Hello Community folks,

Hope you all are doing well.

So had been practising a few Python programs on Arrays. Need help understanding this very ..... More

Print this item

  Matplotlib - automatic update
Posted by: frohr - Mar-29-2022, 08:26 AM - Forum: General Coding Help - Replies (1)

Hi all,
I am reading data from serial and then plot them. Everytime I wan to read from serial I send a char and get required data.
I want to change my..... More

Print this item

  Symbolic integration with SymPy thrown an error
Posted by: YF1 - Mar-29-2022, 06:43 AM - Forum: News and Discussions - No Replies

I ran into a problem with SymPy.jl for symbolic integration,

[python]using SymPy
m = symbols(“m”, integer=true)
n = symbols(“n”, integer=true)
x..... More

Print this item

  Writing to External File
Posted by: DaveG - Mar-29-2022, 03:59 AM - Forum: General Coding Help - Replies (9)

I wonder if someone could point out why this script is not writing to a file. I can see the correct values populating the terminal but when I go to op..... More

Print this item

  Identifying keywords in text
Posted by: drchips - Mar-28-2022, 07:21 PM - Forum: General Coding Help - Replies (6)

Hi,

I'm a teacher and I'd like to create a program with my students which analyses a text file to find two specific words and then outputs all the..... More

Print this item

  CSV writer - no output??
Posted by: Clives - Mar-28-2022, 05:24 PM - Forum: General Coding Help - Replies (6)

I am unable to use Pandas on a Python 2.7 environment.
I am appending all output into a new file using the csv library.
I am having to use Visual Co..... More

Print this item

  Having strange results from an RFID HID card reader - I'm stuck
Posted by: orbisnz - Mar-28-2022, 02:52 AM - Forum: General Coding Help - Replies (1)

Hi all, and thanks for taking a look. I'm in the process of upgrading an old Python 2.7 program I wrote about 5 years ago to Python 3 as well as using..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [Tkinter] I’m building a ... 2 hours ago tsgiannis woooee GUI
  Two arguments in input fu... Yesterday, 00:56 Alfredd Pedroski55 General Codin...
  Backward compatibility qu... 11-08, 10:39 yutaozhou buran News and Disc...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
  Code runs perfectly and j... 11-05, 17:56 compuman145 noisefloor General Codin...
  Natural language processi... 11-05, 14:03 maaaa2401 offsoar Homework
  Can I develop a live vide... 11-05, 08:31 mtrkhan ankitsharma32 Web Scraping ...
  [SOLVED] Linefeed when wr... 11-04, 11:51 Winfried buran General Codin...
Most views
  The best Prog... 578717
  Tutorial Requ... 509329
  Web Scraping ... 441858
  Newbie with P... 385817
  New Users Int... 375225
Most reputation
buran 581
snippsat 510
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+ 12102
buran 8194
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 24
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
lary_p Yesterday
Cristiano 11-08
Alfredd 11-08
clayote 11-08
yutaozhou 11-07

User Panel Messages

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