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,394
» Latest member: zcharlesoogleto9533
» Forum threads: 38,823
» Forum posts: 176,027

Full Statistics

Online Users
There are currently 31 online users.
» 0 Member(s) | 26 Guest(s)
Bing, Google, Apple, AOL

Latest Threads
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
8 hours ago
» Replies: 1
» Views: 59
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Yesterday, 09:12 AM
» Replies: 1
» Views: 4,592
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 08:37 AM
» Replies: 4
» Views: 184
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Yesterday, 07:27 AM
» Replies: 7
» Views: 3,601
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 154
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 298
IP address for users
Forum: Networking
Last Post: itx_sumeet
Dec-27-2025, 05:53 AM
» Replies: 4
» Views: 7,113
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Dec-27-2025, 01:10 AM
» Replies: 5
» Views: 9,964
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 180
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 116

 
  What exactly does .agg() do?
Posted by: Mark17 - Nov-07-2023, 02:26 PM - Forum: Data Science - Replies (5)

Hi all,

I'm not appreciating the functionality of the .agg() method. This creates a df:

[code]
import pandas as pd

name = ['Bella', 'Charli..... More

Print this item

  Error Code: 1
Posted by: percyy30 - Nov-07-2023, 11:36 AM - Forum: General Coding Help - Replies (13)

Hiya - Have been trying to run urllib but have been encountering errors - I have delved into it, it appears that I do not have the http package instal..... More

Print this item

  How secure is the use of "secret" import?
Posted by: ejwjohn - Nov-07-2023, 10:48 AM - Forum: General Coding Help - Replies (12)

Hi,

I suppose like many others i decided to use the "secrets" file to store some information relevant to things like email account set up etc.

B..... More

Print this item

  CODEBREAKER game
Posted by: rob101 - Nov-07-2023, 07:06 AM - Forum: Code sharing - No Replies

This Python implementation of the game known as UNCLE BERNIE'S CODEBREAKER GAME was written to emulate the original game as closely as possible.

Th..... More

Print this item

  problem in using generator
Posted by: akbarza - Nov-07-2023, 06:27 AM - Forum: General Coding Help - Replies (2)

hi
after running the code:
[python]def gen():
for i in range(3):
yield i*i
return

g1=gen()
for i in g1():
print(i)[/pyth..... More

Print this item

  Help copying data from a website
Posted by: awere34a4e3 - Nov-07-2023, 01:31 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi, I am trying to get the data from this website ino an excel (Actually libre office) file. https://sc2pulse.nephest.com/sc2/?season...ue=LOTV_1V..... More

Print this item

  Can I retrieve 2 values in a for ?
Posted by: Kakalok - Nov-06-2023, 09:57 PM - Forum: General Coding Help - Replies (3)

I have a list of values im looping through with an for x, and this is the x value

{'value_exc_vat': 16.67, 'value_inc_vat': 17.5035, 'valid_from': ..... More

Print this item

  is import cointegration_analysis a recognized module
Posted by: mitcht33 - Nov-06-2023, 08:04 PM - Forum: General Coding Help - Replies (1)

I copied python code from a website and in trying to run it I get No module named 'cointegration_analysis' although the author
and several users have..... More

Print this item

  model.fit and model.predict errors
Posted by: hatflyer - Nov-06-2023, 07:06 PM - Forum: General Coding Help - Replies (6)

Having 2 issues. First, when I have test images not 150 x 150, it crashes, even though I have the line: img.resize((150,150)) before the line that ca..... More

Print this item

  Where to ask Question about openpyxl
Posted by: ejwjohn - Nov-06-2023, 06:22 PM - Forum: Bar - Replies (1)

I have a couple of questions relating to the use of Openpyxl and i am looking for the more suitable forum?

Any meaningful ideas greatly appreciated..... More

Print this item

  Unable to get function to do anything...
Posted by: ejwjohn - Nov-06-2023, 03:06 PM - Forum: General Coding Help - Replies (8)

Hello,

I am a novice at Python, i using Thonny on Raspberry OS with Python 3.9.2
The def in question is listed below( I hope) and to simplify thi..... More

Print this item

  [solved] Regex expression do not want to taken :/
Posted by: SpongeB0B - Nov-06-2023, 08:48 AM - Forum: General Coding Help - Replies (2)

Hi everyone,

I've already used the module re a couple of times. but this time I have one expression that I can't pass to Python without getting a..... More

Print this item

  Help Needed For Online Survey Portal
Posted by: nisarg_sutaria - Nov-06-2023, 08:16 AM - Forum: Web Scraping & Web Development - Replies (1)

We have created online Survey Portal : [LINK REMOVED]
It is based on PHP CodeIgniter and MySQL.
With the advancement of AI, we want to integrate Cha..... More

Print this item

  usage of ^ in f_string
Posted by: akbarza - Nov-06-2023, 06:56 AM - Forum: General Coding Help - Replies (7)

hi
in the below code:

# normal pyramid
print("\nNormal Pyramid")
for i in range(5):
    x="* "
    x=x*i
    print(f'{x:^10}')
..... More

Print this item

  Where is problem in decrypting ADFGVX cipher
Posted by: Paragoon2 - Nov-06-2023, 06:18 AM - Forum: General Coding Help - Replies (2)

Hello, when I want to encrypt a character that has 5 characters, but the key has only 4 characters (which is one character less), decryption doesn't w..... More

Print this item

  Python Coder/Tutor
Posted by: jpatierno - Nov-06-2023, 02:39 AM - Forum: Jobs - Replies (5)

Brand new to python and have a comma delimited csv datafile that I want to read in pull certain fields out to apply calculations and make a report tha..... More

Print this item

  Which things are actually fun to code?
Posted by: Radical - Nov-05-2023, 10:15 PM - Forum: News and Discussions - No Replies

I discovered coding through C++ game development and I immediately fell in love. Making the physics, the enemy AI, ability interactions, and just the ..... More

Print this item

  How to create a variable only for use inside the scope of a while loop?
Posted by: Radical - Nov-05-2023, 07:30 PM - Forum: General Coding Help - Replies (10)

This should be a very basic question.

The code I'm using right now is:
[python]
timeOut = 0
while not x == 5:
time.sleep(1)
timeOut +=..... More

Print this item

  Looking for Trends Across Dimensions
Posted by: DataCarniv0r - Nov-05-2023, 06:37 PM - Forum: Data Science - No Replies

Hello, I'm hoping to get help with a starting point to find trends across some data dimensions. I think this falls under the realm of ML, not sure, bu..... More


Attached Files

.xlsx   CarDataExcelFormat.xlsx (Size: 37.15 KB / Downloads: 0)
Print this item

Shocked FLASK confuse
Posted by: LennyKiz - Nov-05-2023, 03:56 PM - Forum: Web Scraping & Web Development - Replies (1)

I'm trying to learn how to use Flask in Python

Run into situation I can't resolve.
What is wrong with the following code?

[python]from flask im..... More

Print this item

  Create csv file with 4 columns for process mining
Posted by: thomaskissas33 - Nov-05-2023, 02:54 PM - Forum: General Coding Help - Replies (3)

Hello
I try little to work with python and process mining. so i try to create a file from a text with 4 columns case id , name, process and time but ..... More

Print this item

  Airport max lanes length task
Posted by: AxelWasTaken - Nov-05-2023, 09:35 AM - Forum: Homework - Replies (3)

Hello, i have a task that i am really struggling with for 5 days straight and i would preferably need it done by Monday (tomorrow)

The task reads:..... More

Print this item

  save a session in idle
Posted by: akbarza - Nov-05-2023, 08:23 AM - Forum: General Coding Help - Replies (5)

hi
suppose I am learning Python in idle. I want to save this session because I want to work on it for later(suppose I want to back to it tomorrow or ..... More

Print this item

  Opaque letters
Posted by: DPaul - Nov-05-2023, 07:21 AM - Forum: GUI - Replies (3)

Hi,
I have 4 (T)Entry widgets, they are enabled or disabled in various combinations, depending on
user actions. Works fine.
I would like to add one fe..... More

Print this item

  IPython errors for numpy array min/max methods
Posted by: muelaner - Nov-04-2023, 09:08 AM - Forum: General Coding Help - Replies (1)

I'm using the IPython console (v 8.12.0) in Anaconda and getting some error messages I don't understand when accessing basic methods of numpy arrays..... More

Print this item

  TelegramBot
Posted by: Serg - Nov-03-2023, 10:29 PM - Forum: General Coding Help - No Replies

https://api.telegram.org/bot6885542165:A...47761&text =What do you do?

{"ok":false,"error_c..... More

Print this item

  write to csv file problem
Posted by: jacksfrustration - Nov-03-2023, 03:55 PM - Forum: General Coding Help - Replies (11)

i have the following function:

[python]

my_list=save_ent()
new_list=[]

for ent in my_list:
new_list.append(output_found_fli..... More

Print this item

  Homework help
Posted by: KatherineEP - Nov-03-2023, 05:55 AM - Forum: Homework - Replies (3)

Prompt says: Using the print function, print the numbers 0 to 6 on a single row to the console.


Attached Files

Thumbnail(s)
   
Print this item

  error "cannot identify image file" part way through running
Posted by: hatflyer - Nov-02-2023, 07:35 PM - Forum: General Coding Help - No Replies

I'm getting a very long list of errors part way when running the code below. The images come from: dog-vs-cat-classification/train/dogs , and the cat ..... More

Print this item

  Calling functions by making part of their name with variable
Posted by: crouzilles - Nov-02-2023, 09:58 AM - Forum: General Coding Help - Replies (4)

Hi,

I am new to python and programming in general.

I have the following 4 functions:

  • __scroll_down
  • __scroll_up
  • __scroll_left
  • __sc..... More

Print this item

  How to use .predict() method
Posted by: Jack90_ - Nov-02-2023, 09:28 AM - Forum: Data Science - Replies (4)

I am trying to apply a forecasted model with OLS regression to a test dataset, but when I use the .predict() method, I have this error:

[python]Value..... More

Print this item

  Correcting a Tutorial
Posted by: sonus89 - Nov-01-2023, 11:50 PM - Forum: News and Discussions - Replies (1)

Hi everyone!

Tutorialspoint has a Python Tutorial but I think I found an error there.

This section:
https://www.tutorialspoint.com/python/pytho..... More

Print this item

  Updating sharepoint excel file odd results
Posted by: cubangt - Nov-01-2023, 06:53 PM - Forum: General Coding Help - Replies (1)

So we display a excel file on our tv's in the office that has a embedded image on the sheet. I have a python script that updates that image daily. Whe..... More

Print this item

  ttk and themes
Posted by: DPaul - Nov-01-2023, 07:19 AM - Forum: GUI - Replies (9)

Hi,
I'm trying to give my app a more modern look, so I installed :
[python]from tkinter import *
from tkinter import ttk
from ttkthemes import The..... More

Print this item

  Pycharm error
Posted by: zuri - Oct-31-2023, 10:16 PM - Forum: General Coding Help - Replies (1)

hi Everyone
i want to run a simple hello world program on Pycharm but when i try to debug it, it is showing the following error i have installed all..... More


Attached Files

Thumbnail(s)
       
Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Opencv findContours Q 8 hours ago jogl Pedroski55 General Codin...
  Struggles I Faced While E... Yesterday, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... Yesterday, 08:37 braillescribe noisefloor General Codin...
  Create dataframe from the... Yesterday, 07:27 Calab OtiliaGen Data Science
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
  IP address for users 12-27, 05:53 Robots itx_sumeet Networking
  Lottery generator (beginn... 12-27, 01:10 Hullari Pedroski55 General Codin...
  [split] How to ask Smart ... 12-25, 07:58 yoanselcp Pedroski55 General Codin...
  Need Help with Pandas Con... 12-24, 10:07 naproxy_1 Axel_Erfurt Bar
  requests.post not sending... 12-24, 09:20 JarredAwesome noisefloor Web Scraping ...
Most views
  The best Prog... 580414
  Tutorial Requ... 519584
  Web Scraping ... 442785
  Newbie with P... 386984
  New Users Int... 386549
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+ 12117
buran 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
zcharlesoogleto9533 Today
MaxTranslate Yesterday
pizofreude Yesterday
RockHound_Z12 Yesterday
braillescribe 12-28

User Panel Messages

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