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,930
» Latest member: luisshulez6883
» Forum threads: 38,721
» Forum posts: 175,500

Full Statistics

Online Users
There are currently 45 online users.
» 0 Member(s) | 39 Guest(s)
Bing, Applebot, Google, AOL, Mojeek

Latest Threads
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
48 minutes ago
» Replies: 8
» Views: 2,168
real community
Forum: News and Discussions
Last Post: decuser
1 hour ago
» Replies: 3
» Views: 1,320
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
3 hours ago
» Replies: 1
» Views: 117
looking for help
Forum: Bar
Last Post: Azdaghost
4 hours ago
» Replies: 0
» Views: 36
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
6 hours ago
» Replies: 7
» Views: 2,654
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 11:27 PM
» Replies: 6
» Views: 917
data input while debuggin...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 03:32 PM
» Replies: 2
» Views: 613
New to Python and Pygame
Forum: Game Development
Last Post: JMcM
Yesterday, 11:25 AM
» Replies: 7
» Views: 1,926
Python Installation issue
Forum: News and Discussions
Last Post: Dev
Yesterday, 11:16 AM
» Replies: 4
» Views: 15,856
New to the field
Forum: News and Discussions
Last Post: Larz60+
Yesterday, 08:15 AM
» Replies: 1
» Views: 507

 
  issue in using regex
Posted by: akbarza - Nov-13-2023, 01:29 PM - Forum: General Coding Help - Replies (4)

hi
in below code( code belongs to a site that its address is in beginning of the code):
[python]# from:https://www.geeksforgeeks.org/regular-express..... More

Print this item

  Are there errors in the code for my coin toss systems? Matlibplot is too perfect .
Posted by: Coolkat - Nov-13-2023, 11:54 AM - Forum: General Coding Help - No Replies

I am new to python programming language so I ask chatgpt to generate codes for my 2 coin toss systems. I am totally intrigued to find the equity curve..... More

Print this item

  merge all xlsb files into csv
Posted by: mg24 - Nov-13-2023, 06:30 AM - Forum: General Coding Help - No Replies

Hi Team,

I have 20 xlsb files, my task to combine all xlsb files data into single csv files , with Pipe delimiter
later this CSV I need to import it ..... More

Print this item

  Dogs Vs Cats Clean Datasets and Corruprtion
Posted by: hatflyer - Nov-13-2023, 12:05 AM - Forum: General Coding Help - Replies (4)

I seem to have an issue with the data set for the dogs vs cats scenario. Does anyone know where I can download a data set other than this 1? kagglec..... More

Print this item

  I'm trying to create a GUI in Python which would accept a bash command
Posted by: max22 - Nov-12-2023, 05:19 PM - Forum: GUI - Replies (1)

I'm trying to create a GUI in Python which would accept a bash command like this
python OK21.py
and displayed all the outputs of this command includ..... More

Print this item

  Create X Number of Variables and Assign Data
Posted by: RockBlok - Nov-12-2023, 02:31 PM - Forum: General Coding Help - Replies (8)

Good morning,

I'm trying to create a number of variables that is dynamic.

Lets say I have a string

sentence = "All work and no play makes Jac..... More

Print this item

  "DiceGame" OOP project
Posted by: Drone4four - Nov-12-2023, 01:45 PM - Forum: Homework - Replies (6)

I’m learning OOP by taking Estefania Cassingena Navone's Udemy course titled: "..... More

Print this item

  QGIS 3.34 Python Error
Posted by: paskiller - Nov-12-2023, 07:03 AM - Forum: General Coding Help - Replies (2)

Hi.
I installed OSGeo4S and QGIS 3.34. When I open QGIS I have this error:

Python Error: Failed to load plugin 'crayfish' due to error calling cla..... More

Print this item

  please Help in my coding assignment
Posted by: thunder - Nov-12-2023, 01:32 AM - Forum: Homework - Replies (2)

assignment description: Make a program so that the computer can guess what number the person is thinking of

issue: I'm able to make it so that the ..... More

Print this item

  Decryption not working if key has same symbol like text
Posted by: Paragoon2 - Nov-11-2023, 09:32 PM - Forum: General Coding Help - No Replies

I'm trying to decipher the text from ADFGV cipher where is matrix, alphabet and key, but I don't know how to fix it if the key has the same characters..... More


Attached Files

.py   main.py (Size: 16.9 KB / Downloads: 228)
Print this item

  How would I process this data?
Posted by: SuchUmami - Nov-11-2023, 08:36 PM - Forum: General Coding Help - Replies (2)

I have some trading data that I would like to process from a csv file.

What I am trying to do is find trading zones that move 1% or more in price. ..... More

Print this item

  When is it safe to compare (==) two floats?
Posted by: Radical - Nov-11-2023, 07:31 PM - Forum: General Coding Help - Replies (4)

I am writing a program that will automatically check & pay off the amount I owe on my credit card. Since it takes a few days to process payment, I am ..... More

Print this item

  Extracting information from the internet
Posted by: IWannaGetGood_1023 - Nov-11-2023, 07:06 PM - Forum: Web Scraping & Web Development - No Replies

Hiya, I'm very new to python, and I'm trying to make a python script that I can enter a word into, and it looks up the definition online. I was hoping..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  403 Error 48 minutes ago CaptainNewb snippsat Web Scraping ...
  real community 1 hour ago decuser decuser News and Disc...
  variable changing types f... 3 hours ago Azdaghost Gribouillis General Codin...
  looking for help 4 hours ago Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 6 hours ago Bona2000 Bona2000 General Codin...
  Select Python comment (#)... Yesterday, 23:27 SpongeB0B Pedroski55 General Codin...
  data input while debuggin... Yesterday, 15:32 fred1232 deanhystad General Codin...
  New to Python and Pygame Yesterday, 11:25 JMcM JMcM Game Developm...
  Python Installation issue Yesterday, 11:16 RFHill Dev News and Disc...
  New to the field Yesterday, 08:15 Polybunny Larz60+ News and Disc...
  [Tkinter] Too much space ... Yesterday, 02:34 RonR deanhystad GUI
Most views
  The best Prog... 575707
  Tutorial Requ... 496877
  Web Scraping ... 439748
  Newbie with P... 383404
  New Users Int... 364848
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+ 12087
buran 8174
snippsat 7367
deanhystad 6893
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
luisshulez6883 Today
KennedyRichadGuerra Today
Williefaree Today
faithsally Today
compuman145 Today

User Panel Messages

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