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,935
» Latest member: tobey12
» Forum threads: 38,722
» Forum posts: 175,509

Full Statistics

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

Latest Threads
Why Is Assignment Help Au...
Forum: News and Discussions
Last Post: tobey12
44 minutes ago
» Replies: 0
» Views: 9
403 Error
Forum: Web Scraping & Web Development
Last Post: CaptainNewb
Yesterday, 05:56 PM
» Replies: 9
» Views: 2,800
Too much space between gr...
Forum: GUI
Last Post: RonR
Yesterday, 11:22 AM
» Replies: 4
» Views: 1,222
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Yesterday, 10:31 AM
» Replies: 3
» Views: 242
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 559
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 1,717
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 659
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 242
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Sep-15-2025, 03:28 PM
» Replies: 7
» Views: 3,193
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,417

 
  PySimpleGUI not importing
Posted by: garynewport - Apr-03-2022, 08:42 AM - Forum: General Coding Help - Replies (3)

I am using a Mac with PyCharm as my IDE.

I have Python 3.10.2 installed.

If I do python -m pip list I get told..... More

Print this item

  Changing Values in a List
Posted by: DaveG - Apr-03-2022, 08:35 AM - Forum: Data Science - Replies (1)

I would like to replace all the values (1.3million) in column 3 with 0.00000000. Can someone please advise how I insert this in my code please?

[py..... More

Print this item

  Easygui [HELP] - How could I convert my enterbox into a multenterbox in python?
Posted by: C0D3R - Apr-03-2022, 07:43 AM - Forum: GUI - Replies (5)

Hello, so I want to make all four abilities: "Strength", "Speed", "Stealth", "Cunning" to be placed in one window -- since right now with the enterbox..... More

Print this item

  What happens line by line after I register a model in django
Posted by: Novichok - Apr-03-2022, 06:22 AM - Forum: General Coding Help - Replies (1)

I'm new to programming and I don't really understand what's going on line by line in the code

For example: to register a model in Django, we can re..... More

Print this item

  About list copy.
Posted by: water - Apr-02-2022, 08:45 PM - Forum: General Coding Help - Replies (3)

I try to create a copy of list via two ways:

[python]
a = [[1,2, 3], [4, 5, 6], [7, 8, 9]]
b = a.copy()
b[0].pop(2)
b[1].pop(2)
b[2].pop(2)
[..... More

Print this item

  Motivation
Posted by: Lass86 - Apr-02-2022, 07:50 PM - Forum: News and Discussions - Replies (7)

Hello everyone, I need some motivation and I hope that maybe you guys can help?

I started a course on programming some time ago. Unfortunately this..... More

Print this item

  Tracking leap.py years for gregorian calendar (Exercism org)
Posted by: Drone4four - Apr-02-2022, 07:45 PM - Forum: Homework - Replies (11)

This is not for a course credit. It's just online courseware. Although I'd prefer that you people not provide a full solution. Instead just provide gu..... More

Print this item

  Pandas Dataframe Filtering based on rows
Posted by: mvdlm - Apr-02-2022, 06:33 PM - Forum: Data Science - No Replies

New to python and this forum Smile

I have a dataset like this:

[python]df1 = pd.DataFrame({'opA': [1,1,1,1,0],
'opB': [1,1,1,0,1],
..... More

Print this item

  Looking for clarification related to performance
Posted by: Pymon - Apr-02-2022, 05:08 PM - Forum: General Coding Help - Replies (5)

I have come across statements saying that one should be careful about calling functions too frequently because of the performance overhead. Is this t..... More

Print this item

  Print List to Terminal
Posted by: DaveG - Apr-02-2022, 06:54 AM - Forum: General Coding Help - Replies (2)

How do I return all the values of the variable to the terminal rather than just the start and finish of the array please.

[python]elev_t1 = deepcop..... More

Print this item

  Python selenium + Xevil to solve recaptcha
Posted by: sunny9495 - Apr-02-2022, 06:34 AM - Forum: General Coding Help - Replies (6)

Hi,

Iam trying to use Xevil to solve recaptcha , but i didnt find the documentation on how to integrate it with python selenium.

Any advise is a..... More

Print this item

  forloop to compute sum by alternating from addition to subtraction
Posted by: JulianZ - Apr-02-2022, 04:33 AM - Forum: General Coding Help - Replies (3)

I am currently struggling on a way to compute a sum that changes its sign from addition to subtraction e.g. 1/1 - 1/3 + 1/5 - 1/7 + 1/9 - 1/11 + 1/13...... More

Print this item

  Python & Windows Media Player
Posted by: Extra - Apr-01-2022, 11:04 PM - Forum: General Coding Help - Replies (9)

Hello,

I got python to launch windows media player when I say "play music" and now I'm wondering if I can have it automatically play the "Music" pl..... More

Print this item

  How to return the next page from json recursively?
Posted by: sandson - Apr-01-2022, 11:01 PM - Forum: General Coding Help - No Replies

I have an api that returns me a json of 5 out of 5 data, for example. In the example I have an output with 9 data. And in the json it gives me a [inli..... More

Print this item

  Parsing xml file deletes whitespaces. How to avoid it?
Posted by: Paqqno - Apr-01-2022, 10:12 PM - Forum: General Coding Help - No Replies

Hello, I made a program that takes one main XML file and update there attribute values = "Fail" based on other XML file attribute values. It works fin..... More

Print this item

  [closed] Empty dictionary with None
Posted by: paul18fr - Apr-01-2022, 10:04 PM - Forum: Data Science - Replies (8)

Hi,
I'm spending hours in understanding why a 'None' appears immediatly after creating a dictionary, leading to a crash afterward (such dictionary is..... More

Print this item

  Python 2.7 - pathlib2
Posted by: Clives - Apr-01-2022, 06:27 PM - Forum: General Coding Help - No Replies

Greetings,

I have spent about three hours getting errors, to find out which python libraries are not
installed on an offline Linux 86_64 instance..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Why Is Assignment Help Au... 44 minutes ago tobey12 tobey12 News and Disc...
  403 Error Yesterday, 17:56 CaptainNewb CaptainNewb Web Scraping ...
  [Tkinter] Too much space ... Yesterday, 11:22 RonR RonR GUI
  datetime in SQL query. Yesterday, 10:31 Dibbley Dibbley General Codin...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
  Select Python comment (#)... 09-14, 23:27 SpongeB0B Pedroski55 General Codin...
  data input while debuggin... 09-14, 15:32 fred1232 deanhystad General Codin...
Most views
  The best Prog... 575970
  Tutorial Requ... 497373
  Web Scraping ... 439938
  Newbie with P... 383679
  New Users Int... 366097
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12088
buran 8174
snippsat 7367
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 6
buran 3
Newest members
tobey12 Today
alexguemez Yesterday
Shadab Yesterday
Dibbley Yesterday
XenonBlack 09-16

User Panel Messages

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