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,280
» Latest member: MileHigh303
» Forum threads: 38,791
» Forum posts: 175,869

Full Statistics

Online Users
There are currently 41 online users.
» 0 Member(s) | 37 Guest(s)
Bing, Google, Applebot

Latest Threads
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
11 minutes ago
» Replies: 0
» Views: 2
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Today, 06:15 AM
» Replies: 4
» Views: 1,459
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Yesterday, 02:10 PM
» Replies: 2
» Views: 105
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Yesterday, 06:48 AM
» Replies: 0
» Views: 39
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Yesterday, 04:59 AM
» Replies: 11
» Views: 6,014
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Yesterday, 04:46 AM
» Replies: 2
» Views: 4,286
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 313
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Nov-19-2025, 05:03 AM
» Replies: 1
» Views: 158
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
Nov-18-2025, 06:47 PM
» Replies: 2
» Views: 224
best way to learn python
Forum: News and Discussions
Last Post: mamta25
Nov-18-2025, 04:13 PM
» Replies: 5
» Views: 3,122

 
  Google Sheets API Error
Posted by: Connerb42 - May-30-2020, 06:45 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi I am high school senior and I want to do a small program for a school project.

I need to get information from a google sheet into my code. I fol..... More

Print this item

  After_cancel
Posted by: menator01 - May-30-2020, 06:32 AM - Forum: GUI - Replies (1)

I've been playing around with an earlier post. I added a reset timer to the widget. The first run through the timer works as expected but, the next ru..... More

Print this item

  [split] Any improvements
Posted by: Adamstiffman - May-30-2020, 03:46 AM - Forum: Code Review - Replies (1)

I design a code Python Program Code for Sort File In System : -
[python]#!/usr/bin/env python

from __future__ import print_function # Only for P..... More

Print this item

  python library not defined in user defined function
Posted by: johnEmScott - May-30-2020, 03:41 AM - Forum: General Coding Help - Replies (2)

Why doesn't this work?

[python]
def main():
import os
fileName = "text.txt"
userfunction(fileName)

def userfunction(fileName):
..... More

Print this item

  NEED HELP WITH NUMBER SORTER
Posted by: Paul_Choi06 - May-30-2020, 01:25 AM - Forum: General Coding Help - Replies (2)

Hi, I am trying to make a number sorter. I wish for the user to enter numbers and then the program will put in order from least to greatest. My proble..... More

Print this item

  How to append elemnent in columns
Posted by: Mekala - May-30-2020, 12:27 AM - Forum: General Coding Help - No Replies

Hi,
I am reading an XML file and want to append the data to the list. I want to append corresponding elements in their respective columns, for exampl..... More

Print this item

  LMS (Learning Management System)
Posted by: ibrhmymn - May-29-2020, 10:17 PM - Forum: News and Discussions - Replies (7)

Hi friends,
I want to learn coding, and especially I want to get expertise on creating LMS (Learning Management System)which are working web based mo..... More

Print this item

  DFS and BFS
Posted by: garry1415 - May-29-2020, 05:56 PM - Forum: News and Discussions - Replies (1)

What happens if the ending cell is very close to the starting cell? Is DFS guaranteed to be faster than BFS?

Print this item

  install the gTTS
Posted by: yasser - May-29-2020, 05:39 PM - Forum: News and Discussions - Replies (4)

Hello

I am trying to install gTTs from pycharm but i have the below error:

pip install gTTS

Error

python -m pip install gtts
..... More

Print this item

  can't save text string
Posted by: branko316 - May-29-2020, 05:11 PM - Forum: General Coding Help - Replies (2)

Hi, I'm working in the FreeBSD OS environment and using Python version 3.6.8.

I'm essentially trying to run a script that does the equivalent of th..... More

Print this item

  Flask deployment from heck
Posted by: lmolter54 - May-29-2020, 05:04 PM - Forum: Web Scraping & Web Development - Replies (4)

Hi and hello. This is my first post. To summarize, I retired from 44 years as a C and dinosaur-language programmer in April of '20. My wife was using ..... More

Print this item

  GUI section
Posted by: menator01 - May-29-2020, 03:20 PM - Forum: News and Discussions - Replies (4)

I just noticed that the views for GUI ha s 11349 views. Are they really that many people interested in dy..... More

Print this item

  Typing and variable initializers
Posted by: jgossage - May-29-2020, 03:18 PM - Forum: General Coding Help - No Replies

I am starting to use typing and have come up with problems working out how to use typing in a particular situation.
I am running Python 3.8.3 in Ecli..... More

Print this item

  Differential equations with initial condition in Python (change a working code)
Posted by: Euler2 - May-29-2020, 02:50 PM - Forum: General Coding Help - Replies (1)

I am pretty new in Python. I have a working code which looks like

[python]
import numpy as np
import scipy.integrate as sp
import sys
g, l, k =..... More

Print this item

  [XML] How to remove node?
Posted by: Winfried - May-29-2020, 02:50 PM - Forum: General Coding Help - No Replies

Hello,

Does someone know how to use pykml/lxml to remove a node?

I simply need to remove all occurences of "ExtentedData" nodes from a KML file,..... More

Print this item

  Excpetion Handling Getting Error Number
Posted by: gw1500se - May-29-2020, 02:34 PM - Forum: General Coding Help - Replies (4)

I don't know why this is rocket science but I cannot find any way to get just the error number in the exception handler. All the examples show how to ..... More

Print this item

  Parse encrypted xml file to csv
Posted by: Mekala - May-29-2020, 01:56 PM - Forum: General Coding Help - Replies (2)

Hi,
I have encrypted the XML file and need to parse and save it to the CSV file. Does python have any module to do this task? and example?

Print this item

  How to create a varying qty of instances of a Class and name them?
Posted by: KM007 - May-29-2020, 12:15 PM - Forum: General Coding Help - Replies (2)

For a very simple dice game I intend to create a class with attributes of name and score. It is straight forward to create this and also to create obj..... More

Print this item

  Ignore first few letters of a line when reading file.
Posted by: ShakeyPakey - May-29-2020, 11:14 AM - Forum: General Coding Help - Replies (16)

Hello, everybody!

I have run into a spot of bother while writing my Python script and I am wondering if anyone can help me out...... More

Print this item

  urllib.request.urlopen and proxy
Posted by: perseus142 - May-29-2020, 08:46 AM - Forum: Networking - No Replies

Hello guys,
I am learning python. Now I am at stage to use urllib.request.urlopen.
The code from py4e:

[python]import urllib.request, urllib.par..... More

Print this item

  remove spaces with exceptions
Posted by: catosp - May-29-2020, 08:12 AM - Forum: General Coding Help - Replies (4)

Hello!

I have the following problem:

This is the string: asdas asdd sd a2123 3234 "test asd" asda

Is possible to remove all spaces except the..... More

Print this item

  Receiving ValueError("bad input shape {0}".format(shape)) error
Posted by: SuryaCitizen - May-29-2020, 07:57 AM - Forum: General Coding Help - Replies (2)

Hi,

I'm trying to run the below code but receiving "ValueError("bad input shape {0}".format(shape))" error. Can someone please help me resolve this..... More

Print this item

  TypeError that i can't solve it
Posted by: cls0724 - May-29-2020, 07:14 AM - Forum: General Coding Help - Replies (1)

[python]class MACD_Strategy:
def __init__(self, stock_price, MACD, MACD_Signal):
self.stock_price = stock_price
self.MACD = MAC..... More

Print this item

  xlwings UDF showing name error
Posted by: pwt - May-29-2020, 04:34 AM - Forum: General Coding Help - Replies (9)

Hi,

I'm trying to write a simple UDF using xlwings. Note that I don't have much experience with Python.

The Python code that I'm trying to call ..... More

Print this item

  turtle window not showing
Posted by: yokeloonlo01 - May-29-2020, 02:36 AM - Forum: General Coding Help - Replies (3)

Hi,

I am new trying to learn python.

For the turtle, I actually copied the following code and tried to run on Pycharm community 2020 1.1 version jus..... More

Print this item

  Issue with dataframe column
Posted by: nsadams87xx - May-29-2020, 02:00 AM - Forum: Data Science - No Replies

Hey everyone, I'm trying to set a y variable to a dataframe column so I can run train test split on it but I'm getting the following error when I try ..... More

Print this item

  I'm following a tutorial, i don't know what i'm doing wrong
Posted by: Davidodadorito - May-29-2020, 12:48 AM - Forum: Game Development - Replies (5)

Think Huh So I was following a tutorial right like any nooby does and I change the variable so I actually learn from it and not just suck and..... More

Print this item

  ModuleNotFoundError: no module named 'encodings'
Posted by: grunge10111 - May-29-2020, 12:13 AM - Forum: General Coding Help - Replies (1)

Hello everyone,

I have Python 3.7.5 on Windows 10 and it has worked fine for the most part. But lately whenever I've tried to use it, I get this en..... More

Print this item

  Bot coding telegram.ext
Posted by: Kumarkv - May-28-2020, 11:55 PM - Forum: General Coding Help - Replies (1)

Dear All,
Excuse me if my post is in not proper forum.

I am trying bot library from telegram.ext.
Used the same code from python telegram bot. Th..... More

Print this item

  Selecting text as an input
Posted by: lazerwolf101 - May-28-2020, 11:49 PM - Forum: General Coding Help - Replies (2)

The purpose of my code is to decrypt text in the variable "message". When you run the code it will show all the keys from 1 to 25. And after it will a..... More

Print this item

  Window Color/Adding a ship
Posted by: kleeklee - May-28-2020, 11:26 PM - Forum: Game Development - Replies (2)

I am able to edit the window size. However, when attempting to change the window background color I am having issues. Doesn't matter what numbers I en..... More

Print this item

  return string from function with one argument
Posted by: jamie_01 - May-28-2020, 10:34 PM - Forum: General Coding Help - Replies (2)

[python]
def ground_shipping_cost(weight):
cost = weight * 4.00
return cost

#print(ground_shipping_cost (8.400)+20)

def drone_shipping_co..... More

Print this item

  win32 API: Launch Application to RDP session from background process python script
Posted by: rangeshgupta - May-28-2020, 09:41 PM - Forum: General Coding Help - No Replies

[font=Arial, Helvetica, sans-serif]Hello,

I am trying to launch the application in RDP session from the background process which is python script. ..... More

Print this item

  html data cell attribute issue
Posted by: delahug - May-28-2020, 09:41 PM - Forum: Web Scraping & Web Development - Replies (5)

hi all,

an attribute that i need to use to identify a <td> contains the keyword 'data'...

for cell in row.find_all('td',data-ending_ = 'RPR'):
..... More

Print this item

  Class question
Posted by: robdineen - May-28-2020, 09:16 PM - Forum: General Coding Help - Replies (7)

Hello i have been learning Python 3 and its going in quite well.

But i have a query about classes.

i have the below code

[python]class Studen..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Brazil Python Help to aut... 11 minutes ago MileHigh303 MileHigh303 Jobs
  My goal to be hired worki... Today, 06:15 GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... Yesterday, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... Yesterday, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... Yesterday, 04:59 temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... Yesterday, 04:46 Barber532 SledgeNE Game Developm...
  Graph Interpolate Difficu... 11-19, 20:34 Tuurbo46 deanhystad General Codin...
  link variable to exc bloc... 11-19, 05:03 Astrobert Gribouillis General Codin...
  PyQt6 QWidgets and system... 11-18, 18:47 stevecoh1 Axel_Erfurt GUI
  best way to learn python 11-18, 16:13 dutch mamta25 News and Disc...
  [SOLVED] Access keys and ... 11-17, 11:47 Winfried Winfried General Codin...
Most views
  The best Prog... 579202
  Tutorial Requ... 511960
  Web Scraping ... 442149
  Newbie with P... 386229
  New Users Int... 379195
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+ 12109
buran 8196
snippsat 7389
deanhystad 6915
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
MileHigh303 Today
ndx101 Today
OtiliaBecker Today
NAGASOWMYAGUNDU Yesterday
shipa1autotransport Yesterday

User Panel Messages

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