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,288
» Latest member: EmilyCarter
» Forum threads: 38,793
» Forum posts: 175,876

Full Statistics

Online Users
There are currently 39 online users.
» 1 Member(s) | 34 Guest(s)
Google, Bing, Apple, lovedeep

Latest Threads
exchanges
Forum: Bar
Last Post: EmilyCarter
40 minutes ago
» Replies: 0
» Views: 2
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 12:05 PM
» Replies: 5
» Views: 138
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 53
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,486
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 150
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 66
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,078
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:46 AM
» Replies: 2
» Views: 4,302
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 383
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Nov-19-2025, 05:03 AM
» Replies: 1
» Views: 219

 
  How to get the probability density function of my data set
Posted by: jpython - Dec-04-2019, 08:45 AM - Forum: Data Science - Replies (1)

Hi,

This is my first post here so please be kind to me Smile

I have a data set that is a time-series of stock returns. I am able to plot th..... More

Print this item

  pyromaniacs
Posted by: Skaperen - Dec-04-2019, 08:20 AM - Forum: Bar - Replies (1)

should i register pyromaniacs.org? it appears to be available.

Print this item

  trouble Navigating aACN[E1.31] Code Base Module
Posted by: geese780 - Dec-04-2019, 06:40 AM - Forum: Networking - Replies (6)

Hey Everyone,

I hope this finds y'all well. I'm starting my first project with Python after taking an online venture through Code Academy for a bet..... More

Print this item

  Being explicit about the items inside a tuple argument
Posted by: rudihammad - Dec-04-2019, 05:36 AM - Forum: General Coding Help - Replies (3)

Hello, this might be a strange question but I was wondering if I can give a hint about
the tuple argument items. For isntance, in the example bellow:..... More

Print this item

  Beginners to share pygame project?
Posted by: michael1789 - Dec-04-2019, 05:11 AM - Forum: Game Development - Replies (4)

Hi, I'm Michael and I live in Vancouver, Canada.

I'm pretty new to programming, but I've done some tutorials and understand many of the basics. I ..... More

Print this item

  I found a way to generate sprites without .blit. Is it effecient?
Posted by: xBlackHeartx - Dec-04-2019, 04:32 AM - Forum: Game Development - Replies (19)

I lost interest in coding with pygame for a while after I realized that I would need some type of pixel art program for future projects. Planning it o..... More

Print this item

  Self Paced Web course - split ip and print each piece in binary and hex
Posted by: sumncguy - Dec-04-2019, 12:19 AM - Forum: Homework - Replies (2)

Hi folks Im taking a free self paced web class .. the following code meets the exercise requirement.

[python]
ip = input("Enter an ip address : "..... More

Print this item

  Need help to identify Mersenne Primes, I do need a search pattern.
Posted by: Pleiades - Dec-03-2019, 11:03 PM - Forum: General Coding Help - No Replies

Hi,

I have been struggling with this code for four weeks and I cannot seem to rap my head around how to search for certain numbers after I run the ..... More

Print this item

  Number of constructors allowed in a Python class
Posted by: crocolicious - Dec-03-2019, 10:59 PM - Forum: Homework - Replies (3)

Hello,
I realize this is a very simple question but I have seen some information online that is slightly contradictory on this. How many constructo..... More

Print this item

  Flask: No user_loader has been installed for this LoginManager
Posted by: Truman - Dec-03-2019, 10:52 PM - Forum: Web Scraping & Web Development - Replies (17)

I'm following this tutorial and got this exception:
[..... More

Print this item

  Hashing tuples
Posted by: remow - Dec-03-2019, 10:33 PM - Forum: News and Discussions - Replies (7)

I just discovered (the bad way) that:

hash((-1,0)) == hash((-2,0))
I rewrote the program using:
hash(str(tuple))
and..... More

Print this item

  Checking if the combination of two keys is in a dictionary?
Posted by: mrsenorchuck - Dec-03-2019, 09:53 PM - Forum: General Coding Help - Replies (6)

Hello,

Hope you are well.

See below in bold, I want check if a key combination of club and year is present in a dictionary and then if it is append ..... More

Print this item

  Cleaner way to rewrite
Posted by: fakka - Dec-03-2019, 09:48 PM - Forum: General Coding Help - Replies (5)

Whats a clean way to rewrite this dynamically. Rather than essentially hardcoded.
ProcessInput1 is a defined function.

a1,b2,c3,d4,e5,f6,g7,h..... More

Print this item

  Moving object in 3d plot
Posted by: jonathan2582 - Dec-03-2019, 09:09 PM - Forum: Homework - Replies (1)

Hi I'm having issues translating the cube in the graph. Any help will be appreciated. Here is the code:
[python]
from mpl_toolkits.mplot3d import Ax..... More

Print this item

  Need help please properly putting tabs within a PanedWindow
Posted by: JackMack118 - Dec-03-2019, 08:40 PM - Forum: GUI - Replies (2)

Hello all.

I'm trying to get a PanedWindow to have tabs in it. I'm so close but I think my confusion with __init__ is getting me.

I have two exa..... More

Print this item

  t_games v0.50.0a1
Posted by: ichabod801 - Dec-03-2019, 08:39 PM - Forum: Code sharing - No Replies

This is another t_games release, with some more complicated games ([url=https:..... More

Print this item

  Help Grouping by Intervals on list
Posted by: paul41 - Dec-03-2019, 07:02 PM - Forum: General Coding Help - Replies (1)

I am looking for a way to group a list of numbers into group of intervals and a count.

For example:

List = [1, 2, 3, 3.5, 3.6, 4, 5, 6, 7, 8, 9,..... More

Print this item

  Automated Bet placement
Posted by: redmercury - Dec-03-2019, 05:10 PM - Forum: General Coding Help - Replies (2)

Hi, I am a Python novice but I would like to create a script that would automate logging in to the bookmakers & placing a bet on a horse race. Because..... More

Print this item

  Image editor using Tkinter and PIL
Posted by: Raulica - Dec-03-2019, 04:06 PM - Forum: GUI - Replies (2)

Hello! I have to make a project , more exactly an Image Editor using python and I have very very basics information about libraries in python and pyth..... More

Print this item

  invalid literal for int() with base 10: ''
Posted by: mrsenorchuck - Dec-03-2019, 03:48 PM - Forum: General Coding Help - Replies (5)

Getting an error "invalid literal for int() with base 10: ''" on the line where I assign the keys.

What is the best way to debug?
[python]
# dict..... More

Print this item

  unicode symbol processing
Posted by: Pavel_47 - Dec-03-2019, 01:38 PM - Forum: Web Scraping & Web Development - Replies (4)

Hello,

While scarping web page I've faced problem of recognized unicode symbols.
Here is original string:

Output:
978-1-4419-5905-8
Her..... More

Print this item

  Printing on same line from 2 functions.
Posted by: Dyefull - Dec-03-2019, 12:56 PM - Forum: Homework - Replies (2)

Hey guys quick question,

this is the code that I've written so far:

[python]total = 0

def print_student(student):
informatie_student = s..... More

Print this item

  How to get the index of a character from a string
Posted by: chihaya - Dec-03-2019, 12:43 PM - Forum: General Coding Help - Replies (1)

Hi, i used this code it is getting the index value but i need it to get the index value as the expected output
[python]s = 'Apples are totally awesom..... More

Print this item

  Help code explanation
Posted by: salwa1215 - Dec-03-2019, 11:14 AM - Forum: Networking - Replies (1)

Hello, I would like to understand what this code does, please.

I understood that it opens a connection with a machine by creating a socket in whic..... More

Print this item

  Image convoluion
Posted by: HuntahSVK - Dec-03-2019, 11:08 AM - Forum: General Coding Help - Replies (5)

Hi, im a student of software engineering and i've been tasked to apply convolutions to images.
I have to use the basic convolution kernels that are o..... More

Print this item

  prefix to infix
Posted by: rontoto - Dec-03-2019, 11:05 AM - Forum: General Coding Help - Replies (4)

Hello, i have got a rpbolem with prefix to infix code.
I need to change this code, so it can work with input like this: +-4 2 3 or *4-2 3
and the ..... More

Print this item

  How do I name a list while generating numbers on the fly?
Posted by: Pleiades - Dec-03-2019, 10:53 AM - Forum: General Coding Help - Replies (6)

I use this code and it generates numbers in the list, but I would also like it create this name along with it for the list name.

This is the name I..... More

Print this item

  Dictionary in Python
Posted by: kartheek - Dec-03-2019, 10:45 AM - Forum: General Coding Help - Replies (3)

Hi,

I am new to Python so please bear me for this simple question but I really could n't find reason for this.

[python]
current = {}
new_dict ..... More

Print this item

  pdf file processing: how to "Enable Editing"
Posted by: Pavel_47 - Dec-03-2019, 10:36 AM - Forum: General Coding Help - Replies (6)

Hello,

When opening some pdf files, the following banner appears at the top:

[img]https://i.postimg.cc/FzSJ3Nrf/pdf-enable-editing-banner.jpg[/i..... More

Print this item

  Reading UDP from external device without device software
Posted by: ikdemartijn - Dec-03-2019, 09:50 AM - Forum: General Coding Help - Replies (2)

Hello everyone,

Before I get to my actual problem, here is some background for the project in which this problem occurs:
I am trying to control a ..... More

Print this item

  Can’t get program to run properly
Posted by: ITnet20 - Dec-03-2019, 05:35 AM - Forum: General Coding Help - Replies (11)

#Program is written in python

from datetime import date
def calculateAge(birthDate):
today = date.today()
age = today.year - birthDate.year - ((..... More

Print this item

  The difference between two functions
Posted by: Motley_Cow - Dec-03-2019, 12:11 AM - Forum: General Coding Help - Replies (2)

I am a newbie to python and going through the NLTK book to learn a bit about using python for natural language processing. This post is not about NLTK..... More

Print this item

  Possible to use asyncio as a faster while loop?
Posted by: JackMack118 - Dec-03-2019, 12:09 AM - Forum: General Coding Help - Replies (1)

I've made this loop to pull random 1000 lines (made in other part of code) into a Textbox. It works flawlessly, though it takes maybe 10 seconds to do..... More

Print this item

  random module lacks instantiation
Posted by: Skaperen - Dec-02-2019, 11:14 PM - Forum: News and Discussions - Replies (3)

i don't see any way to make instances of the random module main class. when re-running sequences from the original seed, this makes it easy to have 2..... More

Print this item

  Live Server on VSCode
Posted by: Larz60+ - Dec-02-2019, 10:19 PM - Forum: Web Scraping & Web Development - Replies (6)

I am developing a Flask site and using Live Server plugin.
Examples that I have seen show the browser opening within VSCode, when 'Open with Live Ser..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  exchanges 40 minutes ago EmilyCarter EmilyCarter Bar
  data fetching for indian ... Yesterday, 12:05 drakhsin snippsat Web Scraping ...
  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
Most views
  The best Prog... 579276
  Tutorial Requ... 512136
  Web Scraping ... 442194
  Newbie with P... 386304
  New Users Int... 379704
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 7390
deanhystad 6915
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
EmilyCarter Today
OLanePulse Today
xdimbah Today
IsmaelSlalk Today
Stephenchers Today

User Panel Messages

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