Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,282
» Latest member: MattCarters
» Forum threads: 38,792
» Forum posts: 175,871

Full Statistics

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

Latest Threads
data fetching for indian ...
Forum: General Coding Help
Last Post: Pedroski55
1 hour ago
» Replies: 1
» Views: 51
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 41
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,473
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 124
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 50
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,045
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:46 AM
» Replies: 2
» Views: 4,293
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 346
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Nov-19-2025, 05:03 AM
» Replies: 1
» Views: 188
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
Nov-18-2025, 06:47 PM
» Replies: 2
» Views: 248

 
  dict and __dict__
Posted by: cls0724 - Apr-05-2020, 06:24 AM - Forum: General Coding Help - Replies (1)

Here, may i know why when i use

Peter.dict
the following error will occur

[error]Traceback (most recent call last):
File "<st..... More

Print this item

  DeNormalizing data
Posted by: asifali111 - Apr-05-2020, 05:01 AM - Forum: News and Discussions - Replies (1)

Hi all,

I am trying to build a logic for de-normalizing the source based on number of max groups. Can anyone please guide me how to achieve this.
..... More

Print this item

  Vending Machine Project - OOP Issues
Posted by: wiggles - Apr-05-2020, 03:57 AM - Forum: Homework - Replies (2)

Hi,

I have been working on a vending machine project which is outlined below.

After selecting 'b' in the first menu, I am having trouble with ..... More

Print this item

  Name Mashup Program Improvement in Python
Posted by: rhat398 - Apr-04-2020, 11:59 PM - Forum: General Coding Help - Replies (3)

I am learning python and trying to solve different problems i came across this program which is name mashup which is in Get Programming:Learn to code ..... More

Print this item

  pyMySQL - ROW_NUMBER in SQL statement
Posted by: JayCee - Apr-04-2020, 10:05 PM - Forum: General Coding Help - Replies (1)

Hello everyone,

Greetings from Brazil! I'm trying to navigate through a MySQL database using pyMySQL and a GUI form to display the data, but when ..... More

Print this item

  entry filed sum
Posted by: leveex - Apr-04-2020, 09:12 PM - Forum: GUI - Replies (4)

Hi, trying to learn python and have stuck with entry fields.

I am trying to create a button so the user can add an entry field and write the number..... More

Print this item

  Assign the sum of 2 consecutive numbers in a list to a varibale
Posted by: Fenaz - Apr-04-2020, 08:35 PM - Forum: General Coding Help - Replies (3)

[python]
import random

no_questions = int(input("Enter the no of questions "))

questions = []
for i in range(0,no_questions*2):
n = rando..... More

Print this item

  how to make this script work faster
Posted by: dsweb19778 - Apr-04-2020, 08:18 PM - Forum: Code Review - Replies (1)

[python]
def main():

# Email Filter
# By DsWeb19778

gmail, yahoo, hotmail, outlook, mailru, web = "@gmail", "@yahoo", "@hotmail", ..... More

Print this item

  TkInter Binding Buttons
Posted by: ifigazsi - Apr-04-2020, 05:10 PM - Forum: GUI - Replies (5)

Hi! I wanted to get if a key(Enter/F1/BTN1) was pressed, but it is not working as i thought. :(
So the desired outcome:


[python]
import tkinte..... More

Print this item

  How to display a pdf file
Posted by: arbiel - Apr-04-2020, 04:31 PM - Forum: General Coding Help - Replies (3)

Hi

I'm migrating a bash script I coded, which reads pdf files (pages of a ancient greek to french dictionnary) and displays them to the user. I tri..... More

Print this item

  What is the mechanism of numpy function returning pandas object?
Posted by: Ibaraki - Apr-04-2020, 03:46 PM - Forum: Data Science - Replies (2)

Numpy's isnan() can generate the result as Series class of pandas, although numpy does not have dependency on pandas and ..... More

Print this item

  Dynamic links with selenium
Posted by: EvilDodo - Apr-04-2020, 02:53 PM - Forum: Web Scraping & Web Development - Replies (1)

https://temp-mail.org . I want to make the program click an email (from google) so the program can click a link in the mail. The email links are uniqu..... More

Print this item

  Printing k-means clustered clusters
Posted by: ottabe_h - Apr-04-2020, 02:52 PM - Forum: Homework - Replies (3)

I'm trying to print the number of the cluster and the words inside the cluster.
Out put should be:
Cluster 1: dog run walk
Cluster 2: three four
..... More

Print this item

  Find subsequent error relationships between diagnostic events
Posted by: vanny - Apr-04-2020, 02:42 PM - Forum: Data Science - Replies (1)

Hello everybody,

this is my first entry in a forum. If something is missing, just let me know. If this is not the right place to ask this, please l..... More

Print this item

  Hi, need help with class, object
Posted by: Houston222 - Apr-04-2020, 01:47 PM - Forum: General Coding Help - Replies (1)

[python]class MyRouter(object):
"This is a class that defines the aspects of a router"
def _init_(self, routername, model, serialno, ios):
se..... More

Print this item

  os.remove is not working
Posted by: solomon - Apr-04-2020, 01:13 PM - Forum: General Coding Help - Replies (1)

I tried to split a pdf file (e.g. called xyz.pdf) which is roughly 20 pages and I succeeded too. After I did the splitting, I try to delete the origi..... More

Print this item

  [Help] inhe
Posted by: Mike919 - Apr-04-2020, 11:59 AM - Forum: General Coding Help - Replies (4)

Hi All ,

I am new to Python and i have written the below code where a child class inherits from the parent class
but when i call any method of..... More

Print this item

  python program that calculat grades of students
Posted by: biligorm - Apr-04-2020, 09:15 AM - Forum: Homework - Replies (3)

hello i need help .. i want to code python program that calculat grades of students from 2 lists.

first list is final exam grade. second list is ho..... More

Print this item

  access subitem in tkinter Menu
Posted by: Phraya - Apr-04-2020, 08:11 AM - Forum: GUI - Replies (2)

I like to access a subitem e.g. 'Save' in my tkinter Menu (see code below) to activate or deactivate it.
I can access and deactivate all "[i]first le..... More

Print this item

  Calling an class attribute via a separate attribute in input
Posted by: wiggles - Apr-04-2020, 07:50 AM - Forum: Homework - Replies (7)

Hi, am trying to call a class attribute but am unable to get it to work. When the user inputs the Item.code into a float input, I want to displ..... More

Print this item

  Simulation of Text to speech (without using mic) to Voice recognition suported hardwa
Posted by: Helloworld20 - Apr-04-2020, 06:36 AM - Forum: General Coding Help - Replies (2)

how can we simulate the text to speech by script without using Mic , over hardware .(hardware is communicated by pc through android debug bridge, adb)..... More

Print this item

  Use Python to start/stop a server service via a webform?
Posted by: oakleaf2001 - Apr-04-2020, 06:14 AM - Forum: General Coding Help - No Replies

I have a couple of Debian servers with webmin on them. For security, I'd like to keep the webmin service off, but allow some users to turn the servic..... More

Print this item

  converting dataframe to int numpy array
Posted by: glennford49 - Apr-04-2020, 12:46 AM - Forum: Data Science - Replies (1)

i have a text file with 3 lines :
1,2,3
1,2,4
1,2,5


[python]import pandas as pd
import numpy as np
df= pd.read_fwf("sample.txt",header =None..... More

Print this item

  IDLE is not opening python3.8
Posted by: sweateraholic - Apr-03-2020, 11:36 PM - Forum: General Coding Help - Replies (1)

I installed Python3.8 on a LINUX Mint OS in the terminal, but IDLE still opens Python version 3.6.9. How do I get IDLE to open Python 3.8. I can open ..... More

Print this item

  Does IDLE have interface elements available for assistive technologies (AT-SPI2)?
Posted by: miguelteixeira - Apr-03-2020, 11:12 PM - Forum: GUI - No Replies

I have code that uses pyatspi to get events from programs interfaces, however, it doesn't capture anything from IDLE. Is IDLE not accessible through a..... More

Print this item

  Pyshark filter message
Posted by: ziv_t - Apr-03-2020, 10:21 PM - Forum: Networking - No Replies

Hi ,

Im using:
[python]file_capture = pyshark.FileCapture(file_name,display_filter=display_filter, only_summaries=False,
..... More

Print this item

  TypeError list indices must be integers or slices not str
Posted by: Nuwan16 - Apr-03-2020, 10:10 PM - Forum: Web Scraping & Web Development - Replies (4)

when i try this

[python]import scrapy
from extruct.w3cmicrodata import MicrodataExtractor

class AppleSpider(scrapy.Spider):
name =..... More

Print this item

  RockPaperScissor program while loop malfunction
Posted by: tonyliang19 - Apr-03-2020, 09:45 PM - Forum: Homework - Replies (3)

[python]
import random
def introduction():
intro = "Welcome to the game of Rock, Paper, Scissors" + "\n" "This is a final project created by the A..... More

Print this item

  Building a script to check size of file upon creation
Posted by: mightyn00b - Apr-03-2020, 08:31 PM - Forum: General Coding Help - Replies (2)

Greetings, I built a script that checks the size of a file upon creation, but the value is definitely inaccurate (the file is not empty and thus shoul..... More

Print this item

  Django finance tracker
Posted by: mkb3112 - Apr-03-2020, 08:13 PM - Forum: Web Scraping & Web Development - Replies (1)

I would love to have feedback on my idea. Thanks in advance :)

First of all: Im relatively new to Python and Programming in general. I did a lot of..... More

Print this item

  Get list of Video Device in python on Windows machine
Posted by: Michal - Apr-03-2020, 06:40 PM - Forum: General Coding Help - Replies (1)

I am working on a software, where an USB video device is used. I use [python]cv2.VideoCapture()[python] function from the openCV library in the softwa..... More

Print this item

  Help removing asterisk item in a nested list.
Posted by: bmcguire - Apr-03-2020, 06:00 PM - Forum: General Coding Help - Replies (3)

I have a script that successfully accesses a network switch and retrieves a list of vlans and associated ports.
The live ports have an asterisk at th..... More

Print this item

  TypeError: can't multiply sequence by non-int of type 'float'
Posted by: DimosG - Apr-03-2020, 05:58 PM - Forum: General Coding Help - Replies (3)

Hi guys I'm having a problem with an assignment in my class we are now on using fullmatrix and sparce and I get this error in my code :

[python]cl..... More

Print this item

  How to add multiple frames to main window
Posted by: Dandy_Don - Apr-03-2020, 05:43 PM - Forum: GUI - Replies (13)

I am stumped. I can't figure out how to add multiple frames to the main window in a GUI....

I have a system that uses multiple winches to raise/lo..... More

Print this item

  Code stops after 20min+ with no output
Posted by: JacobK - Apr-03-2020, 03:14 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi,

I'm trying to get the 'src' from 500 profile pictures on Transfermarkt. I've managed to get the URL:s for every player in a list, but when I'm ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  data fetching for indian ... 1 hour ago drakhsin Pedroski55 General Codin...
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
  My goal to be hired worki... 11-21, 06:15 GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... 11-20, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... 11-20, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... 11-20, 04:59 temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... 11-20, 04:46 Barber532 SledgeNE Game Developm...
  Graph Interpolate Difficu... 11-19, 20:34 Tuurbo46 deanhystad General Codin...
  link variable to exc bloc... 11-19, 05:03 Astrobert Gribouillis General Codin...
  PyQt6 QWidgets and system... 11-18, 18:47 stevecoh1 Axel_Erfurt GUI
  best way to learn python 11-18, 16:13 dutch mamta25 News and Disc...
Most views
  The best Prog... 579238
  Tutorial Requ... 512069
  Web Scraping ... 442173
  Newbie with P... 386287
  New Users Int... 379424
Most reputation
buran 581
snippsat 511
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12109
buran 8196
snippsat 7389
deanhystad 6915
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
MattCarters Yesterday
drakhsin Yesterday
MileHigh303 11-21
ndx101 11-21
OtiliaBecker 11-21

User Panel Messages

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