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,244
» Latest member: thebigback
» Forum threads: 38,778
» Forum posts: 175,801

Full Statistics

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

Latest Threads
Help with Serial.write in...
Forum: General Coding Help
Last Post: racingsubby
24 minutes ago
» Replies: 0
» Views: 5
I’m building a Python Dat...
Forum: GUI
Last Post: Gribouillis
1 hour ago
» Replies: 6
» Views: 157
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Today, 05:37 AM
» Replies: 1
» Views: 67
Data Science
Forum: Data Science
Last Post: mamta25
Today, 05:27 AM
» Replies: 3
» Views: 2,584
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:56 AM
» Replies: 4
» Views: 157
Backward compatibility qu...
Forum: News and Discussions
Last Post: buran
Nov-08-2025, 10:39 AM
» Replies: 3
» Views: 148
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 148
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,450
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,386
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,587

 
  Biopython
Posted by: Karakelle69 - Nov-11-2023, 01:35 PM - Forum: Homework - Replies (2)

I am new at python and I am trying to do my homewrok . I have to write 1000 long DNA seq. and I have to find start and stop codons then I have detect ..... More


Attached Files

Thumbnail(s)
   
Print this item

  web scraping football results and odds
Posted by: terrasamba77 - Nov-11-2023, 08:19 AM - Forum: Web Scraping & Web Development - Replies (1)

Hello,
I am extracting football results with their odds, I have created 2 for-loops, one for the extraction of team names and results and one for th..... More

Print this item

  python/access/pandas
Posted by: DPaul - Nov-11-2023, 07:01 AM - Forum: Bar - Replies (2)

Hi,
I was handed an .mdb. Oldtimers in the centre say that it was started
at the very least 25 years ago. Over the years various people have entered..... More

Print this item

  Specific Breakdown of Title() Method vs. Name
Posted by: Eon435Mr - Nov-11-2023, 03:51 AM - Forum: News and Discussions - Replies (1)

Hi there,

I am just starting to read the Third Edition of Python Crash Course. So far, so good. I am currently running Python 3.12.0 on my MacBook..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Help with Serial.write in... 24 minutes ago racingsubby racingsubby General Codin...
  [Tkinter] I’m building a ... 1 hour ago tsgiannis Gribouillis GUI
  [split] print two differe... Today, 05:37 Reema Gribouillis General Codin...
  Data Science Today, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... Yesterday, 00:56 Alfredd Pedroski55 General Codin...
  Backward compatibility qu... 11-08, 10:39 yutaozhou buran News and Disc...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
  Code runs perfectly and j... 11-05, 17:56 compuman145 noisefloor General Codin...
Most views
  The best Prog... 578746
  Tutorial Requ... 509506
  Web Scraping ... 441878
  Newbie with P... 385847
  New Users Int... 375450
Most reputation
buran 581
snippsat 510
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+ 12102
buran 8195
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
thebigback Today
dimitriwati Today
johnsonlucas83 Today
ColorTig Today
AcoolPurpleOne1863 Today

User Panel Messages

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