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,469
» Latest member: iforire
» Forum threads: 38,570
» Forum posts: 174,772

Full Statistics

Online Users
There are currently 739 online users.
» 0 Member(s) | 736 Guest(s)
Google, Bing, Baidu

Latest Threads
Tkinter: Problem with sto...
Forum: General Coding Help
Last Post: iforire
6 minutes ago
» Replies: 0
» Views: 7
where variable arguments ...
Forum: News and Discussions
Last Post: Gribouillis
2 hours ago
» Replies: 1
» Views: 55
problems with netcdf if I...
Forum: General Coding Help
Last Post: Blaubart
Yesterday, 07:05 PM
» Replies: 10
» Views: 577
[Python] Issue of Adding ...
Forum: General Coding Help
Last Post: Aymen
Yesterday, 06:39 PM
» Replies: 0
» Views: 82
Review of a ping tool mad...
Forum: Code Review
Last Post: Axel_Erfurt
Yesterday, 06:24 PM
» Replies: 1
» Views: 104
ModuleNotFoundError: No m...
Forum: General Coding Help
Last Post: Wimpy_Wellington
Yesterday, 05:56 PM
» Replies: 3
» Views: 3,383
Monitor Computer Internal...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 01:52 AM
» Replies: 3
» Views: 228
total Noob question: Why ...
Forum: General Coding Help
Last Post: deanhystad
May-09-2025, 06:15 PM
» Replies: 5
» Views: 274
robocopy question
Forum: Bar
Last Post: Amilia
May-09-2025, 03:07 PM
» Replies: 4
» Views: 1,797
Noob programmer - game of...
Forum: Homework
Last Post: russellbeckwith
May-09-2025, 08:37 AM
» Replies: 4
» Views: 1,499

 
  Web Scraping with phyton or another option?
Posted by: david45245 - Nov-10-2023, 09:47 PM - Forum: Web Scraping & Web Development - Replies (1)

I wanted to get emails adresses from local business from www . paginasamarillas . es(the yellow pages spanish version). What would be the most efficie..... More

Print this item

  The Python Tutorial List is Severely Out of Date
Posted by: RockBlok - Nov-10-2023, 12:15 PM - Forum: News and Discussions - Replies (2)

Hello, I've taken an interest in learning data science so I tried out some of the learning links in the tutorial section.

The list of links is so f..... More

Print this item

Question Need Help with Vehicle Routing Problem with Time Windows (VRPTW) in Python
Posted by: kasper321421312 - Nov-10-2023, 10:33 AM - Forum: General Coding Help - Replies (1)

Hello,
I've been working on developing a solution for a Vehicle Routing Problem with Time Windows (VRPTW). I found a code example on GitHub which I a..... More

Print this item

  GitHub, playsound install Qs/?
Posted by: tronic72 - Nov-10-2023, 03:02 AM - Forum: General Coding Help - Replies (5)

Hi,

I'm new to installing packages for python and I'm stuck unable to install playsound. I've installed the latest version of Python. I've installe..... More

Print this item

  manually input data
Posted by: jpatierno - Nov-10-2023, 02:32 AM - Forum: General Coding Help - No Replies

brand new to python. have not even downloaded it yet. I want to manually input data for horses entered in a horse race. the information needed is
1...... More


Attached Files

Thumbnail(s)
   
Print this item

  PyQt5 Relative Layout
Posted by: Unkovic - Nov-09-2023, 11:08 PM - Forum: GUI - Replies (1)

Hello, I'm working with qt designer for python and is there any way of making QvBoxLayout with QEditBox within it relative to size of QMainWindow, so ..... More

Print this item

  i see no prompt in the shell ?
Posted by: trix - Nov-09-2023, 06:22 PM - Forum: General Coding Help - Replies (5)

hello,

I think it's a simple solution, but i don't see it.
there is no prompt (>>>) in the shell.
i just disconnected the raspberry pico, and i e..... More

Print this item

  the order of running code in a decorator function
Posted by: akbarza - Nov-09-2023, 09:55 AM - Forum: General Coding Help - Replies (2)

hi
in below code:
[python]
# from:https://python.coderz.ir/lessons/l14-recursive- \
# functions-and-memoization-in-python.html

def logger(fun..... More

Print this item

  Export data from PDF as tabular format
Posted by: zinho - Nov-08-2023, 09:25 PM - Forum: General Coding Help - Replies (5)

Hi.

I would like exporta data from PDF files, but I need in tabula format.
[python]import io
import pytesseract
from pdf2image import convert_fr..... More

Print this item

  Resource allocation based on demand and total available hours
Posted by: chris1089 - Nov-08-2023, 03:44 PM - Forum: Data Science - No Replies

Could you please help with the following. I am trying to find a way to automatically reallocate resources based on the available hours, demand and job..... More


Attached Files

.xlsx   Rellocation.xlsx (Size: 20.1 KB / Downloads: 4)
Print this item

  Logic suggestions for comparing 2 csv's
Posted by: cubangt - Nov-08-2023, 02:41 PM - Forum: General Coding Help - Replies (7)

So im not looking for functional code, i want to keep learning and just need suggestions or pointers on what to look at in order to accomplish the fol..... More

Print this item

  How to scraping data from dinamic site
Posted by: sergio21124444 - Nov-08-2023, 11:10 AM - Forum: Web Scraping & Web Development - Replies (2)

Usually for this task I used power automate or scrape instant, then entered them into Excel, which I calculated everything. I recently entered the gpt..... More

Print this item

  openpyxl issue - How to reset sheet.ins_row to the real last row ...
Posted by: ejwjohn - Nov-07-2023, 11:11 PM - Forum: General Coding Help - Replies (6)

Hi,

I have a utility running on a Raspberry Pi which is powered from battery and is powered off and on through a 24 hour period to run this utility..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Tkinter: Problem with sto... 6 minutes ago iforire iforire General Codin...
  where variable arguments ... 2 hours ago Skaperen Gribouillis News and Disc...
  problems with netcdf if I... Yesterday, 19:05 Blaubart Blaubart General Codin...
  [Python] Issue of Adding ... Yesterday, 18:39 Aymen Aymen General Codin...
  Review of a ping tool mad... Yesterday, 18:24 suburbanprojects Axel_Erfurt Code Review
  ModuleNotFoundError: No m... Yesterday, 17:56 Wimpy_Wellington Wimpy_Wellington General Codin...
  Monitor Computer Internal... Yesterday, 01:52 EdMcCauley deanhystad General Codin...
  total Noob question: Why ... 05-09, 18:15 MarkMan deanhystad General Codin...
  robocopy question 05-09, 15:07 DPaul Amilia Bar
  Noob programmer - game of... 05-09, 08:37 Dazzalac russellbeckwith Homework
  How to use isintance with... 05-08, 13:22 Azdaghost buran General Codin...
Most views
  The best Prog... 561617
  Tutorial Requ... 440643
  Web Scraping ... 426756
  Newbie with P... 358889
  Thread remain... 331872
Most reputation
buran 580
snippsat 506
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 449
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12046
buran 8168
snippsat 7324
deanhystad 6823
metulburr 5151
Top referrers
Googlepro 22
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
iforire Today
Player_433609 Today
Aymen Yesterday
jijoh Yesterday
evating619 Yesterday

User Panel Messages

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