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,279
» Latest member: ndx101
» Forum threads: 38,790
» Forum posts: 175,868

Full Statistics

Online Users
There are currently 67 online users.
» 0 Member(s) | 65 Guest(s)
Bing, Google

Latest Threads
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
5 hours ago
» Replies: 4
» Views: 1,449
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Yesterday, 02:10 PM
» Replies: 2
» Views: 96
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Yesterday, 06:48 AM
» Replies: 0
» Views: 34
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Yesterday, 04:59 AM
» Replies: 11
» Views: 6,005
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Yesterday, 04:46 AM
» Replies: 2
» Views: 4,284
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 302
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Nov-19-2025, 05:03 AM
» Replies: 1
» Views: 149
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
Nov-18-2025, 06:47 PM
» Replies: 2
» Views: 211
best way to learn python
Forum: News and Discussions
Last Post: mamta25
Nov-18-2025, 04:13 PM
» Replies: 5
» Views: 3,116
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
Nov-17-2025, 11:47 AM
» Replies: 4
» Views: 257

 
  frequency of largest number group
Posted by: anshumanmuj - Jun-22-2020, 04:14 AM - Forum: General Coding Help - Replies (5)

Hello,

i have a list e.g

a=[112211121112222121122111]
i want to find the frequency of the largest group of '1' and '2'

e...... More

Print this item

  Printing images from a list
Posted by: Heyjoe - Jun-21-2020, 10:55 PM - Forum: General Coding Help - Replies (4)

I am just starting to learn Python. I have written this simple program to print the employee number, employee name and a picture of the employee by g..... More

Print this item

  error zomato scraping data
Posted by: syxzetenz - Jun-21-2020, 10:09 PM - Forum: Web Scraping & Web Development - Replies (3)

hey, i just learned about zomato data scraping. then I practice using one of the codes on github.

[python]
import requests
import csv

with ope..... More

Print this item

  Python, PySide2 and Qt Designer - Toggle Menu / Burguer Menu Animated
Posted by: Wanderson - Jun-21-2020, 08:24 PM - Forum: Tutorial Requests and Submissions - No Replies



A simple project showing how to make an animated menu using Python, Qt Designer ..... More

Print this item

  Tried to create a function in a Datacamp course - why a is not equal to x_copy?
Posted by: danlin123 - Jun-21-2020, 08:12 PM - Forum: General Coding Help - Replies (1)

Can you run this and tell why a is not equal to x_copy?

[python] #Define x,y and swap_inds
x = np.array([1, 2, 3, 4])
y = np.array([4,..... More

Print this item

  Please Help with My First Python Attempt
Posted by: saigwe - Jun-21-2020, 06:29 PM - Forum: Homework - Replies (2)

Google PlaystoreDESCRIPTION
Objective: Make a model to ..... More

Print this item

  Binning data to files
Posted by: Kappel - Jun-21-2020, 06:04 PM - Forum: Data Science - Replies (4)

Hi,
I am trying to develop a Power Curve / Algorithm that can give me a "Possible Max Power" signal when the Solar Panels on my roof are scaled-down..... More

Print this item

  Code errors
Posted by: rhyjom - Jun-21-2020, 04:50 PM - Forum: General Coding Help - No Replies

I have the following Python Script. This is to fetch data from a JSON file.
This JSON file is fetched from Sentinel using API Calls (URL) and APID-u..... More

Print this item

  Need help with this homework for a course ASAP...need solution for completion.
Posted by: SP04123 - Jun-21-2020, 12:29 PM - Forum: Homework - Replies (8)

[b]Hi...I need help for the following task based on classification in python. It is part of an online course and the task details allow me to take hel..... More

Print this item

  Increasing speed while a button is held down?
Posted by: Reldaing - Jun-21-2020, 11:36 AM - Forum: Game Development - Replies (2)

Hi, I'm currently making a game on Pygame, and I want the rectangle to move 40 by 40 while the button is held,and faster and faster while it's pressed..... More

Print this item

  mdo_import_help
Posted by: Mirabelle1998 - Jun-21-2020, 09:27 AM - Forum: General Coding Help - Replies (6)

Hi, all,

I'm a new user, also a python newbie,
hoping to learn here from the wisdom and
experience of other members.

Now, anyone is familiar..... More

Print this item

  PostgreSQL psycopg2.errors.DuplicateColumn: column specified more than once
Posted by: rajnish_nationfirst - Jun-21-2020, 07:40 AM - Forum: General Coding Help - Replies (2)

I am creating dynamically table in PostgreSQL using psycopg2 by passing the below 2 strings as column names:

[inline]'BAF7_X_X_During_soaking-__Tem..... More

Print this item

  Is Python useful for creating a textbook?
Posted by: iwue897s - Jun-21-2020, 06:14 AM - Forum: General Coding Help - Replies (1)

Hi,

I'd like to:

extract the text of a manual which is in PDF file in a minimum of steps and errors of recognition;
add sentence-by-sentence c..... More

Print this item

  lists Name Address Phone
Posted by: Heyjoe - Jun-21-2020, 12:20 AM - Forum: General Coding Help - Replies (2)

Hello all,

I reviewed a couple online courses in Python and wrote a few short programs. So I am very new to Python

As far as lists know. I kno..... More

Print this item

  How do I get attribute XPATHs list ?
Posted by: MDRI - Jun-20-2020, 10:26 PM - Forum: General Coding Help - Replies (3)

How do I get attribute XPATHs list ?
======================================

Thanks for reviewing my 1st thread in this forum.

I am trying to l..... More

Print this item

  Robots! (A game using tkinter)
Posted by: GOTO10 - Jun-20-2020, 08:50 PM - Forum: Code Review - Replies (6)

Hi Python Friends!

This is my homage to (ripoff of) the classic computer game Chase tha..... More

Print this item

  Temporarily storing the value of a function
Posted by: Men - Jun-20-2020, 08:45 PM - Forum: General Coding Help - Replies (6)

Hello everyone,

I'm new here and a newbie to python, my heart is not on my sleeve so whatever comments made i'm cool with it.

What I'm trying to..... More

Print this item

  unique option for sorting?
Posted by: Skaperen - Jun-20-2020, 07:47 PM - Forum: News and Discussions - Replies (1)

is there a way to get the effect of a unique option for sorted() or list.sort() in order to eliminate duplica..... More

Print this item

  Remove elements from lists
Posted by: leemao - Jun-20-2020, 06:58 PM - Forum: General Coding Help - Replies (4)

Hello,

I have some lists:
sp_0 = [1, 0, 3, 395, 399]
sp_1 = [1, 96, 11, 398]
sp_2 = [1, 0, 3, 10, 397]
sp_3 = [1, 0, 96, 130, 396]
sp_4 = [1, ..... More

Print this item

  How to show text in window?
Posted by: wxnerd - Jun-20-2020, 03:23 PM - Forum: GUI - Replies (4)

Hello,
I am looking for help having the text that outputs on the Command Prompt to show on the black box on this program. Any ideas on how to make th..... More

Print this item

  really need assistance with this assignment ASAP due tomorrow
Posted by: mohamedhadi02 - Jun-20-2020, 03:22 PM - Forum: Homework - Replies (8)

you know when you walk in to a hospital or a bank you need to take a ticket and wait until you hear your ticket number in the speaker and the office n..... More

Print this item

  Alternative to dynamic variable names
Posted by: catosp - Jun-20-2020, 12:31 PM - Forum: General Coding Help - Replies (13)

Hello !

This is a clasical example of pyvisa program:
[python]
import pyvisa
rm = pyvisa.ResourceManager()
rm.list_resources()
('ASRL1::INSTR', 'ASRL..... More

Print this item

  Can tkinter monitor dictionary
Posted by: personalt - Jun-20-2020, 12:09 PM - Forum: GUI - Replies (6)

I am new to tkinter and was wondering if there is a way to add a simple block of code to monitor the contents of a dictionary and update a widget when..... More

Print this item

  opening python from the command line takes a long time to load?
Posted by: abdulkaderanwar - Jun-20-2020, 11:24 AM - Forum: News and Discussions - Replies (4)

Hi there,

When i try to open python from the command line, taking long time to load the IDE. Even if i run the with python <prog.py> taking time to..... More

Print this item

  Problem with a 'break' statement.
Posted by: christopher3786 - Jun-20-2020, 07:13 AM - Forum: General Coding Help - Replies (3)

I have indented and have tried moving the 'break' statement around, but I keep receiving this error. What am I doing wrong? Thank you!

[python]pr..... More

Print this item

  403 Forbidden Error
Posted by: Evil_Patrick - Jun-20-2020, 06:19 AM - Forum: Web Scraping & Web Development - Replies (1)

How to avoid this error while crawling any website?

[python]

from bs4 import BeautifulSoup
import requests

source = requests.get("https://ww..... More

Print this item

  sys.excepthook = handle_exception not invoket or trigeret
Posted by: umen - Jun-20-2020, 06:04 AM - Forum: General Coding Help - Replies (3)

i have this simple flask app :

[python] def handle_exception(exc_type, exc_value, exc_traceback):
print("Hello")

dd = "test"..... More

Print this item

  Help needed, stuck at the final output
Posted by: extricate - Jun-20-2020, 05:22 AM - Forum: Homework - No Replies

Hi,

I've created this code, whereby, if i type "quit", it will return "Goodbye" but in this case, it returns twice. Any hint on how do I make it to..... More

Print this item

  Where ask for recommandation (books)
Posted by: SpongeB0B - Jun-20-2020, 05:12 AM - Forum: Board - Replies (2)

Hi everyone,

I would like to ask the community for recommendations for book [and online tutorial]

But I don't know where to post it :/

I saw..... More

Print this item

  Help with a random number generator
Posted by: dpcalder - Jun-20-2020, 03:32 AM - Forum: General Coding Help - Replies (2)

I'm interested in designing a script for a random number generator like this:

https://www.programiz.com/python-program...dom-number
..... More

Print this item

  Multiprocessing - low CPU usage when more than 2 cores
Posted by: medatib531 - Jun-20-2020, 03:25 AM - Forum: General Coding Help - No Replies

Hello,
I'm trying to understand how multiprocessing-multithreading works. Suppose I have the following code (which is basically the idea behind minin..... More

Print this item

  python on a ternary computer
Posted by: Skaperen - Jun-20-2020, 02:21 AM - Forum: News and Discussions - No Replies

if python were ported to a ternary computer, would bool still be limited to just 2 values? would any data type represent the smallest memory u..... More

Print this item

  superclass and super()
Posted by: grkiran2011 - Jun-19-2020, 11:55 PM - Forum: General Coding Help - Replies (1)

Hi Viewer,

I have two questions related to inheritance:

1. Let's say I have a class A and another class B which is inheriting A. So B is the su..... More

Print this item

  targeting the CLI
Posted by: yapp - Jun-19-2020, 11:51 PM - Forum: General Coding Help - Replies (1)

So I'm newer to python and could not find this answer anywhere (or the answer was too technical for me to recognize it as an answer). I want to know i..... More

Print this item

  Trying to create a conditional with a username
Posted by: Realen - Jun-19-2020, 11:49 PM - Forum: General Coding Help - Replies (2)

hi guys ~

i need help trying to code a name question but im trying to repeat the "enter your name" if the user just press enter without type nothing
..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  My goal to be hired worki... 5 hours ago GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... Yesterday, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... Yesterday, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... Yesterday, 04:59 temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... Yesterday, 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...
  [SOLVED] Access keys and ... 11-17, 11:47 Winfried Winfried General Codin...
  PermissionError: [Errno 1... 11-17, 08:44 Tuurbo46 Tuurbo46 GUI
Most views
  The best Prog... 579191
  Tutorial Requ... 511923
  Web Scraping ... 442141
  Newbie with P... 386224
  New Users Int... 379146
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
ndx101 Today
OtiliaBecker Today
NAGASOWMYAGUNDU Yesterday
shipa1autotransport Yesterday
eastnoob 11-19

User Panel Messages

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