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,286
» Latest member: xdimbah
» Forum threads: 38,794
» Forum posts: 175,877

Full Statistics

Online Users
There are currently 31 online users.
» 1 Member(s) | 25 Guest(s)
Bing, Google, AOL, Apple, lovedeep

Latest Threads
LewisByday
Forum: General Coding Help
Last Post: IsmaelSlalk
42 minutes ago
» Replies: 0
» Views: 3
LhanePulse
Forum: General Coding Help
Last Post: Gichardaxora
4 hours ago
» Replies: 0
» Views: 16
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 12:05 PM
» Replies: 5
» Views: 119
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 50
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,483
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 143
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 63
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,071
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:46 AM
» Replies: 2
» Views: 4,300
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 368

 
  Variable ComboBox Named Values
Posted by: MC2020 - Jan-09-2020, 11:20 PM - Forum: General Coding Help - Replies (2)

Hello All

I feel like I'm missing something dumb here. I have code below to pick from a drop down list (combobox). There is some naming problem with ..... More

Print this item

  Tools and links that can help with code quality
Posted by: snippsat - Jan-09-2020, 09:32 PM - Forum: Code Review - Replies (3)

Style Guide for Python Code PEP 8
A stylized presentation of PEP 8..... More

Print this item

  API Query
Posted by: Axel_Erfurt - Jan-09-2020, 08:37 PM - Forum: Web Scraping & Web Development - Replies (4)

I make a query api via html.
I would like to do it with python.

HTML:
[spoiler]<!doctype html>
<html>
<head>
<meta charset="utf-8">
<tit..... More

Print this item

  Changing axis graduation matplotlib 3D animation
Posted by: axerousso - Jan-09-2020, 08:25 PM - Forum: General Coding Help - No Replies

Hi, i am having an issue coding a 3D matplotlib animation, my Z axis that I'd like to lock from 0 to 50 is changing with the animation, here is the co..... More

Print this item

  Questions about Python executable and security
Posted by: ironfelix717 - Jan-09-2020, 07:47 PM - Forum: News and Discussions - Replies (2)

Hi,

My latest project is a little bug script that does some harmless things like copy some random text files to desktop. This project is for educatio..... More

Print this item

  using input() to control python turtles
Posted by: amh80 - Jan-09-2020, 07:24 PM - Forum: General Coding Help - Replies (4)

I wrote the code below to try to get the turtle below to move the amount input, but I cannot seem to figure out why defining c will not work. How can ..... More

Print this item

  Very High CPU Usage [Networking, Threads]
Posted by: iMuny - Jan-09-2020, 07:22 PM - Forum: Code sharing - Replies (4)

Hello everyone,

This script below is sort of a peer to peer local network communication system. I tried studying asyncio which i believed to be sui..... More

Print this item

  Please Help: Random laptop error
Posted by: KeanuPunk - Jan-09-2020, 06:08 PM - Forum: News and Discussions - Replies (4)

Hello Guys,

This error just showed up all of sudden in my laptop. Anyone knows if it is something serious or not, the reason behind it and whether ..... More

Print this item

  Concat multiple Excel sheets with exclusion
Posted by: alessandrotk - Jan-09-2020, 05:56 PM - Forum: General Coding Help - Replies (1)

[python]
import pandas as pd

workbook_url = 'C:/file.xlsx'

df = pd.concat(pd.read_excel(workbook_url, sheet_name=None), ignore_index=True, sort..... More

Print this item

  Which codec can help me decode the html source?
Posted by: vivekagrey - Jan-09-2020, 05:31 PM - Forum: General Coding Help - Replies (4)

I want to show a web page(actually a google map) in tkinter
[error]
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa0 in position 1261..... More

Print this item

  numpy.where array search for string in just one coordinate
Posted by: adetheheat - Jan-09-2020, 05:28 PM - Forum: Data Science - Replies (1)

I have the following array:

[[  258 16892 40056]
 [  259 25647 40056]
 [  260 25847 40056]
 [  261 47339 259]]
I want to searc..... More

Print this item

  Self taught , (creating a quiz) syntax error on my array
Posted by: DarkAlchemyXEX - Jan-09-2020, 04:23 PM - Forum: Homework - Replies (9)

Im self teaching python , trying to create a quiz but Im having a error on line 17 , im importing from from this code

Quote:Question.py
[py..... More

Print this item

  How to keep last entry from duplicate entries
Posted by: SriRajesh - Jan-09-2020, 03:28 PM - Forum: Data Science - Replies (2)

Hi,
I have data (data frame) as below. There Some duplicate entries with in same day, and want to keep last entry based on specified columns.
[pytho..... More

Print this item

  How to process JSON response from requests?
Posted by: Heinrich - Jan-09-2020, 03:18 PM - Forum: General Coding Help - Replies (5)

[python]
try:
message_to_clientsservice = {
'id': id_id,
'name': 'create-member-client-for-ten..... More

Print this item

  tkinter
Posted by: guilla25 - Jan-09-2020, 01:10 PM - Forum: GUI - Replies (3)

Hi

I want to display a value which is updated every second.
I receive data via an HTTP post every second
I try to use tkinter, by putting my pro..... More

Print this item

  Need help with For Loop logic for reading docx Table column data
Posted by: vintysaw - Jan-09-2020, 12:38 PM - Forum: General Coding Help - Replies (2)

Hi Everyone,

Please help with the loop logic.

There are multiple tables available in the word docx.
I am trying to read a particular Table e.g. Tabl..... More

Print this item

  Extracting all the links on a website
Posted by: randeniyamohan - Jan-09-2020, 10:42 AM - Forum: Web Scraping & Web Development - Replies (1)

I am trying to build a web crawler to extract all the links on a webpage. I have created 2 python files. (class: scanner.py and object: vulnerability-..... More

Print this item

  processes a series of text file
Posted by: paolozzigiuseppe9 - Jan-09-2020, 09:26 AM - Forum: Homework - Replies (1)

Hello everyone! I should solve an exercise in python language and I am not able. This is the exercise:
"Create a Python program that processes a seri..... More

Print this item

  What mode should i open the file to write into a *.msh file
Posted by: Dhanya - Jan-09-2020, 08:27 AM - Forum: General Coding Help - No Replies

Hi,
I am trying to update a *.msh file by finding a 'find_word' and replace it with rep_word'.
I wrote a program to read an input csv file where I w..... More

Print this item

  Code Review: Range and Enumerate
Posted by: lummers - Jan-09-2020, 04:07 AM - Forum: Homework - Replies (2)

Hello

New member here! I just started reading Python Programming: An Introduction to Computer Science by John Zelle. I am about four chapters in and ..... More

Print this item

  Help with Global/Coerced Variable (Understanding Scope)
Posted by: Rev2k - Jan-09-2020, 03:12 AM - Forum: General Coding Help - Replies (6)

Hi, I'm going through the python in easy steps book and have hit a snag with global/coerced variables.
I've copied the code exactly from the book but..... More

Print this item

  Handling a .txt text
Posted by: reinalazaro - Jan-09-2020, 01:27 AM - Forum: General Coding Help - Replies (7)

Hi, Folks! I'm trying to open a .txt file and find a line with a specific expression but the return isn't what I expected:

[python]
f = open("fi..... More

Print this item

  rootVIII
Posted by: rootVIII - Jan-09-2020, 01:03 AM - Forum: Bar - Replies (1)

bahahaha just noticed your new Happy New Year message Thumbs Up

Wish I could get my boss to agree hahaha

Print this item

  Error message when trying to install Matplotlib in Python3.8
Posted by: Transitionyte - Jan-08-2020, 11:24 PM - Forum: General Coding Help - Replies (5)

Hi, Newbie here!
I was trying to work on a data viz project for practice and had to install the modules. I installed seaborn yesterday with no proble..... More

Print this item

  Slice qualified names.
Posted by: Gribouillis - Jan-08-2020, 11:23 PM - Forum: Code sharing - No Replies

A helper function to slice a qualified name such as a python module name
[python]
_sentinel = object() # helps for qslice()

def qslice(qname, sta..... More

Print this item

  Print Binary Tree - Python
Posted by: Daniel94 - Jan-08-2020, 09:41 PM - Forum: Homework - Replies (1)

[python]
def show_2d(self):
'''
Show a pretty 2D tree based on the output of bfs_order_star(). None
values are are replaced by stars (..... More

Print this item

  Homework
Posted by: Philippa - Jan-08-2020, 08:57 PM - Forum: Homework - Replies (5)

Please, how do i make my comparison case sensitive?
[python]
#program that simulates how websites ensure that everyone has a unique username .
cur..... More

Print this item

  How do I install Python 3.8.1 in a RHEL 8 UBI container?
Posted by: DevLinuxNC - Jan-08-2020, 08:46 PM - Forum: General Coding Help - Replies (1)

I want to type:

dnf -y install python
and have it install Python 3.8.1 on my RHEL 8.0 or 8.1 inside my minimal container that I..... More

Print this item

  TypeError: setText(self, str): too many arguments
Posted by: CabbageMan - Jan-08-2020, 08:28 PM - Forum: General Coding Help - Replies (3)

My code is meant to multiply a number with pi, but when I run it I get the error: TypeError: setText(self, str): too many arguments
[python]
def pi(..... More

Print this item

  Installing pefile from local folder
Posted by: KipCarter - Jan-08-2020, 07:49 PM - Forum: General Coding Help - Replies (4)

I'm relatively new to python code, but experienced in several others.

I'm trying to get PyInstaller up and going, stepping through the various depe..... More

Print this item

  Odd interpreter behavior
Posted by: sumncguy - Jan-08-2020, 06:24 PM - Forum: Homework - Replies (4)

Im posting this in Homework as I am taking a self paced course.

Im on a Centos 6 vm.
There is both python 2.7.5 and 3.7 loaded.
I am not sure ..... More

Print this item

  Code used to work, not anymore for no apparent reason?
Posted by: chicagoxjl - Jan-08-2020, 04:59 PM - Forum: General Coding Help - Replies (1)

Hello,

I am taking Microsoft Professional Program for Artificial Intelligence. This block of code used to work fine. After I tried to insert some n..... More

Print this item

  Difference between R^2 and .score
Posted by: donnertrud - Jan-08-2020, 04:23 PM - Forum: Data Science - Replies (1)

Hi guys,

As far as I know you can calculate the accuracy of a regression model with sklearn LinearRegression
The code would be something like this..... More

Print this item

  simple if elif conditions in Python
Posted by: Chandan - Jan-08-2020, 02:00 PM - Forum: General Coding Help - Replies (2)

Hi There,
I am very much new to Python and to this forum. I am looking for code help.
I have a SAS code as below and I would like to replicate this ..... More

Print this item

  Heeelp! I'm stuck... Girl is freakin' here :(
Posted by: jenny17 - Jan-08-2020, 01:04 PM - Forum: General Coding Help - Replies (3)

I would like to accomplish the following using Python Lambda function:

- Pull subscription ID from the folder within in the S3 bucket
- Query the..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  LewisByday 42 minutes ago IsmaelSlalk IsmaelSlalk General Codin...
  LhanePulse 4 hours ago Gichardaxora Gichardaxora General Codin...
  data fetching for indian ... Yesterday, 12:05 drakhsin snippsat Web Scraping ...
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
  My goal to be hired worki... 11-21, 06:15 GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... 11-20, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... 11-20, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... 11-20, 04:59 temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... 11-20, 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...
Most views
  The best Prog... 579259
  Tutorial Requ... 512109
  Web Scraping ... 442186
  Newbie with P... 386295
  New Users Int... 379624
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 7390
deanhystad 6915
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
xdimbah Today
IsmaelSlalk Today
Stephenchers Today
alexferrina Yesterday
MattCarters 11-22

User Panel Messages

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