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,993
» Latest member: lauren557
» Forum threads: 38,736
» Forum posts: 175,582

Full Statistics

Online Users
There are currently 58 online users.
» 2 Member(s) | 51 Guest(s)
Applebot, Bing, Google, AOL, Axel_Erfurt, snippsat

Latest Threads
print does not open conso...
Forum: General Coding Help
Last Post: Axel_Erfurt
23 minutes ago
» Replies: 4
» Views: 114
Weird failure in Selenium
Forum: General Coding Help
Last Post: Larz60+
7 hours ago
» Replies: 1
» Views: 74
Fred Economic Data API
Forum: Web Scraping & Web Development
Last Post: Trickety
Yesterday, 03:05 PM
» Replies: 3
» Views: 2,539
create ocr to detect lice...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:58 PM
» Replies: 2
» Views: 103
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:56 PM
» Replies: 6
» Views: 225
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Oct-01-2025, 03:05 AM
» Replies: 4
» Views: 2,052
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Sep-30-2025, 07:43 AM
» Replies: 2
» Views: 465
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Sep-30-2025, 12:21 AM
» Replies: 2
» Views: 1,096
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,172
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 854

 
  [Profit Sharing] Ruins of Camelot mmorpg seeking Networking Lead
Posted by: Arthurian - Aug-15-2019, 03:28 PM - Forum: Jobs - Replies (2)

Hello, we are a small indie group working on a Hardcore MMO called Ruins of Camelot. We have a team of six people currently and have a skilled musicia..... More

Print this item

  Why is Python so hard to maintain
Posted by: RMJFlack - Aug-15-2019, 02:33 PM - Forum: News and Discussions - Replies (15)

Computer systems, applications, languages etc evolve. There are updates. That is fine. But Python seems to have a core competence in backwards INco..... More

Print this item

  Tkinter Generate/Delete Shapes with Keyboard Events
Posted by: baseball2201 - Aug-15-2019, 10:13 AM - Forum: GUI - Replies (3)

Hey all,

Brand new to Tkinter. I'm trying to create random shapes with keyboard presses (keydown), and then delete them when the key is let go (key..... More

Print this item

  Can't find a way to solve this nonlinear equation
Posted by: Alex009988 - Aug-15-2019, 10:08 AM - Forum: Data Science - Replies (2)

I want to solve this nonlinear equation. I've tried to use sympy and scipy methods. But I thing something wrong with syntax.
So how to write this cod..... More

Print this item

  Object exchange from django app to client app and vide versa
Posted by: Man_from_India - Aug-15-2019, 04:08 AM - Forum: General Coding Help - Replies (1)

How can I send an object to the django app from client app? And how to capture the object in django app and send back processed object to the client a..... More

Print this item

  [pyagame] Run code more smoothly
Posted by: SheeppOSU - Aug-15-2019, 03:37 AM - Forum: Game Development - Replies (1)

I made an inventory class and was going to test it, but it doesn't draw very well. Because items are dragged around, the background has to be updated ..... More

Print this item

  arguments of functions inside methods
Posted by: Skaperen - Aug-14-2019, 11:52 PM - Forum: News and Discussions - Replies (1)

every method def'd in a class always has a reference to the instance of that class as an added first argument with the caller's arguments pushed to th..... More

Print this item

  time.process_time() is constant
Posted by: redglyph - Aug-14-2019, 07:55 PM - Forum: General Coding Help - Replies (1)

Hello!

I'm usually using time.clock() to measure the time elapsed in a process, to disregard time spent in other processes (so not the 'wall clock'..... More

Print this item

  Alternative ways of plotting confusion matrix
Posted by: amjass12 - Aug-14-2019, 07:19 PM - Forum: Data Science - No Replies

Hi all,

I was wondering if you would be able to offer some advise on alternative ways of plotting confusions matrices. This is not strictly a ques..... More

Print this item

  assignments of function references
Posted by: Skaperen - Aug-14-2019, 06:29 PM - Forum: General Coding Help - Replies (3)

i want to have class attribute names which could otherwise be used as variables be used for function references so i can keep everything for a thread ..... More

Print this item

  Incorrect time format
Posted by: KoSik - Aug-14-2019, 05:30 PM - Forum: General Coding Help - Replies (5)

Hello,
I have a problem with the time format.

Function excerpt:

[python]
format = '%H:%M:%S.%f'
aktual=datetime.datetime.now().time()

try..... More

Print this item

  A question about python in Raspberry
Posted by: Psycopast - Aug-14-2019, 03:54 PM - Forum: General Coding Help - Replies (3)

Good day community! this is my first post and i need to say something before start: I'm not a native English speaker, so, let me say sorry at this mom..... More

Print this item

  How replace Unnamed header column with previous
Posted by: SriMekala - Aug-14-2019, 03:12 PM - Forum: Data Science - Replies (3)

Hi,
I have excel file with merged columns as below:

[python]Category Group Sub_valid
Name Item Value Color Status
Group1 VGT ..... More

Print this item

  Validation checking
Posted by: Help_me_Please - Aug-14-2019, 01:31 PM - Forum: Homework - Replies (25)

Can I please have some help, I am passing in variables correctly and I am trying to check if the column is within the correct table (6 by 6) and I am ..... More

Print this item

  Catch all cookies from any website
Posted by: Chuky - Aug-14-2019, 01:14 PM - Forum: Web Scraping & Web Development - Replies (8)

Hey,

first of all sorry for my bad english but i trials it.

I try to create a cookie scanner that get all cookies (first and third party) from a..... More

Print this item

  How to modify df column
Posted by: SriMekala - Aug-14-2019, 11:54 AM - Forum: Data Science - Replies (1)

I have data in excel and want to modify one column:

[python]Name Design Category Rank
DUT UIK Group2 5
HYT TYAHU Group1 1..... More

Print this item

  Asking for help in my code for a "Guess the number" game.
Posted by: Domz - Aug-14-2019, 09:54 AM - Forum: Homework - Replies (5)

Hey all, I'm pretty new to Python, well new might be an understatement.
I've been tasked to create one of those guess the number games. One of my fri..... More

Print this item

  Bouncing Rectangles
Posted by: headkase - Aug-14-2019, 09:45 AM - Forum: Code sharing - No Replies

[python]import pygame
from pygame import QUIT
from sys import exit
from time import time
from random import randint, choice


class Entity:
..... More

Print this item

  Removing hyphens and adding zeros
Posted by: sidney - Aug-14-2019, 09:18 AM - Forum: Data Science - Replies (3)

What is the meaning of the following code from the Learn Data Analysis with Python book? Can someone elaborate on the first 10-12 lines. Why return s[..... More

Print this item

  FAST algorithm of checkSamecircularList(x, y) without L CircularList ref but find ref
Posted by: lsepolis123 - Aug-14-2019, 07:51 AM - Forum: General Coding Help - No Replies

My book has this exercise:

R-7.6 Suppose that x and y are references to nodes of circularly linked lists,
although not necessarily the same list. ..... More

Print this item

  Operations on indexed variables in loop
Posted by: Fibulavie - Aug-14-2019, 05:36 AM - Forum: General Coding Help - Replies (1)

Hello,
Beginner in Python and having spent about 4 hours in this very simple operation, I now rely on your expertise. I'm used to Javascript and in J..... More

Print this item

  Recording audio to file until no dialogue.
Posted by: diffLocks16 - Aug-14-2019, 04:47 AM - Forum: General Coding Help - Replies (1)

Is there a way in Python that I can call a function to start recording audio to a file, which will then only stop when it can't make out any other wor..... More

Print this item

  simplifying a stack of elifs
Posted by: Skaperen - Aug-14-2019, 04:23 AM - Forum: General Coding Help - Replies (8)

i have a thread function with a role of handling some commands it gets from a queue. there a lot of statement groups like:
[python] elif msg[0] =..... More

Print this item

  modifying variables in local or global space
Posted by: Skaperen - Aug-14-2019, 03:55 AM - Forum: General Coding Help - Replies (2)

you can't modify variables in local space using they dictionary you get from locals() or the reference you can track down from inspect.currentframe()...... More

Print this item

  How can I increment a List item with in a "for in"
Posted by: msteffes - Aug-13-2019, 09:11 PM - Forum: General Coding Help - Replies (4)

This is likely Python 101.

I have searched for a straight forward simple answer to no avail.
How can I increment a list item while inside a "for..... More

Print this item

  Identifying string success flag
Posted by: graham23s - Aug-13-2019, 05:07 PM - Forum: General Coding Help - Replies (4)

Hi Guys,

I have a string of text seperated by a pipe symbol like:

[python]
# a list of flags to look for on success ...
submit_success = "TEXT..... More

Print this item

  can't get rid of '?' within my df!
Posted by: brkolvr - Aug-13-2019, 05:07 PM - Forum: Data Science - Replies (5)

Just gotten back on the laptop after an extended break and can't seem to complete this simple task! I've got a large dataset, and just going about my ..... More

Print this item

  Building a 2D array
Posted by: Help_me_Please - Aug-13-2019, 03:52 PM - Forum: General Coding Help - Replies (4)

I am trying to build a game board as part of my Computer Science A-level NEA, I don't know what I am doing wrong can someone please help and fix my co..... More

Print this item

  Cant's get accurate unbiased variance.
Posted by: Alex009988 - Aug-13-2019, 02:41 PM - Forum: Data Science - Replies (1)

Hello. So that I use that code
[python]
import numpy as np
import math
t=[0.10,0.15,0.16]
Y=10000000; n=56
t1=[0]*n
m=len(t)
t1[0:m-1]=t
s=math.sqrt(Y..... More

Print this item

  'int' object does not support item assignment
Posted by: shane1236 - Aug-13-2019, 12:17 PM - Forum: General Coding Help - Replies (5)

Can someone correct that kind of error?



def new(app):
    app=0
    for i in range(10):
      app[i]=i+1
      print(app)

Print this item

  2D BoardGame Pygame
Posted by: Josh_Python890 - Aug-13-2019, 11:59 AM - Forum: Game Development - Replies (5)

Hi all,

I'm trying to develop a 2D board game using PyGame. I'm new to using pygame though and there doesn't seem to be any easy tools for working ..... More

Print this item

  Looking for App developer. Will pay hourly
Posted by: reviewmonitr - Aug-13-2019, 11:48 AM - Forum: Jobs - Replies (8)

Hi there

I am looking for help building an app.

You would need experience in building an app with a server backend.

thanks.
Adam

Print this item

  How many times it was pressed the button
Posted by: chano - Aug-13-2019, 11:41 AM - Forum: Homework - Replies (4)

Hello,
I have a few buttons and I want to understand how many times they push these buttons, can it write in a file and it send via email this file ..... More

Print this item

  Problem with PySimpleGui
Posted by: apowell - Aug-13-2019, 11:07 AM - Forum: General Coding Help - Replies (6)

Tried to install the PySimpleGui and failed miserably.
First I ran the following code that I copied from the Cookbook
[python]
import PySimpleGUI a..... More

Print this item

  Camera animation to Text file (CINEMA 4D)
Posted by: vbz - Aug-13-2019, 07:39 AM - Forum: General Coding Help - No Replies

I'm trying to find a way to export moving camera data (rotation and position) from cinema 4d to a csv file.
I have found a python script on how to ge..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  print does not open conso... 23 minutes ago Tycho_2025 Axel_Erfurt General Codin...
  Weird failure in Selenium 7 hours ago glestwid Larz60+ General Codin...
  Fred Economic Data API Yesterday, 15:05 warrior42 Trickety Web Scraping ...
  create ocr to detect lice... Yesterday, 13:58 bimosora noisefloor General Codin...
  Parse Markdown / get the ... Yesterday, 13:56 SpongeB0B noisefloor General Codin...
  Error: cannot mix str wit... 10-01, 03:05 ngregistrations Joliekeva General Codin...
  Integer Factorization Too... 09-30, 07:43 fosuwxb buran Code sharing
  My goal to be hired worki... 09-30, 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...
Most views
  The best Prog... 577484
  Tutorial Requ... 501374
  Web Scraping ... 441107
  Newbie with P... 385164
  New Users Int... 369935
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+ 12093
buran 8178
snippsat 7371
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
lauren557 Today
maribita Today
AnalystRobert Today
Safariscampoea Today
DataAnalytics021 Today

User Panel Messages

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