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,245
» Latest member: ShaneCorn
» Forum threads: 38,778
» Forum posts: 175,806

Full Statistics

Online Users
There are currently 56 online users.
» 0 Member(s) | 47 Guest(s)
Bing, Applebot, AOL, Facebook

Latest Threads
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: ShaneCorn
27 minutes ago
» Replies: 6
» Views: 7,475
Backward compatibility qu...
Forum: News and Discussions
Last Post: Gribouillis
1 hour ago
» Replies: 5
» Views: 181
Help with Serial.write in...
Forum: General Coding Help
Last Post: racingsubby
8 hours ago
» Replies: 2
» Views: 60
I’m building a Python Dat...
Forum: GUI
Last Post: Gribouillis
11 hours ago
» Replies: 6
» Views: 172
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 05:37 AM
» Replies: 1
» Views: 73
Data Science
Forum: Data Science
Last Post: mamta25
Yesterday, 05:27 AM
» Replies: 3
» Views: 2,594
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 164
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 155
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,590
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,396

 
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: 372)
Print this item

  Where To start on a voice assistant
Posted by: Extra - Dec-11-2021, 11:31 PM - Forum: News and Discussions - Replies (1)

Brace yourself because this is a lot.

Hello,

I'm looking to build a voice activated assistant (similar to Alexa and Siri) but is private, doesn't sp..... More

Print this item

  How to split a bigram?
Posted by: cheburashka - Dec-11-2021, 07:06 PM - Forum: General Coding Help - Replies (1)

Hi! Is there a way to split a bigram? For example: (what do) and print it out like (Head: what Tail: do)?

Print this item

  Strategy on updating edits back to data table and object variables
Posted by: hammer - Dec-11-2021, 02:58 PM - Forum: General Coding Help - No Replies

I pull data out of a data table to assign to a object's variables. I use these object variables to assign to kivy text input.text. There are numerous ..... More

Print this item

  PDF Merge Tool
Posted by: Rajasekaran - Dec-11-2021, 06:22 AM - Forum: General Coding Help - Replies (3)

I want to create the Collate (merge) PDF files from page level pdf. When i am executing the below coding it showing below error message, but 4 pdf fil..... More

Print this item

  smallest float that can increment a given value
Posted by: Skaperen - Dec-11-2021, 05:01 AM - Forum: News and Discussions - Replies (7)

given a float value, i want to get the smallest float value that can increment the given value. below that added to the given value leaves the same g..... More

Print this item

  Python certification
Posted by: jlal81 - Dec-11-2021, 04:11 AM - Forum: News and Discussions - Replies (4)

Hello there

Has anyone done python certification?

Please share which one you did. I have been inclining to do https://pythoninstitute.org/certif..... More

Print this item

  Loop reading csv file problem
Posted by: faustineaiden - Dec-10-2021, 10:02 PM - Forum: General Coding Help - Replies (1)

Read 1 csv file data code, it works well


[python]import csv
import pandas as pd
import numpy as np
import torch

data = []
fname = 'C:/User..... More

Print this item

  mido MIDI-file; how to distinguis tracks?
Posted by: philipbergwerf - Dec-10-2021, 04:48 PM - Forum: General Coding Help - Replies (2)

I did already some code which prints all midi messages in a dict using mido. This is the result of a test midi-file:

{'type': 'time_signature', 'nu..... More

Print this item

  Question about NameError
Posted by: Than999 - Dec-10-2021, 03:08 PM - Forum: General Coding Help - Replies (2)

Hi, I am learning Python object oriented programming through this Youtube video. I am following along with his code. However, I am getting a "NameEr..... More

Print this item

  I want to create an automated website in python
Posted by: mkdhrub1 - Dec-10-2021, 02:41 PM - Forum: Web Scraping & Web Development - Replies (2)

I want to create an automated website in python. I have seen some sites which have 1000 of pages and each page is generated based on some keyword sear..... More


Attached Files

Thumbnail(s)
   
Print this item

  deleted
Posted by: Overdue - Dec-10-2021, 01:10 PM - Forum: General Coding Help - No Replies

deleted

Print this item

  Reshape txt file into particular format using python
Posted by: shantanu97 - Dec-10-2021, 11:44 AM - Forum: General Coding Help - No Replies

1.I need to convert the following .txt file into csv format using Python. Basically, we need to reshape the wide txt data to long data format, but the..... More


Attached Files

Thumbnail(s)
       

.txt   Inputfile.txt (Size: 21.89 KB / Downloads: 364)
Print this item

  Puzzling error
Posted by: PythonNewbee - Dec-10-2021, 09:21 AM - Forum: General Coding Help - Replies (1)

Hi Guys

Hope you can help me with an error I don't understand.
I have the following code snippet which throws an error I don't understand:

[pyt..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Can I develop a live vide... 27 minutes ago mtrkhan ShaneCorn Web Scraping ...
  Backward compatibility qu... 1 hour ago yutaozhou Gribouillis News and Disc...
  Help with Serial.write in... 8 hours ago racingsubby racingsubby General Codin...
  [Tkinter] I’m building a ... 11 hours ago tsgiannis Gribouillis GUI
  [split] print two differe... Yesterday, 05:37 Reema Gribouillis General Codin...
  Data Science Yesterday, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [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
Most views
  The best Prog... 578767
  Tutorial Requ... 509592
  Web Scraping ... 441886
  Newbie with P... 385859
  New Users Int... 375590
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+ 12103
buran 8195
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
ShaneCorn Today
thebigback Yesterday
dimitriwati Yesterday
johnsonlucas83 Yesterday
ColorTig Yesterday

User Panel Messages

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