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,982
» Latest member: kyleconor797
» Forum threads: 38,733
» Forum posts: 175,570

Full Statistics

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

Latest Threads
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: Pedroski55
1 hour ago
» Replies: 5
» Views: 128
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Today, 03:05 AM
» Replies: 4
» Views: 2,026
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Yesterday, 07:43 AM
» Replies: 2
» Views: 437
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Yesterday, 12:21 AM
» Replies: 2
» Views: 1,076
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,140
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 806
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 3,093
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,540
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 9,130
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,586

 
  Call a class method from another (Tk GUI) class?
Posted by: Marbelous - Jan-10-2020, 04:56 PM - Forum: GUI - Replies (3)

I am trying to create a simple timed event class that I can use to trigger repeating events in other programs (e.g.: data logger). I know that since ..... More

Print this item

  cx_freeze frozen executive introduces WinError 10049
Posted by: KipCarter - Jan-10-2020, 03:44 PM - Forum: General Coding Help - Replies (3)

I am building a matching set of utilities to provide text transmission between two computers on the same network.

I started with sample code from a..... More

Print this item

  File name as part of output file name
Posted by: Jeeping_Coder - Jan-10-2020, 02:34 PM - Forum: General Coding Help - Replies (1)

I am very new to Python, and have run into an issue. I am trying to output several different formats of GPS into different KML files. I have my orig..... More

Print this item

  Looping exercise Bacteria growth
Posted by: Ola92 - Jan-10-2020, 11:28 AM - Forum: Homework - Replies (5)

Hi. I am taking a python course(I am a complete beginner) and I am unable to solve one of the assigned exercises. Can someone help me understand how c..... More

Print this item

  Convert XML into DB table
Posted by: Rohit - Jan-10-2020, 08:58 AM - Forum: General Coding Help - Replies (3)

Hi,

I am new to Python and also new to this forum. Please forgive and correct me if you see any posting rules are violated in this post.

I am us..... More

Print this item

  Using Ab Operator in Query Function
Posted by: Chandan - Jan-10-2020, 05:27 AM - Forum: General Coding Help - No Replies

Hi There,
I am practicing the query function using different conditions. However, when I use the below condition I am not getting the accurate output..... More

Print this item

  Rock, Paper, Scissors Game
Posted by: kramon19 - Jan-10-2020, 03:10 AM - Forum: Homework - Replies (2)

Hi everyone,
I am new to python and I am creating a rock, paper, scissors game. I do not get an error in my code, however, when I run it and input ro..... More

Print this item

  test interable if len == 2
Posted by: Skaperen - Jan-10-2020, 01:19 AM - Forum: General Coding Help - Replies (4)

a function gets a likely iterable. how can i test if it really has a len == 2 when it does not support len(), such as a generator? how does [..... More

Print this item

  Where could I get _ctypes module except libffi-dev?
Posted by: Snake - Jan-10-2020, 12:55 AM - Forum: General Coding Help - Replies (7)

I have an issue with Buildozer while trying to build Kivy program for Android, when I run buildozer android debug deploy run it says `no module name..... More

Print this item

  pass value to function with * and/or **
Posted by: Skaperen - Jan-10-2020, 12:45 AM - Forum: News and Discussions - Replies (6)

if i define a function like:

def foo(*boo,**hoo):
    ...
    return (boo,hoo)
then call it while passing a created type that..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Parse Markdown / get the ... 1 hour ago SpongeB0B Pedroski55 General Codin...
  Error: cannot mix str wit... Today, 03:05 ngregistrations Joliekeva General Codin...
  Integer Factorization Too... Yesterday, 07:43 fosuwxb buran Code sharing
  My goal to be hired worki... Yesterday, 00:21 GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... 09-29, 17:45 llarkin6 noisefloor General Codin...
  Comparing 2 100GB Drives/... 09-29, 12:59 tester_V snippsat General Codin...
  Select Python comment (#)... 09-28, 18:39 SpongeB0B tester_V General Codin...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
  Is the interpreter that c... 09-26, 13:17 helendamdam noisefloor General Codin...
Most views
  The best Prog... 577451
  Tutorial Requ... 501052
  Web Scraping ... 441079
  Newbie with P... 385149
  New Users Int... 369751
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+ 12092
buran 8178
snippsat 7371
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
kyleconor797 Today
miriamwilliam Today
Davidkiplimo Today
Joliekeva Today
silversimon2 Yesterday

User Panel Messages

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