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: braillescribe
» Forum threads: 38,822
» Forum posts: 176,024

Full Statistics

Online Users
There are currently 34 online users.
» 1 Member(s) | 26 Guest(s)
Bing, Google, Facebook, AOL, Gribouillis

Latest Threads
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
6 minutes ago
» Replies: 4
» Views: 109
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
1 hour ago
» Replies: 7
» Views: 3,559
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 125
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 267
IP address for users
Forum: Networking
Last Post: itx_sumeet
Dec-27-2025, 05:53 AM
» Replies: 4
» Views: 7,087
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Dec-27-2025, 01:10 AM
» Replies: 5
» Views: 9,925
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 159
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 93
requests.post not sending...
Forum: Web Scraping & Web Development
Last Post: noisefloor
Dec-24-2025, 09:20 AM
» Replies: 2
» Views: 164
Looking for constructive ...
Forum: News and Discussions
Last Post: cecrease
Dec-24-2025, 03:16 AM
» Replies: 2
» Views: 1,302

 
  Evaluating arithmetic expression with recursion.
Posted by: muddybucket - Dec-16-2021, 01:36 PM - Forum: General Coding Help - Replies (3)

Hi, I am tasked to make a recursive function which evaluates the expression starting from the given position. Return the value and the first position ..... More

Print this item

  import csv adding a header with pandas
Posted by: Soares - Dec-16-2021, 12:16 PM - Forum: Data Science - No Replies

Hi,

I'm importing a csv without a header. And I'm trying to tweak my script so that a header is included during load.

In addition to including t..... More

Print this item

  Trying to understand Numpy/array
Posted by: nabuchadresar - Dec-16-2021, 09:30 AM - Forum: General Coding Help - Replies (2)

Hi guys, it's on my first exercise list with Numpy.
That problem:
Consider the 3 arrays below
Return the value of the xarr array if the value is Tr..... More

Print this item

  How do you format Update statement with multiple conditions
Posted by: hammer - Dec-16-2021, 02:13 AM - Forum: General Coding Help - Replies (4)

Below shows a workableUpdate format for changing 1 field with 1 Where condition. I understand how the Bobby Table Format association works here.
Wha..... More

Print this item

Question Problem editing images
Posted by: ielcraft1 - Dec-16-2021, 01:32 AM - Forum: General Coding Help - Replies (2)

Hi, I am trying to make a program that edits images with python.
My difficulty is putting a png (no background) over the scene I want.
I am using th..... More

Print this item

  Problem : Count the number of Duplicates
Posted by: NeedHelpPython - Dec-16-2021, 12:42 AM - Forum: General Coding Help - Replies (3)

Problem : Count the number of Duplicates

Write a function that will return the count of distinct case-insensitive alphabetic characters and numeric d..... More

Print this item

  Trying to parse and work with the WhatsApp export of chats
Posted by: cubangt - Dec-15-2021, 11:00 PM - Forum: General Coding Help - Replies (6)

So i have been trying to parse or work with the export from WhatsApp chat history. I'm using that because i thought it would be a simple text format t..... More

Print this item

  beginner having text based adventure trouble
Posted by: mrgee - Dec-15-2021, 10:27 PM - Forum: Homework - Replies (2)

hi im new to python and am having trouble with coding.

Basically, I want to get to a point in the game that prints a lists (which ive done)
give a..... More

Print this item

  Parallel processing of multiple elements in list not working?
Posted by: amjass12 - Dec-15-2021, 03:18 PM - Forum: Code Review - No Replies

Hi,

I am trying to parallelise a function that will loop of over many millions of elements. It is a pearson correlation calculation of every colum..... More

Print this item

  Simple arithmetic question
Posted by: ebolisa - Dec-15-2021, 01:53 PM - Forum: General Coding Help - Replies (5)

Hi,

I'd like to round the number 12.13 to 12 and 12.45 to 13.
None of the following functions return the format I'm looking for. I guess I could u..... More

Print this item

  labels.append(self.classes.index(member.find('name').text))
Posted by: hobbyist - Dec-15-2021, 01:40 PM - Forum: General Coding Help - Replies (1)

Hello, I am following this tutorial: tutorial in order to train..... More

Print this item

  Calling a class from a function
Posted by: jc4d - Dec-15-2021, 08:04 AM - Forum: General Coding Help - Replies (5)

Hi all,

I'm pretty noob in python hence the question. Blush
Is it possible to call a class from a function?

Cheers,

Print this item

  Scraping the page without distorting content
Posted by: oleglpts - Dec-15-2021, 07:27 AM - Forum: Web Scraping & Web Development - Replies (5)

I am faced with the task of scraping a website page in such a way that its offline browser display matches the original page as closely as possible. A..... More

Print this item

Exclamation Python 3.10.1 32 Windows setup Virus behavior
Posted by: SapG20211215 - Dec-15-2021, 03:09 AM - Forum: News and Discussions - Replies (8)

Just installed

Python 3.10.1 (32-bit)
by
Python Software Foundation
v. 3.10.1150.0

and

Python Launcher
by
Python Software Foundation..... More


Attached Files

Thumbnail(s)
       
Print this item

  TypeError: missing a required argument: 'y'
Posted by: gible - Dec-15-2021, 02:21 AM - Forum: General Coding Help - No Replies

Hello everyone,
I am trying to plot a graph from the result of LSTM anomaly.

[python]fig, ax = plt.subplots(figsize=(16,12))
ax.plot(pd.to_datet..... More

Print this item

  outputtin a spreadsheet of float values
Posted by: Skaperen - Dec-14-2021, 11:38 PM - Forum: News and Discussions - No Replies

i am going to output an array of float values in the form of a spreadsheet. but i do have some extra space horizontally. should my output try to lin..... More

Print this item

Question How to understand the vector/direction
Posted by: mason321 - Dec-14-2021, 10:57 PM - Forum: General Coding Help - No Replies

In the following piece of code below, I need help understanding the vector and direction. Is the vector vv[0] = to the direction when its zero?

[p..... More

Print this item

  Store variable data and display sum after 60 seconds
Posted by: the_dude - Dec-14-2021, 07:13 PM - Forum: General Coding Help - Replies (11)

Hello, I'm currently reading and printing data from an arduino via serial USB in a loop and would like to store the data and add it up after 60 second..... More

Print this item

  operands could not be broadcast together with shapes (337,451) (225,301)
Posted by: kevinabbot - Dec-14-2021, 04:02 PM - Forum: General Coding Help - No Replies

So I am simply trying to take the 4th hour of data and subtract accumulated snow from the 3rd hour to get the snowfall in just the past hour. It is sa..... More

Print this item

Question Pygame 2 on Raspberry Buster
Posted by: jfng75 - Dec-14-2021, 03:37 PM - Forum: Game Development - Replies (3)

Hello,

I want to install Pygame 2 on a Raspberry Buster. I am using OS version 5.10.11.

It seems that I need to update SDL to be compatible with..... More

Print this item

  TypeError: cannot pickle
Posted by: n00sferatu - Dec-14-2021, 12:29 AM - Forum: General Coding Help - Replies (1)

Hey guys,

I only a junior in python, but I am trying to start 2 process that listen udp/tcp port. Basically I want to use multiprocessing for "tcp_..... More

Print this item

  Help needed with merging two CSV files
Posted by: eyadfr - Dec-13-2021, 10:49 PM - Forum: General Coding Help - Replies (5)

Hello,

I need your help with the below please 🙏

I have TWO ".CSV" files with the same number of columns and rows [b](257 columns and X rows)..... More

Print this item

  Bot refuses to count logs.
Posted by: M1racle - Dec-13-2021, 06:42 PM - Forum: General Coding Help - No Replies

@bot.channel_post_handler(content_types=['text','photo','audio','video','document'])
def posts_from_channels(message):
if True:
try:
messtext = st..... More


Attached Files

Thumbnail(s)
       
Print this item

  Anaconda pip install mpyc Error pip-script.py is not present
Posted by: Anldra12 - Dec-13-2021, 06:15 PM - Forum: General Coding Help - Replies (2)

I want o to install mpyc package using anaconda command prompt CMD. but it returns this error, How to address to solve such an..... More

Print this item

  webserver and pythonscript in 1 .py file ?
Posted by: Bicarbonaat - Dec-13-2021, 06:12 PM - Forum: Networking - No Replies

hello ,
i'm running this basic webserver and i can send and recieve data from a client via websockets.
this works like a sharm ( html+ javascriptco..... More

Print this item

  Requests Session Overwriting and cookie jar
Posted by: muzikman - Dec-13-2021, 02:22 PM - Forum: General Coding Help - No Replies

Greetings,

I have two questions in regards to the code below, I will make note of them inside the code itself.

[python]
session = requests.Sess..... More

Print this item

  P2 -> P3 : Errors
Posted by: wsHVM - Dec-13-2021, 01:50 AM - Forum: General Coding Help - Replies (1)

I have some code which I believe to be from Python 2 and need to move it to Python 3. I do not code in Python, or I stumble through very simple routin..... More

Print this item

  trying to edit a text file
Posted by: greatfella - Dec-13-2021, 12:02 AM - Forum: General Coding Help - Replies (9)

Something very simple is causing me to pull my hair out.

I want to search a simple text file for a string and replace it with another string.

th..... More

Print this item

  invalid syntax in my class
Posted by: CompleteNewb - Dec-12-2021, 11:56 PM - Forum: General Coding Help - Replies (2)

Hello, i've just written my first class ever and it doesn't work...

Here it is:

[python]class Player:

hand = []
playershand = []
..... More

Print this item

  positional argument: 'self'
Posted by: mcmxl22 - Dec-12-2021, 07:50 PM - Forum: General Coding Help - Replies (8)

I write the following code and get the following error.
[python]
import random

word_list = ['a', 'ranom', 'list', 'of', 'words']

class Word:
..... More

Print this item

  Modifying code
Posted by: cheburashka - Dec-12-2021, 07:14 PM - Forum: General Coding Help - Replies (1)

Is there a way to modify this code for it to search for the sentences generated to:
— always start with capitalized words ("This is beautiful.", "You..... More

Print this item

  class - calculate total price of copies
Posted by: 3lnyn0 - Dec-12-2021, 07:14 PM - Forum: General Coding Help - Replies (1)

Hi! I can the below code, I want to calculate de total price of copies for a book

[python]
class Library():
def __init__(self, name) -> None:..... More

Print this item

  Using If Statements Instead of While Loop in Simple Game Program
Posted by: new_coder_231013 - Dec-12-2021, 04:04 PM - Forum: Homework - Replies (5)

Hello,

I'm going through an online Python tutorial and there's an exercise that involves creating a "car game" program that does the following:

..... More

Print this item

  Math Package in python
Posted by: Uma - Dec-12-2021, 01:28 PM - Forum: General Coding Help - Replies (1)

Hi..I just started learning python. I would like to know how many in built functions are available in math package. is it possible to print those func..... More

Print this item

  [Solved] Matplotlib - Tricontour: how to set colorbar range
Posted by: ju21878436312 - Dec-12-2021, 10:29 AM - Forum: General Coding Help - Replies (1)

I would like to set the colorbar range, when plotting my data, using tricontour.

What I have tried:
vmin=0.13, vmax=0.4
to enforce min ..... More


Attached Files

Thumbnail(s)
   

.csv   data.csv (Size: 373 bytes / Downloads: 375)
Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Willing to pay for help w... 6 minutes ago braillescribe noisefloor General Codin...
  Create dataframe from the... 1 hour ago 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 ...
  Looking for constructive ... 12-24, 03:16 decuser cecrease News and Disc...
  [PyQt] Switching from bat... 12-23, 21:38 arbiel arbiel GUI
Most views
  The best Prog... 580394
  Tutorial Requ... 519352
  Web Scraping ... 442776
  Newbie with P... 386972
  New Users Int... 386422
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
braillescribe Yesterday
aurelio12282025 Yesterday
bejaminmaarleyo1374 Yesterday
taylorlitleoz476 Yesterday
desy845 Yesterday

User Panel Messages

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