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,389
» Latest member: atalieyandext4063
» Forum threads: 38,821
» Forum posts: 176,018

Full Statistics

Online Users
There are currently 45 online users.
» 1 Member(s) | 36 Guest(s)
Bing, Google, Facebook, AOL, AOL, DeaD_EyE

Latest Threads
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
10 hours ago
» Replies: 1
» Views: 47
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Yesterday, 04:06 PM
» Replies: 9
» Views: 228
IP address for users
Forum: Networking
Last Post: itx_sumeet
Yesterday, 05:53 AM
» Replies: 4
» Views: 7,065
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 01:10 AM
» Replies: 5
» Views: 9,892
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 137
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 82
requests.post not sending...
Forum: Web Scraping & Web Development
Last Post: noisefloor
Dec-24-2025, 09:20 AM
» Replies: 2
» Views: 146
Looking for constructive ...
Forum: News and Discussions
Last Post: cecrease
Dec-24-2025, 03:16 AM
» Replies: 2
» Views: 1,295
Switching from batch proc...
Forum: GUI
Last Post: arbiel
Dec-23-2025, 09:38 PM
» Replies: 0
» Views: 107
Exploring Different Pytho...
Forum: News and Discussions
Last Post: ankitsharma32
Dec-23-2025, 01:01 PM
» Replies: 3
» Views: 755

 
  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

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How to Integrate External... 10 hours ago finallen321 noisefloor General Codin...
  Calling python from anoth... Yesterday, 16:06 eedjsa eedjsa General Codin...
  IP address for users Yesterday, 05:53 Robots itx_sumeet Networking
  Lottery generator (beginn... Yesterday, 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 ...
  Looking for constructive ... 12-24, 03:16 decuser cecrease News and Disc...
  [PyQt] Switching from bat... 12-23, 21:38 arbiel arbiel GUI
  Exploring Different Pytho... 12-23, 13:01 girish_benvanshi ankitsharma32 News and Disc...
  We open-sourced kubesdk —... 12-21, 11:52 beslanpuzl beslanpuzl Code sharing
Most views
  The best Prog... 580362
  Tutorial Requ... 519069
  Web Scraping ... 442771
  Newbie with P... 386954
  New Users Int... 386264
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
atalieyandext4063 Yesterday
finallen321 Yesterday
DTECHSYSTEM Yesterday
zashleyfracesz3221 Yesterday
itx_sumeet Yesterday

User Panel Messages

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