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,953
» Latest member: ShanePulse
» Forum threads: 38,726
» Forum posts: 175,521

Full Statistics

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

Latest Threads
Dichaelmag
Forum: General Coding Help
Last Post: ShanePulse
6 minutes ago
» Replies: 0
» Views: 4
pip install requests does...
Forum: General Coding Help
Last Post: DeaD_EyE
52 minutes ago
» Replies: 10
» Views: 29,128
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:00 PM
» Replies: 4
» Views: 9,295
IBKR Purchasing code issu...
Forum: General Coding Help
Last Post: compuman145
Yesterday, 09:08 AM
» Replies: 0
» Views: 182
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
Yesterday, 03:29 AM
» Replies: 2
» Views: 603
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
Yesterday, 02:36 AM
» Replies: 0
» Views: 205
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
Sep-22-2025, 08:56 PM
» Replies: 9
» Views: 757
403 error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 5,009
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 1,264
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,627

 
  Func Animation not displaying my live graph
Posted by: jotalo - Nov-13-2020, 10:56 PM - Forum: General Coding Help - No Replies

This code is error-free but i don't know what i am not doing correctly that i can't get a live graph. Any help or direction would be appreciated.

..... More

Print this item

  Pickler().fast
Posted by: atombear - Nov-13-2020, 08:04 PM - Forum: General Coding Help - No Replies

I'm working on a codebase that experienced, in the far past, a blowup in memory when trying to pickle certain class instances. It was determined, at t..... More

Print this item

  should I ... go class or stick with functions?
Posted by: 3Pinter - Nov-13-2020, 07:22 PM - Forum: General Coding Help - Replies (4)

Hi guys,

I have a bunch of functions which are 'bundled' in a __init__.py

The functions are basicly way to get standard data from our office. ..... More

Print this item

  ImportError: No module named
Posted by: coltson - Nov-13-2020, 06:43 PM - Forum: General Coding Help - Replies (3)

Hello. I am facing the following error messages:

[error]Traceback (most recent call last):
File "optimizer.py", line 8, in <module>
import ..... More

Print this item

  .gif as avatar?
Posted by: michael1789 - Nov-13-2020, 05:34 PM - Forum: Board - Replies (3)

Is there anyway for one to upload a .gif animation as avatar? If not is it hard to make possible? I want to make my avatar look like it is flying. I..... More

Print this item

  Writing to file in a specific folder
Posted by: evapa8f - Nov-13-2020, 04:41 PM - Forum: General Coding Help - Replies (5)

Having trouble writing to a file in a specific directory. I'm using a loop to capture info from multiple devices so the actual filename is represente..... More

Print this item

  tkinter global variable
Posted by: chalao_adda - Nov-13-2020, 02:51 PM - Forum: GUI - Replies (6)

Hello,

I am trying to read a file from askopenfilename outside the function. I am getting blank file name. What am I doing wrong? Here is my code...... More

Print this item

  How to Filter a Dataframe
Posted by: mfkzolo - Nov-13-2020, 12:59 PM - Forum: Data Science - Replies (4)

I have this data
[quote]Active CreateDate CreateTime UserName S_ID
TRUE 2020-11-03 00:00:00 12:04:29 M001AE8 []
TRUE 2020-11-03 00:00:00 12:04:29 M..... More

Print this item

  Troubling question
Posted by: charlottelol - Nov-13-2020, 10:49 AM - Forum: Homework - Replies (1)

Hello everyone,

I need to find out how to see if the users answer is correct. In this, the answers are randomly generated and the user has to input..... More

Print this item

  matrix convert
Posted by: abbaszandi - Nov-13-2020, 10:13 AM - Forum: General Coding Help - Replies (2)

I want to convert a to b

a=[1,2,3,4,5,...,377]
b=[img]https://s17.picofile.com/file/8413809234/photo_%DB%B2%DB%B0%DB%B2%DB%B0_%DB%B1%DB%B1_%DB%B1..... More

Print this item

  Usage of format()
Posted by: cheers100 - Nov-13-2020, 09:37 AM - Forum: General Coding Help - Replies (2)

Hello,

The following code is about web spider, it is from a python tutorial, [b]but my question is irrelevnat to web spider, but a general question..... More

Print this item

  Do you find this tech stack search helpful?
Posted by: lisajt - Nov-13-2020, 09:00 AM - Forum: Jobs - No Replies

Hi Python Devs!

We have worked very hard in the past years to create a completely new kind of job search to help tech/webdevelopment people to find..... More

Print this item

  I have an index error inline 76 but I write the program in a way that cant reach tha
Posted by: abbaszandi - Nov-13-2020, 07:22 AM - Forum: General Coding Help - Replies (2)

##I have an index error inline 76 but I write the program in a way that cant reach that index
[python]
import numpy as np
h=500+29/2
kc=50
ks=5..... More

Print this item

  Creating list of lists from generator object
Posted by: t4keheart - Nov-13-2020, 04:12 AM - Forum: General Coding Help - Replies (1)

I have a generator object 'results', which when looping through returns a list of dictionaries. I'm trying to convert this into a list of lists, so I ..... More

Print this item

  Waiting and listening
Posted by: test - Nov-13-2020, 03:18 AM - Forum: General Coding Help - Replies (2)

Hello!
I have been writing a program which listens for any keyboard input by the user. If specific combinations are input, certain tasks are performe..... More

Print this item

Question Use radiobuttons to determine a total charge
Posted by: SalsaBeanDip - Nov-13-2020, 02:07 AM - Forum: GUI - Replies (2)

Hello. I am trying to write a GUI program that calculates total ticket prices. It allows the user to select a ticket category from a set of radiobutto..... More

Print this item

  How to Locate an Attribute's Parent Object?
Posted by: calvinsomething - Nov-12-2020, 09:30 PM - Forum: General Coding Help - Replies (5)

Hey! So I'm using Tkinter to make a GUI for Sudoku; just as a project to get better. Throughout my functions I am passing a variable for the sudoku sq..... More

Print this item

  search for more than one word using lambda
Posted by: illmattic - Nov-12-2020, 08:30 PM - Forum: General Coding Help - Replies (2)

Hello,

I have this code:

sga = list(filter(lambda x: 'costs' in x, income.index))
trying to grab all index labels with the wor..... More

Print this item

  frustrating practice
Posted by: taubee - Nov-12-2020, 07:46 PM - Forum: Homework - Replies (9)

Morning,

I'm old and I'm new to python. I am in a course that is using "Starting Out with Python" by Tony Gaddis and I have run into a problem w..... More

Print this item

  cx_Oracle.DatabaseError: Error while trying to retrieve text from error ORA-01804
Posted by: rajeshparadker - Nov-12-2020, 07:34 PM - Forum: General Coding Help - No Replies

Hi All,

I am getting oracle connectivity error while connecting from python command prompt or by using editor. Able to connect to Oracle by using s..... More

Print this item

  Tkinter
Posted by: Tsushida - Nov-12-2020, 06:44 PM - Forum: GUI - Replies (2)

So i just started programming in python in VScode. I successfully installed tkinter, but after trying to create a window vscode ditched me and said th..... More

Print this item

  python pandas
Posted by: andreas30298 - Nov-12-2020, 05:45 PM - Forum: Homework - Replies (2)

Hi

how can i get the dates with my max value?
and after find the avrage value of the list.

then modify the list to only show the days(01.07.2019)w..... More

Print this item

  shuffle a nested list
Posted by: giorgosmarga - Nov-12-2020, 04:09 PM - Forum: General Coding Help - Replies (11)

Hello can someone explain to me why this code doesnt work out
[python]
import random
def randomlist(nums):
emptylist = []
for j in range(..... More

Print this item

  Run some subrocesses at a time
Posted by: OmegaDoom - Nov-12-2020, 03:47 PM - Forum: General Coding Help - No Replies

Hello.

Lets say we need to run 100-1000 subprocesses to do some work. Each subprocess is some kind of app, for example zip.

it is not good to sp..... More

Print this item

  Keep Application running after Python script ends
Posted by: PEGylated_User - Nov-12-2020, 03:27 PM - Forum: General Coding Help - No Replies

I have a program that creates label templates in Microsoft Word and I would like the created word document to remain open after the code runs, but it ..... More

Print this item

  How to use su in a script
Posted by: edlentz - Nov-12-2020, 02:56 PM - Forum: General Coding Help - Replies (3)

I have a script that will run some system commands and they need root level access. I do not want to give the user root access. I want the user to j..... More

Print this item

  How to split dataframe object rows to columns
Posted by: Mekala - Nov-12-2020, 02:31 PM - Forum: General Coding Help - Replies (1)

Hi,
I have below data frame (multiple rows): I want to split rows at dilimiter to columns


[python]df_obj:
20;12;AA;2020/11/05 10:23:13;2020/11/..... More

Print this item

Sad Problem with Unittest
Posted by: mhanusek - Nov-12-2020, 01:48 PM - Forum: General Coding Help - Replies (1)

Hello!
I have a problem with calling method - assertTrue.

My code:
[python]
#!/usr/bin/env python3

import unittest

class MyTest(unittest.T..... More

Print this item

  broadcasting euclidean distance error
Posted by: glennford49 - Nov-12-2020, 11:26 AM - Forum: General Coding Help - Replies (1)

i have this code, i tried to calculate euclidean distance on each element on list1
it throws an error if list1 has 2 elements, any idea on this?
[p..... More

Print this item

  Double click on touch screen issue
Posted by: ATARI_LIVE - Nov-12-2020, 10:36 AM - Forum: General Coding Help - Replies (4)

When I use bind(<Double-Button-1>, run_function) on the TOUCHSCREEN.

the mouse does works but not touchscreen due fat-fingers.

The double click ..... More

Print this item

  Select a value from Dataframe
Posted by: mfkzolo - Nov-12-2020, 09:02 AM - Forum: General Coding Help - Replies (2)

Hi,

How do I select a value from a column in my df, a value that start with a character, small or capital followed by numbers.

This is my code ..... More

Print this item

  Saving text file with a click: valueerror i/o operation on closed file
Posted by: vizier87 - Nov-12-2020, 08:32 AM - Forum: General Coding Help - Replies (5)

Hi guys, first post here. I hope I'm in the right place, since it seems to be more of a Python issue than a PyQt issue.

I've been trying to import ..... More

Print this item

  Flask files running order
Posted by: TomasAm - Nov-12-2020, 08:19 AM - Forum: General Coding Help - No Replies

I have blog.py inside my blog folder for Flask application.

blog.py contains:

from app import app
Inside [b]blo..... More

Print this item

  Can we access instance variable of parent class in child class using inheritance
Posted by: akdube - Nov-12-2020, 08:07 AM - Forum: General Coding Help - Replies (3)

I am pasting my code below:-

[python]
class A:
def __init__(self,i=100):
self.i=100


class B(A):
def __init__(self,j=0): ..... More

Print this item

  Python School Project
Posted by: andreas30298 - Nov-12-2020, 05:31 AM - Forum: Homework - Replies (2)

Woking on a School Project and i'm a bit stuck.
anyone got some suggestion how i can solve this?

with regards Andreas

task:
1: add alle the va..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Dichaelmag 6 minutes ago ShanePulse ShanePulse General Codin...
  pip install requests does... 52 minutes ago misodca DeaD_EyE General Codin...
  Creating a Mindmap progra... Yesterday, 12:00 J_Miller Pedroski55 General Codin...
  IBKR Purchasing code issu... Yesterday, 09:08 compuman145 compuman145 General Codin...
  A coding beginner needs h... Yesterday, 03:29 Littlefish Littlefish General Codin...
  Is the interpreter that c... Yesterday, 02:36 helendamdam helendamdam General Codin...
  Using a For Loop to subtr... 09-22, 20:56 Anunderling deanhystad General Codin...
  403 error 09-20, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
Most views
  The best Prog... 576790
  Tutorial Requ... 499153
  Web Scraping ... 440577
  Newbie with P... 384547
  New Users Int... 368416
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+ 12088
buran 8176
snippsat 7367
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
ShanePulse Today
Jorgecog Today
adamsmith12 Today
Ronny Today
Luciana Today

User Panel Messages

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