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,977
» Latest member: hoki1881
» Forum threads: 38,732
» Forum posts: 175,563

Full Statistics

Online Users
There are currently 44 online users.
» 0 Member(s) | 38 Guest(s)
Bing, Google, Applebot, Mojeek, AOL

Latest Threads
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
10 hours ago
» Replies: 2
» Views: 230
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Today, 12:21 AM
» Replies: 2
» Views: 862
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 05:45 PM
» Replies: 6
» Views: 909
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 12:59 PM
» Replies: 8
» Views: 601
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 2,950
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,365
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 8,944
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,371
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,283
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,611

 
  Need help to finish the hat on the snowman in this Python drawing
Posted by: soowoosamuel - Apr-10-2019, 04:49 AM - Forum: Homework - Replies (1)

Looking for help, I want to make the hat a traditional top hat with a slimmer rectangle spawning at the center of the black filled fat rectangle atop ..... More

Print this item

  How to correct the programming for KNN
Posted by: vokoyo - Apr-10-2019, 03:29 AM - Forum: Homework - No Replies




I get the answer but the output pictures are wrong - may I know which part on my programming is wrong






[python]

# read in ..... More

Print this item

  In need help to put this code in order
Posted by: lekuru01 - Apr-10-2019, 03:18 AM - Forum: Homework - Replies (4)

write a python functionn GOS_erlang(chanels,capacity) that computes the grade of service for a give number of (interger) channels and (floating point)..... More

Print this item

  Problems with executing .exe file (was .py)
Posted by: SheeppOSU - Apr-10-2019, 02:46 AM - Forum: Game Development - Replies (9)

I turned a .py file into .exe file. It works just fine on python but won't run as a .exe file. I don't know why. When I click on it, it opens up a scr..... More

Print this item

  user inputs in constructing a dictionary
Posted by: Exsul - Apr-10-2019, 01:53 AM - Forum: General Coding Help - Replies (3)

I am making a dictionary, and I called for user input for the key-value combinations, and this was the result:

[python]latin_vocab = {}

latin_vo..... More

Print this item

  How to find the accuracy vs number of neighbours for KNN
Posted by: vokoyo - Apr-09-2019, 11:29 PM - Forum: Homework - Replies (3)

[b]


May I know how to modify my Python programming so that can obtain the accuracy vs number of neighbours as refer to the attached image file -..... More

Print this item

  Claims not declared, but is... why?
Posted by: Ecniv - Apr-09-2019, 10:36 PM - Forum: Web Scraping & Web Development - Replies (5)

Hi

My class which I've imported in the app.py is complaining that the con variable doesn`t exist.

Ok. I get that it thinks the variable doesn`t exis..... More

Print this item

  Cant get my head round the algorithm
Posted by: hshivaraj - Apr-09-2019, 10:04 PM - Forum: General Coding Help - Replies (1)

Hi all.

Wonder anyone here can help to get the algorithm right. I have sorted list of numbers and I need to pair of numbers which add to target or c..... More

Print this item

  adding lists to lists?
Posted by: ivinjjunior - Apr-09-2019, 08:43 PM - Forum: General Coding Help - Replies (5)

hey everyone, i'm new in coding and i really need to create logic to help me in my job..
i am having trouble with creating a way to put lists into a..... More

Print this item

  Getting list inside of a list; how to clean it and retrieve value
Posted by: mrapple2020 - Apr-09-2019, 08:26 PM - Forum: General Coding Help - Replies (5)

When I print output from a dictionary, I get the following output as shown under "NOW LISTING".
to be honest I cannot understand at what point the d..... More

Print this item

  minimalmodbus cant read egister
Posted by: shramang - Apr-09-2019, 08:10 PM - Forum: General Coding Help - No Replies

i am using minimalmodbus to read register 1010 function 3 i am getting the error '\x01\x83\x01\x80ð'. i can see the data in "MODSCAN" software for the..... More

Print this item

  Why is this pointing to the objects
Posted by: hshivaraj - Apr-09-2019, 07:22 PM - Forum: General Coding Help - Replies (6)

Hi all.

I dont quite understand why these two different objects are pointing to the list object? Could anyone please help me understand this?
[py..... More

Print this item

  Beginner want to learn python
Posted by: Keenygp - Apr-09-2019, 06:29 PM - Forum: General Coding Help - Replies (5)

Hi all,
I don't know anything about programming but I am really interested in learning Python. Please can someone recommend reading material about py..... More

Print this item

  what is the doc parameter of property?
Posted by: microphone_head - Apr-09-2019, 06:20 PM - Forum: General Coding Help - Replies (2)

Hi all.

I was doing some light reading and noticed a line in sprite.py file that I didn't totally understand. The lines of code were found in the..... More

Print this item

  Code does not complete
Posted by: sc0pe - Apr-09-2019, 05:07 PM - Forum: General Coding Help - Replies (1)

[python]x = int(input("Enter the number of apples: "))
c = input("what do you want to do with the apple?: ")
if x == 1:
print("got it")
elif x..... More

Print this item

  Add tick labels in healpy.mollview ?
Posted by: BourbonKid67 - Apr-09-2019, 04:49 PM - Forum: Data Science - Replies (4)

Hi !

I have a FITS/Healpix map that I plot using Mollview, like in this link[/u[url=https://python-forum.io/thread-17398.html]..... More

Print this item

  Stackoverflow Developer Survey Results - 2019
Posted by: buran - Apr-09-2019, 04:28 PM - Forum: News and Discussions - Replies (1)

Stackoverflow Developer Survey Results - 2019

[quote]Python, the fastest-growing major p..... More

Print this item

  Fequency of letters with dictionary
Posted by: Jen_Sophia - Apr-09-2019, 04:13 PM - Forum: Homework - Replies (2)

Hello guys! So I have been trying to fix this but I havent made it yet, so if someone knows please give me a hand!

so the instructions are this:
..... More

Print this item

  How to make a program run "online"?
Posted by: DanielTkach - Apr-09-2019, 04:09 PM - Forum: General Coding Help - Replies (2)

Hello group. I started learning Python about a week ago. I have a few years of experience with other languages, mostly Pascal and C#, and I've always ..... More

Print this item

  '<' not supported between instances of 'str' and 'int'
Posted by: jayaherkar - Apr-09-2019, 02:56 PM - Forum: General Coding Help - Replies (1)

[python]
import random

secret = random.randint(1, 99)
guess = 0
tries = 0
print("AHOY! I'm the Dread Pirate Roberts, and I have a secret")
pri..... More

Print this item

  Help with tic tac toe game.
Posted by: ghost0fkarma - Apr-09-2019, 02:42 PM - Forum: Game Development - Replies (2)

[python]import pygame, random


class Player:
def __init__(self):
self.speed = 5
self.tick = 0
self.interval = 30
..... More

Print this item

  How to find the accuracy for Random Forest
Posted by: vokoyo - Apr-09-2019, 02:29 PM - Forum: Homework - Replies (2)

[b]


May I know how to modify my Python programming so that can obtain the accuracy vs number of features as refer to the attached image file -
..... More

Print this item

  plotting inside the loop is not working
Posted by: jenya56 - Apr-09-2019, 02:08 PM - Forum: General Coding Help - Replies (4)

Dear all,
I have this loop and it appears that it does not plot anything when I do that. When I take it outside of the loop, it works just fine. What..... More

Print this item

  How get row index of matching row in column 0
Posted by: Sri - Apr-09-2019, 12:52 PM - Forum: General Coding Help - Replies (7)

Hi,

I have a csv file as below:

[python]inter value,70
time interval[min],20
dose_trigger value,-23


warning_linit1,36
wa..... More

Print this item

  Homework question
Posted by: dmhhfm - Apr-09-2019, 12:43 PM - Forum: Homework - Replies (4)

So I have this assignment for a coursera course I am taking. Here is the assignment:

Write a program that prompts for a file name, then opens that..... More

Print this item

  Making an application with a 3d engine in it
Posted by: moo5e - Apr-09-2019, 12:38 PM - Forum: General Coding Help - Replies (1)

I want to make an application that can visualise data in 3d (3d engine integrated in the application). I prefer using python but I'm open to learning ..... More

Print this item

  3d engine in tkinter
Posted by: moo5e - Apr-09-2019, 12:16 PM - Forum: GUI - Replies (2)

Can tkinter handle a 3d engine and if so what 3d software can I use in unison with tkinter. Would rather use an existing 3d engine than build my own

Print this item

  Dealing with errors in input
Posted by: souprqtpie - Apr-09-2019, 11:55 AM - Forum: Homework - Replies (7)

Hello

I am currently trying to create a small program which takes two numbers as given by the user and tells you if one can be divided by the other.
..... More

Print this item

  Openpyxl - while saving excel file getting error
Posted by: shubhamjainj - Apr-09-2019, 11:11 AM - Forum: General Coding Help - Replies (1)

Vml = fromstring(self.workbook.vba.archive.read(ws.legacy_drawing))
AttributeError: 'Nonetype' object has no attribute 'read'


Getting this error..... More

Print this item

  can i get any xpath on click event?
Posted by: Prince_Bhatia - Apr-09-2019, 10:32 AM - Forum: General Coding Help - Replies (3)

i am trying to create an application where if i click any webpage text i can get xpath of the element?
suppose i click on image and can i get xpath o..... More

Print this item

  Nesting Windows
Posted by: stevsurf - Apr-09-2019, 08:17 AM - Forum: GUI - Replies (1)

I have a Main Window with a button which imports a Second Window.
The Second Window has a Home button which imports the Main Window.
When the Secon..... More

Print this item

  Table Maker Class
Posted by: iMuny - Apr-09-2019, 08:00 AM - Forum: Code sharing - Replies (5)

Hello everyone,

I've recently just started learning Python and programming as a whole and while tinkering with some MySQL and Python i noticed that..... More

Print this item

  Integrate python gui with HDFS
Posted by: sal_saj - Apr-09-2019, 06:53 AM - Forum: GUI - Replies (1)

HEY! i am trying to make a desktop application using Tkinter in which user will have to enter a keyword(or hashtag). python code will fetch data accor..... More

Print this item

  is it zeros or zeroes?
Posted by: Skaperen - Apr-09-2019, 05:38 AM - Forum: Bar - Replies (10)

is it zeros or zeroes? both are not underlined as spelling hints.

Print this item

  adding goto to Python
Posted by: Skaperen - Apr-09-2019, 04:24 AM - Forum: Bar - Replies (16)

goto is one of the fastest computer programming operations around, at least if we don't actually use it. what if Python had a goto statement/keyword?

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Integer Factorization Too... 10 hours ago fosuwxb buran Code sharing
  My goal to be hired worki... Today, 00:21 GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... Yesterday, 17:45 llarkin6 noisefloor General Codin...
  Comparing 2 100GB Drives/... Yesterday, 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...
  pdf file processing: how ... 09-26, 13:14 Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... 09-26, 09:50 P212 Biks News and Disc...
Most views
  The best Prog... 577371
  Tutorial Requ... 500754
  Web Scraping ... 441026
  Newbie with P... 385071
  New Users Int... 369598
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+ 12091
buran 8178
snippsat 7370
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
hoki1881 Today
stephaniehendrix Today
Schirag Today
Jacobjoift Today
sophielane Yesterday

User Panel Messages

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