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

Full Statistics

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

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

 
  Guessing Game does not work
Posted by: the_entrepreneur - Apr-20-2019, 02:30 AM - Forum: General Coding Help - Replies (3)

i'm totally new to Python and I've been watching YouTube videos to get started with the language. In one of the videos, it showed us how to build a g..... More

Print this item

  Adding a single player mode to my wxOthello game
Posted by: keames - Apr-20-2019, 02:06 AM - Forum: Game Development - Replies (29)

Below is the source code to an Othello game I've written for my mother. I would like to add a single player game mode to this game but I know next to ..... More

Print this item

  TypeError: object of type 'NoneType' has no len() - what do it mean?
Posted by: leviathan54 - Apr-20-2019, 01:10 AM - Forum: General Coding Help - Replies (4)

note: i have another forum topic going with the same project. I've whited out a few lines to I can continue to practice until i resolve the other foru..... More

Print this item

  ValueError: invalid literal for int() with base 10: ''
Posted by: ivinjjunior - Apr-20-2019, 12:43 AM - Forum: General Coding Help - Replies (6)

Hello everyone, here again..

i am getting a problem with a part of my coding
[python]numero = int(input('informe o pedido\n:'))
pedido = open(f'P..... More

Print this item

  this weekend's python class assignment
Posted by: Skaperen - Apr-20-2019, 12:10 AM - Forum: Bar - Replies (2)

this weekend's python class assignment:

a command that takes a number (or more than one of them) and determines an expression consisting of a sum o..... More

Print this item

  [split] Please advise how to write this program
Posted by: Rmasson - Apr-19-2019, 11:02 PM - Forum: Homework - Replies (4)

Hi guys,

Please advise how to write this program.... I’m new to this. TIA?

Stage 1: Data Entry

Write a program which requests that requests..... More

Print this item

  Streaming to website instead of Window OpenCV
Posted by: SDGRIFFUSW - Apr-19-2019, 09:37 PM - Forum: General Coding Help - Replies (1)

[python]#TEST PROGRAM
# import the necessary packages
from __future__ import print_function
from sklearn.cluster import DBSCAN
import matplotlib.p..... More

Print this item

  Data Visualization
Posted by: baehs89 - Apr-19-2019, 08:32 PM - Forum: Data Science - Replies (2)

Hi,

I'm wondering if there is any framework or useful libraries for creating data visualization videos like below..

[video=youtube]https://www...... More

Print this item

  Final df to csv
Posted by: HierroDuc1 - Apr-19-2019, 08:27 PM - Forum: Data Science - Replies (1)

I'm having trouble saving the data-frame as a CSV.

[python]
>>> print(len(df))
221
>>> final_df = df.sort_values('popularity', ascending=False)..... More

Print this item

  Newton Fractal
Posted by: sarasantos - Apr-19-2019, 08:11 PM - Forum: General Coding Help - Replies (1)

hi there, I need an algorithm for x^3-1 with Newton's method and tha end have show a fractal. Can someone help me?

Print this item

  strange string
Posted by: Skaperen - Apr-19-2019, 08:01 PM - Forum: General Coding Help - Replies (3)

i've got some code in a big function near the end:[code] ...
doc_str = getattr(function,'__doc__',None)
print(len(doc_str),'doc_str =',re..... More

Print this item

  fasterconvergence
Posted by: mcgrim - Apr-19-2019, 07:24 PM - Forum: Data Science - Replies (15)

I am trying to achieve a faster convergence of the arithmetic-geometric mean.
The first part of the code (general convergence) works fine but the seco..... More

Print this item

  Library for graphic Gantt chart
Posted by: Aregmax - Apr-19-2019, 06:01 PM - Forum: GUI - Replies (1)

Hello
Which library should I learn/check first to create graphical app looking like gantt chart? It schould have drag and drop functionalities Someth..... More

Print this item

  PermissionError: [Errno 13] Permission denied: error
Posted by: leviathan54 - Apr-19-2019, 04:20 PM - Forum: General Coding Help - Replies (2)

I know there is a few discussion PermissionError: [Errno 13] Permission denied: error in the forums but must admit I don't understand it.

I'm tryin..... More

Print this item

  Spotipy Help
Posted by: HierroDuc1 - Apr-19-2019, 02:05 PM - Forum: General Coding Help - Replies (4)

Hello! I'm using Spotipy to try to get some data on a specific artist. I'm following the instructions on this link (https://medium.com/@RareLoot/extra..... More

Print this item

  Using randomly generated lists
Posted by: souprqtpie - Apr-19-2019, 10:38 AM - Forum: Homework - Replies (3)

Hello

I am currently writing a piece of code that creates a list from the numbers that 2 other lists have in common (excluding duplicates).
It was..... More

Print this item

  Make bash call my own Python modules
Posted by: Pedroski55 - Apr-19-2019, 08:30 AM - Forum: General Coding Help - Replies (10)

I have a little homework webpage. I'm trying to automate the production of the webpage each week.

I know very little about this. Wednesday I asked ..... More

Print this item

  vpython arrows
Posted by: rose - Apr-19-2019, 06:07 AM - Forum: Homework - Replies (1)

I want to define the endpoint of one arrow in vpython so that I position another arrow there (creating two linkages). How can I do that? Do I need to ..... More

Print this item

  Help with list thing please
Posted by: Yeyzon - Apr-19-2019, 04:38 AM - Forum: General Coding Help - Replies (1)

So I'm trying to get both of the ["name"] in this list and have them put into a txt file

[python][{'id': 2124447617, 'name': 'Welcome To The Genera..... More

Print this item

  Unicode identifiers
Posted by: Skaperen - Apr-19-2019, 03:31 AM - Forum: Bar - Replies (2)

i found a total of 112333 Unicode characters, counting ASCII, that are valid for identifiers, according to str.isidentifier().


only..... More

Print this item

  How can I only receive data from selected serial numbers
Posted by: MasterCATZ - Apr-19-2019, 01:28 AM - Forum: General Coding Help - Replies (7)

How can I only receive data from selected serial numbers
or alternatively add a list of serial numbers to exclude ?
ie)"serialNumber": "121718037628..... More

Print this item

  Issues with matplotlib.pyplot
Posted by: schniefen - Apr-19-2019, 12:18 AM - Forum: Homework - Replies (2)

I'm plotting different sets of data onto the same plot, but would like to adjust the y-axis to display powers of ten, from 10-19 to 10[sup]..... More

Print this item

  Indentation
Posted by: Truman - Apr-19-2019, 12:01 AM - Forum: General Coding Help - Replies (16)

I avoid opening a new thread for indentation problem but I just don't get what is wrong here.

[python]
import random
random.seed()

def rollDie():
..... More

Print this item

  300-600usd into a week: SDL2 Queue Management System Rendering Fonts and Texts
Posted by: matteoraggi - Apr-18-2019, 10:59 PM - Forum: Jobs - Replies (1)

SDL2 Queue Management System Rendering Fonts and Texts on on or multiple displays
Payment: 300-600usd at the end of the work (better if done into a w..... More

Print this item

  read write
Posted by: nuncio - Apr-18-2019, 09:10 PM - Forum: General Coding Help - Replies (2)

[python]
def some_condition(line):
return "ddd" in line

with open('testin.csv') as infile:
for line in infile:
if some_conditio..... More

Print this item

  Converting to exe problems
Posted by: francisco_neves2020 - Apr-18-2019, 08:59 PM - Forum: General Coding Help - Replies (12)

Hi, If someone know what this problem is, any help would be appreciated, i've tried pyw files, py files, one file, one directory, with /. for multiple..... More

Print this item

  Polishing an Othello game I wrote in wx
Posted by: keames - Apr-18-2019, 08:48 PM - Forum: GUI - Replies (8)

I took the advice of a fellow forum member and converted an Othello game I had written for my mother to run in wxPython instead of tkinter. I'd had ab..... More

Print this item

  Basic Python 3 Win 10 Search Txt to File Newbie
Posted by: SnakeTyro - Apr-18-2019, 08:47 PM - Forum: General Coding Help - Replies (6)

Hello,
First post, but have spent hours online trying to get first usable program other than "Hello World" to work. All posted solutions found to ha..... More

Print this item

  Converting complex codebase from 2.7 to 3.5
Posted by: rlgoodman - Apr-18-2019, 08:11 PM - Forum: General Coding Help - Replies (3)

Hello smart Python people,

I have been working with this code for about 12 years now and we are finally getting around to converting to Python 3.5 ..... More

Print this item

  Create a function to find words of certain length
Posted by: ag4g - Apr-18-2019, 06:18 PM - Forum: General Coding Help - Replies (2)

I'm trying to create a program that reads a txt file and gives me an output of the number of times a word of length x (lets say 5) or longer is used. ..... More

Print this item

  Simplifying a short code
Posted by: schniefen - Apr-18-2019, 04:11 PM - Forum: Homework - Replies (4)

I'm working on simplifying a part of a function. d_n actually represents a double sequence, call it d_ki, where both ind..... More

Print this item

  CPython: Knowing when the interpreter expects more input
Posted by: b0bh00d - Apr-18-2019, 03:57 PM - Forum: General Coding Help - Replies (1)

I have embedded Python (currently 2.7.16).

After using Py_CompileString() to build user-entered Python code and then checking for errors, I use PyE..... More

Print this item

  Parameters for function in bind()
Posted by: kom2 - Apr-18-2019, 03:53 PM - Forum: General Coding Help - Replies (1)

Hello,

self.canvas.bind("<B1-Motion>", self.move

I would like to call this function (self.move) also with some parameters, but I'm not sure, how..... More

Print this item

  Free courses on Python! Need your review and guidance to polish it
Posted by: sumitavobiswas - Apr-18-2019, 03:22 PM - Forum: News and Discussions - Replies (2)

The course link is

link removed(False advertisement, its not free)

Its free, so please enroll and provide your review

Print this item

  How do I add more balls to basic Pong game?
Posted by: JUtah - Apr-18-2019, 03:15 PM - Forum: Game Development - Replies (2)

I am currently struggling through a class and have an EXTREMELY LIMITED understanding of what I am doing thus for so any detailed help (layman terms p..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Integer Factorization Too... Today, 07:43 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... 577395
  Tutorial Requ... 500813
  Web Scraping ... 441045
  Newbie with P... 385100
  New Users Int... 369632
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
silversimon2 Today
alissapena8 Today
hoki1881 Today
stephaniehendrix Today
Schirag Today

User Panel Messages

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