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,398
» Latest member: victoratopz3992
» Forum threads: 38,824
» Forum posts: 176,030

Full Statistics

Online Users
There are currently 30 online users.
» 0 Member(s) | 28 Guest(s)
Bing, Google

Latest Threads
Iphone 17 Release Date Pr...
Forum: General Coding Help
Last Post: victoratopz3992
1 hour ago
» Replies: 0
» Views: 17
IP address for users
Forum: Networking
Last Post: Ruth_Hernandez
5 hours ago
» Replies: 5
» Views: 7,138
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
7 hours ago
» Replies: 28
» Views: 15,554
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:11 AM
» Replies: 1
» Views: 132
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,606
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 208
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Dec-29-2025, 07:27 AM
» Replies: 7
» Views: 3,625
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 180
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 332
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Dec-27-2025, 01:10 AM
» Replies: 5
» Views: 9,993

 
  Treeview - SQL - Add child node
Posted by: snakes - May-15-2021, 08:45 PM - Forum: GUI - No Replies

I've got a bunch of entry boxes that add data to an SQL database which is then pulled and added to a tkinter treeview widget. I can select each row in..... More

Print this item

  Managing Objects
Posted by: JoeDainton123 - May-15-2021, 02:57 PM - Forum: General Coding Help - Replies (1)

Hello all

I was wondering if anyone could help shed some light on how to manage objects once they have been instantiated.

I have a class that cr..... More

Print this item

  [split] Please help
Posted by: Tiger2inch - May-15-2021, 12:07 PM - Forum: General Coding Help - Replies (1)

Hey, my code is still showing error. Please help

Print this item

  Fibonacci
Posted by: Yasunaga - May-15-2021, 11:15 AM - Forum: General Coding Help - Replies (7)

Hi Guys,

I am a Python beginner and trying to write a code for Fibonacci sequence.
I wrote the following code and got a following result: [1, 1, 3..... More

Print this item

  problem with pyinstaller to create an executable file
Posted by: atlass218 - May-15-2021, 11:01 AM - Forum: General Coding Help - No Replies

Hi;
I just created an application with python version 3.9.4: when I run the python file (index.py), it works fine without any problem. once i have c..... More

Print this item

  TypeError: max_value() missing 2 required positional arguments: 'alpha' and 'beta'
Posted by: Anldra12 - May-15-2021, 10:17 AM - Forum: General Coding Help - Replies (2)

[python]def minimax(BTree):
alpha = mini
beta = maxi
userValue = max_value(BTree,alpha,beta)
return userValue
userValue = minimax..... More

Print this item

  cant use ping, sudo or other commands in remote shell script.
Posted by: throwaway34 - May-15-2021, 06:03 AM - Forum: General Coding Help - Replies (7)

Ive posted about this script in the past and again I have run aground... whenever I try to enter commands In such as sudo, Clear, ping and so on I do ..... More

Print this item

  Removing existing tuples from a list of tuple
Posted by: Bruizeh - May-15-2021, 04:08 AM - Forum: Homework - Replies (4)

For one of my rev questions I am trying to write a function that updates a list of tuples whenever a user decides to add a new contact. This has to be..... More

Print this item

  newbie
Posted by: bigplc - May-14-2021, 11:55 PM - Forum: General Coding Help - Replies (1)

pip install pulp
Note: you may need to restart the kernel to use updated packages.
'C:\Users\Craig' is not recognized as an internal or external com..... More

Print this item

  in a list or tuple
Posted by: Skaperen - May-14-2021, 11:53 PM - Forum: General Coding Help - Replies (6)

given an object that is in a list or tuple, is there a way to detect which type it is in?

Print this item

  Running script on multiple files
Posted by: Afrodizzyjack - May-14-2021, 09:16 PM - Forum: General Coding Help - Replies (1)

Hello all,

I am using a package called 'augmentor' that creates augmented versions of an image. I have over 60 images and I want each image contain..... More

Print this item

  screen.fill command wont change color of background
Posted by: friska - May-14-2021, 05:46 PM - Forum: Game Development - Replies (5)

Subject explains it all. Any help greatly appreciated.
Code:
[python]import pygame

pygame.init()
# create screen
screen = pygame.display.set_mo..... More

Print this item

  py2app deployment version
Posted by: Rubberduck - May-14-2021, 05:35 PM - Forum: General Coding Help - No Replies

Hi there,
I have a little problem by creating a python app with py2app. It confuses me then if I create an Alias (standalone version) it all works v..... More

Print this item

  [Expired] Complete Python 3 course, FREE for the next 2 days
Posted by: Yoriz - May-14-2021, 05:30 PM - Forum: News and Discussions - Replies (2)

[quote="https://www.reddit.com/r/Python/comments/nc9s8e/complete_python_3_course_free_for_the_next_2_days/?utm_source=share&utm_medium=ios_app&utm_nam..... More

Print this item

  How to get specific TD text via Selenium?
Posted by: euras - May-14-2021, 08:26 AM - Forum: Web Scraping & Web Development - Replies (3)

I try to scrape a table and read specific TD in Table in each row. But for some reasons it fails at the last step. What I'm doing wrong?

[python]co..... More

Print this item

  Help please
Posted by: Sasnya11 - May-14-2021, 07:49 AM - Forum: General Coding Help - Replies (1)

NameError : name 'edit1' is not defined

Print this item

  The Open Open Open Source Project
Posted by: GareBearH - May-14-2021, 03:21 AM - Forum: Bar - Replies (1)

Hey, my name is GareBearH, I'm not very advanced in python coding and I only recently joined this forum. I joined it however because I have a fun litt..... More

Print this item

  SQLAlchemy ORM question
Posted by: Larz60+ - May-13-2021, 10:44 PM - Forum: General Coding Help - Replies (2)

  • I have written python software that finds and downloads all of the csv files at a particular ftp location.
  • I then programatically creat..... More

Print this item

  Nested dictionary acting strange
Posted by: Pedroski55 - May-13-2021, 09:55 PM - Forum: General Coding Help - Replies (2)

I'm trying to collate data from a little survey. The data is in a .csv, 14 questions, each question 7 possible answers.

I make a dictionary:

[py..... More

Print this item

  Filter Excel and Convert an Excel File
Posted by: giddyhead - May-13-2021, 06:31 PM - Forum: General Coding Help - No Replies

Hello everyone,

The following is my attempt to filter the last modified xls file on a ftp server and convert that file to a csv on the same server...... More

Print this item

  Input validation for nested dict and sorting list of tuples
Posted by: ranbarr - May-13-2021, 03:14 PM - Forum: Homework - Replies (3)

Hi everyone,
First of all I want to say that I really appreciate this forum and Ive learned alot since I joined!
Im trying to write a func that iclu..... More

Print this item

  Better way to append frames from a video to multiple lists?
Posted by: Balaganesh - May-13-2021, 07:37 AM - Forum: General Coding Help - No Replies

Hi, I am trying to split a video based on the index and value stored in a text file. The index represents the frame number and value represents frame ..... More

Print this item

  Best way to process large/complex XML/schema ?
Posted by: MDRI - May-13-2021, 01:44 AM - Forum: General Coding Help - Replies (7)

Best way to process large/complex XML/schema ?
==============================================

Thanks for reviewing this thread.

I like to figur..... More

Print this item

  Helps with reading csv file - 3 methods
Posted by: hhchenfx - May-13-2021, 01:37 AM - Forum: General Coding Help - Replies (4)

Hi Everyone,
I try 3 different ways to read csv data and only 1 works.
Can you please help to fix the not working code?
Thank you so much.
HHC

..... More

Print this item

  Unable to send/reply PM messages?
Posted by: MDRI - May-13-2021, 01:31 AM - Forum: Board - Replies (6)

I am not able to send PM messages. I am getting.

You do not have permission to access this page. This could be because of one of the following reas..... More

Print this item

  How do I split a dataset into test/train/validation according to a particular group?
Posted by: 69195Student - May-12-2021, 07:56 PM - Forum: General Coding Help - Replies (1)

I have written the following code to split my dataset into a training, validation and test dataset. The dataset consists of multiple audio files from ..... More

Print this item

  Calculating accuracy on RNN-LSTM model
Posted by: hobbyist - May-12-2021, 01:27 PM - Forum: General Coding Help - No Replies

Hello,

How can I calculate the accuracy in a RNN-LSTM neural network?
Also when testing my model with either epoch = 1 , or epoch = 40 the result of ..... More

Print this item

  Run CMD Command In Python Script
Posted by: shantanu97 - May-12-2021, 01:19 PM - Forum: General Coding Help - Replies (2)

I have a couple of batch command and also wanted to execute sql query commands like sqlcmd using Python script.

[python]sqlcmd -S catalyst.databas..... More

Print this item

  combining dicts into one dict when not all keys are in both dicts
Posted by: ranbarr - May-12-2021, 12:31 PM - Forum: Homework - Replies (5)

Hi,
Im trying to combine two different dicts into one dict, however the len of dict1 is greater then dict2 and I only need the keys that exist in bot..... More

Print this item

  How to add run in paragraph using python-docx?
Posted by: toothedsword - May-12-2021, 10:55 AM - Forum: General Coding Help - No Replies

I want to put runs in one paragraph to another using , so I write code like this: But it does not work. How should I change this code?

[python]
fr..... More

Print this item

  About free of charge libraries
Posted by: Mahzinho93 - May-12-2021, 08:04 AM - Forum: General Coding Help - Replies (1)

Hello, how are you? I am Marcos, a new-coming programmer mainly with Python (marvelous language for computing general tasks) and I want to know: I ins..... More

Print this item

  Input function cutting off commands at spaces.
Posted by: throwaway34 - May-12-2021, 05:43 AM - Forum: General Coding Help - Replies (3)

Hello, Ive Posted on here about this script before and I had made some progress but now I have ran aground once again and hopefully you can help me. F..... More

Print this item

  Why recursive function consumes more of processing time than loops?
Posted by: M83Linux - May-11-2021, 11:42 PM - Forum: General Coding Help - Replies (9)

Hi All,

Why recursive function consumes more processing time than loops?
And, Is it cumbersome for the processor?

[python]
def fibonacci(n):
if ..... More

Print this item

  Problems with inserting images into an Excel File
Posted by: FightingFarmer - May-11-2021, 11:25 PM - Forum: General Coding Help - Replies (2)

When I add an image to the excel file, the excel file has unreadable content.

The excel file and the png file are both valid files.

openpyxl ..... More

Print this item

  tkinter - update/refresh treeview
Posted by: snakes - May-11-2021, 09:32 PM - Forum: GUI - Replies (5)

I've got a treeview widget that is supplied data from an sql database.

I've been trying all day to make it so when I add a row to the database tha..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Iphone 17 Release Date Pr... 1 hour ago victoratopz3992 victoratopz3992 General Codin...
  IP address for users 5 hours ago Robots Ruth_Hernandez Networking
  Merge video with subtitle... 7 hours ago Pavel_47 OtiliaGen General Codin...
  Opencv findContours Q Yesterday, 00:11 jogl Pedroski55 General Codin...
  Struggles I Faced While E... 12-29, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... 12-29, 08:37 braillescribe noisefloor General Codin...
  Create dataframe from the... 12-29, 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...
  Lottery generator (beginn... 12-27, 01:10 Hullari Pedroski55 General Codin...
  [split] How to ask Smart ... 12-25, 07:58 yoanselcp Pedroski55 General Codin...
Most views
  The best Prog... 580456
  Tutorial Requ... 519834
  Web Scraping ... 442790
  Newbie with P... 387001
  New Users Int... 386691
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
victoratopz3992 Today
JulioLet Today
aellatsz9602 Yesterday
cruisesfares Yesterday
azam Yesterday

User Panel Messages

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