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,941
» Latest member: Noya_Yonatan
» Forum threads: 38,722
» Forum posts: 175,508

Full Statistics

Online Users
There are currently 43 online users.
» 1 Member(s) | 36 Guest(s)
Applebot, Bing, Google, AOL, AOL, Noya_Yonatan

Latest Threads
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: Anunderling
2 hours ago
» Replies: 0
» Views: 43
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 04:28 PM
» Replies: 11
» Views: 4,291
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 735
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
Sep-19-2025, 12:30 PM
» Replies: 1
» Views: 3,609
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,075
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,580
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,406
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,601
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,542
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,704

 
  plotly expression problem
Posted by: Visiting - May-15-2021, 09:08 PM - Forum: General Coding Help - Replies (2)

I use following code to generate graph, but nothing display, can anyone help? Thank you!
[python]# Visualize all the original dimensions
import plot..... More

Print this item

  Adding a comma in the resulting value
Posted by: stsxbel - May-15-2021, 08:59 PM - Forum: General Coding Help - Replies (6)

Good day. I receive data from the device in the form: [1663] but it should be written as 166.3. Tell me how to do this?

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Using a For Loop to subtr... 2 hours ago Anunderling Anunderling General Codin...
  403 Error Yesterday, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  Scraping a page with log ... 09-19, 12:30 iamaghost Hershien Web Scraping ...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 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
Most views
  The best Prog... 576478
  Tutorial Requ... 498343
  Web Scraping ... 440370
  Newbie with P... 384264
  New Users Int... 367355
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+ 12087
buran 8175
snippsat 7368
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 6
buran 3
Newest members
Noya_Yonatan Today
Saipython555 Today
Anunderling Today
Monir Today
atylerfraces2254 Yesterday

User Panel Messages

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