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,587
» Latest member: KisanSabha
» Forum threads: 38,671
» Forum posts: 175,239

Full Statistics

Online Users
There are currently 251 online users.
» 1 Member(s) | 243 Guest(s)
Applebot, Google, Bing, Baidu, Yandex, Mojeek, KisanSabha

Latest Threads
Web scraping confusion
Forum: Web Scraping & Web Development
Last Post: abdlwafitahiri
37 minutes ago
» Replies: 5
» Views: 2,290
Combine 2 PDF pages into ...
Forum: General Coding Help
Last Post: Zosiarozer2
2 hours ago
» Replies: 8
» Views: 8,911
Dichaelmag
Forum: General Coding Help
Last Post: LhanePulse
2 hours ago
» Replies: 0
» Views: 28
How to add Permanent Sign...
Forum: Board
Last Post: vmars316
10 hours ago
» Replies: 0
» Views: 60
veri kazıma
Forum: Web Scraping & Web Development
Last Post: fehmikonkur
11 hours ago
» Replies: 9
» Views: 265
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: Jmathew1
Yesterday, 06:20 AM
» Replies: 4
» Views: 6,464
Post Body (for "Forum Usa...
Forum: Board
Last Post: hihi
Jul-20-2025, 06:17 AM
» Replies: 0
» Views: 69
None collapsing Tuple at ...
Forum: Code Review
Last Post: hihi
Jul-20-2025, 05:21 AM
» Replies: 0
» Views: 97
Label & OptionMenu widget...
Forum: GUI
Last Post: slate
Jul-20-2025, 02:21 AM
» Replies: 2
» Views: 165
Code stoped working
Forum: News and Discussions
Last Post: DeaD_EyE
Jul-19-2025, 10:55 AM
» Replies: 2
» Views: 184

 
  How to most effectively unpack list of name-value pair dictionaries in a dataframe?
Posted by: zlim - Nov-07-2023, 10:34 PM - Forum: Data Science - Replies (1)

Hello! I'm working with a dataset that has a rather inconvenient format where one of the columns is basically a list of name-value pair dictionaries. ..... More

Print this item

  Juniper Python libs?
Posted by: merrittr - Nov-07-2023, 09:49 PM - Forum: Networking - No Replies

I know that there are cisco python libs to login and execute CLI and get output , is there such a ting for Juniper/JUNOS?
currently I use the parami..... More

Print this item

  extract substring from a string before a word !!
Posted by: evilcode1 - Nov-07-2023, 09:44 PM - Forum: General Coding Help - Replies (3)

hello all ...
this is my output :
[output]{'status': True, 'msg': 'Success', 'data': [{'title': 'perrier'}, {'title': 'Polo'}, {'title': 'Purina'}..... More

Print this item

  I have a code which is very simple but still I cannot detect what's wrong with it
Posted by: max22 - Nov-07-2023, 03:18 PM - Forum: General Coding Help - Replies (1)

The code is like this and below I'm leaving the error I'm getting in Python (3.7.13):

[python]import numpy as np
import matplotlib.pyplot as plt
..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Web scraping confusion 37 minutes ago keifin abdlwafitahiri Web Scraping ...
  Combine 2 PDF pages into ... 2 hours ago Cyberduke Zosiarozer2 General Codin...
  Dichaelmag 2 hours ago LhanePulse LhanePulse General Codin...
  How to add Permanent Sign... 10 hours ago vmars316 vmars316 Board
  veri kazıma 11 hours ago fehmikonkur fehmikonkur Web Scraping ...
  Can I develop a live vide... Yesterday, 06:20 mtrkhan Jmathew1 Web Scraping ...
  Post Body (for "Forum Usa... 07-20, 06:17 hihi hihi Board
  None collapsing Tuple at ... 07-20, 05:21 hihi hihi Code Review
  [Tkinter] Label & OptionM... 07-20, 02:21 slate slate GUI
  Code stoped working 07-19, 10:55 OldMan57 DeaD_EyE News and Disc...
  ASCII-Codec in Python3 [S... 07-19, 08:53 AlphaInc Gribouillis General Codin...
Most views
  The best Prog... 572794
  Tutorial Requ... 485886
  Web Scraping ... 437257
  Newbie with P... 380284
  Thread remain... 351445
Most reputation
buran 581
snippsat 507
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+ 12073
buran 8177
snippsat 7353
deanhystad 6862
metulburr 5152
Top referrers
Googlepro 24
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
KisanSabha Today
abadafah Today
Zosiarozer2 Today
LhanePulse Today
anthancahvso729 Today

User Panel Messages

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