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,960
» Latest member: llarkin6
» Forum threads: 38,729
» Forum posts: 175,535

Full Statistics

Online Users
There are currently 50 online users.
» 1 Member(s) | 45 Guest(s)
AOL, Google, Bing, Mojeek, deanhystad

Latest Threads
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
6 minutes ago
» Replies: 1
» Views: 30
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
3 hours ago
» Replies: 1
» Views: 623
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
3 hours ago
» Replies: 6
» Views: 4,848
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
7 hours ago
» Replies: 1
» Views: 1,518
Using Python to SSH and R...
Forum: Networking
Last Post: SprunkiRetake
Today, 03:53 AM
» Replies: 1
» Views: 2,573
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Today, 12:32 AM
» Replies: 0
» Views: 221
extracting data from a us...
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 01:49 PM
» Replies: 2
» Views: 421
how to export a dictionar...
Forum: GUI
Last Post: Pedroski55
Yesterday, 03:45 AM
» Replies: 3
» Views: 506
pip install requests does...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-24-2025, 02:48 PM
» Replies: 10
» Views: 29,809
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
Sep-23-2025, 12:00 PM
» Replies: 4
» Views: 9,649

 
  Replace ? by 0
Posted by: matador - Aug-22-2020, 08:44 PM - Forum: Data Science - Replies (6)

Hello to everyone,

I have a panda dataframe with many columns, one of them contains the ages of clients but when the age is unknown, I have ?. I'd ..... More

Print this item

  How can you make it simpler?
Posted by: bitcoin10mil - Aug-22-2020, 07:21 PM - Forum: General Coding Help - Replies (5)

Hi. I'm a newbie. I'm trying to make a Python program that can give me a random 4 digit number without digit repetition but it is too long and very co..... More

Print this item

  How do you replace a dictionary key with a new input?
Posted by: thewetmosquito - Aug-22-2020, 07:16 PM - Forum: General Coding Help - Replies (4)

Good afternoon Python community,

I am practicing my Python skills by working on a log-in/registration script that asks if you are currently registe..... More

Print this item

  "can't set attribute" on class
Posted by: DreamingInsanity - Aug-22-2020, 07:16 PM - Forum: General Coding Help - Replies (2)

I have a class like so:
[python]
class CustomLevel(BaseLevel):

def __init__(self, **data: dict) -> None:
self.data = data

@classmethod
..... More

Print this item

  Reading SQL scripts from excel file and run it using python
Posted by: saravanatn - Aug-22-2020, 06:13 PM - Forum: General Coding Help - Replies (2)

Hi All,

I placed my SQL scripts in excel file and my python code needs to read the SQL code from excel and then run the SQL code from SQL Server us..... More

Print this item

  factorial, repeating
Posted by: Aldiyar - Aug-22-2020, 05:52 PM - Forum: General Coding Help - Replies (4)

1.n = int(input())
2.
3.factorial = 1
4.while n > 1:
5.
6. factorial *= n
7. n -= 1
8.
9.print(factorial)
10.
11.#I would like to writ..... More

Print this item

  I Need Help Editing My Code
Posted by: eddywinch82 - Aug-22-2020, 05:29 PM - Forum: General Coding Help - Replies (10)

Hi there,

I have the following Python Code, which is run in Jupyter Notebook :-

[python]import pandas as pd
import requests
from bs4 import Be..... More

Print this item

  minor mistake in code for factorial
Posted by: spalisetty06 - Aug-22-2020, 04:48 PM - Forum: General Coding Help - Replies (2)

Hello,
I believe, I have written it correctly, but I am missing something.
[python]
'''write a program to get the factorial of a given number'''
d..... More

Print this item

  Importing tensorflow into pycharm on mac
Posted by: jrs92 - Aug-22-2020, 04:35 PM - Forum: General Coding Help - Replies (2)

I know there are a million videos explaining how to do this, but I'm still having trouble.

I was following this video tutorial, the megcourse on m..... More

Print this item

  functions and dictionary
Posted by: spalisetty06 - Aug-22-2020, 03:49 PM - Forum: General Coding Help - Replies (3)

Hello,
I am using functions, and I am passing the argument as dictionary, is there a way to get the value of the dictionary? I am able to get the key..... More

Print this item

  i got a decorator question
Posted by: yosef - Aug-22-2020, 02:14 PM - Forum: Homework - Replies (3)

i advertised it here on stackoverflow, until no..... More

Print this item

  Calling main in project structure fails
Posted by: sandro4912 - Aug-22-2020, 01:50 PM - Forum: General Coding Help - No Replies

I'm totally confused about project organization.

I organized my project with a structure like this:


[python]
bricks
--source
--game_o..... More

Print this item

  installing python in windows 10
Posted by: martynarthur2102 - Aug-22-2020, 01:49 PM - Forum: General Coding Help - Replies (1)

i have set my app selector to any app but python will simply not install in windows 10

Print this item

  Simple plotting from txt file
Posted by: Laplace12 - Aug-22-2020, 01:34 PM - Forum: General Coding Help - Replies (2)

I have a very simple code to plot. The data file consists of seven columns with values (not integers), and I wish to plot their division. This is the ..... More

Print this item

  looking for partner(s) to make an AI chatbot
Posted by: ronblue77 - Aug-22-2020, 12:20 PM - Forum: News and Discussions - Replies (1)

hello everyone...

i'm trying to learn by myself machine learning and neural networks and tensorflow from the net through YouTube tutorials...

i ..... More

Print this item

  printing integers on pygame.draw.rect
Posted by: Shyckh - Aug-22-2020, 08:41 AM - Forum: Game Development - Replies (1)

hi i am new to python prog arming. i want to boost my skills by making simple games using pygame and other tools.
i want to print integers on pygame...... More

Print this item

  live updated json file
Posted by: Nyanpasu - Aug-22-2020, 07:49 AM - Forum: General Coding Help - Replies (2)

Dear Python forum!

I've read quite a bit on how to extract data into a json file but the majority of the documentations found online will only save s..... More

Print this item

  variable not defined
Posted by: Milfredo - Aug-22-2020, 07:21 AM - Forum: GUI - Replies (4)

My first post. Hope it done right.
Getting an error saying my variable not defined. I have tried several things and have watched at least 5 videos. S..... More

Print this item

  Getting Extension
Posted by: Harshil - Aug-22-2020, 06:35 AM - Forum: Web Scraping & Web Development - Replies (6)

Hey! Friends.
Problem: How to get extension of the file from url or else anything using request or any module?
Another Problem: Can I Use To Split F..... More

Print this item

  Tensei Slime (That Time I Got Reincarnated as a Slime) Text adventure Game.
Posted by: 1Slim3yBoi - Aug-22-2020, 05:43 AM - Forum: Code Review - No Replies

Looking for people that don't mind reviewing my codebase for my text adventure game. It's based on Tensei Shitara Slime Datta Ken or That Time I Got R..... More

Print this item

  mx19.2 python & tkinter
Posted by: gonzo01 - Aug-22-2020, 04:39 AM - Forum: GUI - Replies (6)

i have python installed on mx 19.2

from xterm

bill@mx:~
$ python -V
Python 2.7.16
bill@mx:~
$ python3 -V
Python 3.7.3
bill@mx:~

bill@mx..... More

Print this item

  Class function does not create command button
Posted by: Heyjoe - Aug-22-2020, 02:23 AM - Forum: GUI - Replies (2)

Hello Python Users:

The following code displays a command button "Click here to start". This command button is supposed to run the sa function. T..... More

Print this item

  Sharing X Axis in Sub plots
Posted by: JoeDainton123 - Aug-21-2020, 11:04 PM - Forum: General Coding Help - Replies (1)

Hello community

After a LOT of fighting and watching youtube tutorials i have been able to achieve my goal of creating a figure window, with a uniq..... More

Print this item

  Is this right code for 3 digit pin ?
Posted by: fatjuicypython - Aug-21-2020, 11:02 PM - Forum: General Coding Help - Replies (1)

Is this the right code for a 3 digit pin ?

for pin in range(1000): if test(f'{pin:03d}'): print(f'{pin:03d}')

Print this item

  How and where to store a data for path tree?
Posted by: zayacEBN - Aug-21-2020, 08:34 PM - Forum: Web Scraping & Web Development - Replies (1)

Hello.
I am developing a small scrapper that allows to save images from different urls and save it on many different folders. I have the skeleton fo..... More

Print this item

  pip unistall in alternate roots
Posted by: confminn - Aug-21-2020, 08:03 PM - Forum: General Coding Help - No Replies

I have installed a package with dependencies in an alternate tree using pip install --root. That command created usr/local/lib/python3.6/dist-packages..... More

Print this item

  OOP Label In Tkinter
Posted by: Harshil - Aug-21-2020, 06:07 PM - Forum: General Coding Help - Replies (2)

Hey! I AM Trying Use Label In Tkinter In OOP Way But I AM Trying To Pack Label I Don't Know How to?
Here Is Code:
[python]from tkinter import *
fro..... More

Print this item

  Difference Between Figure Axis and Sub Plot Axis in MatplotLib
Posted by: JoeDainton123 - Aug-21-2020, 05:35 PM - Forum: General Coding Help - Replies (2)

Hello all

I was wondering if someone could help with understanding sub plots.

The term axis is often used with figure windows and subplots and I..... More

Print this item

  SHA256-Checker
Posted by: gingshow - Aug-21-2020, 01:46 PM - Forum: Code sharing - Replies (2)

I made a SHA256 checker.

How to use SHA256-Checker? Step 1: Download the file you want to check and sha256sum.txt from the Internet then put them ins..... More

Print this item

  I need advise with developing a brute forcing script
Posted by: fatjuicypython - Aug-21-2020, 01:16 PM - Forum: General Coding Help - Replies (11)

I need some advise on developing a script to brute force a 4 digit pin.

I know the pin has to be from 0000 to 9999

However, on the game website ..... More

Print this item

  PyAudio Buffer Data Calculation
Posted by: MclarenF1 - Aug-21-2020, 10:55 AM - Forum: General Coding Help - No Replies

Hi,

I have a question (Sorry I'm not very professional in python).
I'm using PyAudio to capture microphone sound with python (for its Peak Value)...... More

Print this item

  open("python.pdf","wb") - why "wb" instead of "a"?
Posted by: Man_from_India - Aug-21-2020, 10:32 AM - Forum: General Coding Help - Replies (1)

I came across the following code in a website.

[python]
import requests

file_url = "http://codex.cs.yale.edu/avi/db-book/db4/slide-dir/ch1-2.p..... More

Print this item

  Uppercase problem
Posted by: MarcJuegos_YT - Aug-21-2020, 09:58 AM - Forum: Homework - Replies (4)

Hi,
I've been learning python for a week and today i started doing a translator in an invented language. The problem is that if i write an upper lett..... More

Print this item

  Open and read a tab delimited file from html using python cgi
Posted by: luffy - Aug-21-2020, 09:56 AM - Forum: Web Scraping & Web Development - Replies (2)

[size=medium][size=small][font=Times New Roman, Times, serif]I am trying build a webpage which takes a large tab delimited .txt/.txt.gz file as user i..... More

Print this item

  Search Results Web results Printing the number of days in a given month and year
Posted by: afefDXCTN - Aug-21-2020, 08:30 AM - Forum: General Coding Help - Replies (1)

Hi everybody!

I wrote this code to return the number of days for a given couple of months / day
my function must take into consideration leap year..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Unable to resolve FileNot... 6 minutes ago llarkin6 noisefloor General Codin...
  Is the interpreter that c... 3 hours ago helendamdam noisefloor General Codin...
  pdf file processing: how ... 3 hours ago Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... 7 hours ago P212 Biks News and Disc...
  Using Python to SSH and R... Today, 03:53 justaguy SprunkiRetake Networking
  My goal to be hired worki... Today, 00:32 GnomeSweetGnome GnomeSweetGnome News and Disc...
  extracting data from a us... Yesterday, 13:49 Perry DeaD_EyE General Codin...
  [Tkinter] how to export a... Yesterday, 03:45 RonR Pedroski55 GUI
  pip install requests does... 09-24, 14:48 misodca DeaD_EyE General Codin...
  Creating a Mindmap progra... 09-23, 12:00 J_Miller Pedroski55 General Codin...
  IBKR Purchasing code issu... 09-23, 09:08 compuman145 compuman145 General Codin...
Most views
  The best Prog... 576996
  Tutorial Requ... 499720
  Web Scraping ... 440751
  Newbie with P... 384733
  New Users Int... 368795
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 6895
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
llarkin6 Today
Xuitar Today
SprunkiRetake Today
GnomeSweetGnome Yesterday
alxpetrovo2272 Yesterday

User Panel Messages

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