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,235
» Latest member: Alfredd
» Forum threads: 38,776
» Forum posts: 175,790

Full Statistics

Online Users
There are currently 52 online users.
» 0 Member(s) | 48 Guest(s)
Bing, Applebot, Google

Latest Threads
Two arguments in input fu...
Forum: General Coding Help
Last Post: noisefloor
4 hours ago
» Replies: 3
» Views: 70
Backward compatibility qu...
Forum: News and Discussions
Last Post: buran
6 hours ago
» Replies: 3
» Views: 90
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Yesterday, 07:29 PM
» Replies: 0
» Views: 62
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 11:59 AM
» Replies: 3
» Views: 97
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Yesterday, 09:09 AM
» Replies: 452
» Views: 375,015
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Yesterday, 06:07 AM
» Replies: 2
» Views: 3,362
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,549
Code runs perfectly and j...
Forum: General Coding Help
Last Post: noisefloor
Nov-05-2025, 05:56 PM
» Replies: 2
» Views: 178
Natural language processi...
Forum: Homework
Last Post: offsoar
Nov-05-2025, 02:03 PM
» Replies: 2
» Views: 3,192
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-05-2025, 08:31 AM
» Replies: 5
» Views: 7,436

 
  [Solved]Help with BeautifulSoup.getText() Error
Posted by: Extra - Dec-04-2022, 12:06 AM - Forum: Web Scraping & Web Development - Replies (5)

Hello,

I'm trying to test this code that checks the price of an Amazon product, but when I try running it, I get this error:
[error]
line 31, in ..... More

Print this item

  start and stop websocket-client using button GUI
Posted by: zinho - Dec-03-2022, 11:15 PM - Forum: GUI - Replies (5)

Hi.

I have 1 script that get data from Binance using websocket-client lib and save into data base, then second script get the best COIN from data b..... More

Print this item

  Make code non-blocking?
Posted by: Extra - Dec-03-2022, 10:06 PM - Forum: General Coding Help - No Replies

Hello,

I have this chunk of code:
[python]
#-------------------------------------------------------------------------------------
# ..... More

Print this item

  Dataframe Comparison
Posted by: tdbozarth - Dec-03-2022, 09:02 PM - Forum: General Coding Help - Replies (7)

Hi all. I am pretty new to this language. I have a dataframe of 18col x 36k rows containing SKU data. Within this data there are Category and Subca..... More

Print this item

  Trying to create a visual rock paper scissors game
Posted by: urmom33 - Dec-03-2022, 06:26 PM - Forum: General Coding Help - Replies (1)

Hello everyone, hope y'all are good. Today I tried creating the classic rock paper scissors game, but not in the console, but opening a window which s..... More


Attached Files
Image(s)
           
Print this item

  Principles
Posted by: astral_travel - Dec-03-2022, 06:08 PM - Forum: News and Discussions - Replies (9)

Hi,

Say, is there a principle for simplification of code ?

Print this item

  an error while copying code
Posted by: astral_travel - Dec-03-2022, 03:00 PM - Forum: General Coding Help - Replies (9)

i don't know if to call it an error,
but when i try to copy code from messages in the forum - it writes me this patch named - NBSP
which takes up al..... More


Attached Files

Thumbnail(s)
   
Print this item

  reading a table which is of type string
Posted by: saisankalpj - Dec-03-2022, 10:55 AM - Forum: General Coding Help - Replies (2)

[python]
Date Count persons
------------------- ---------- -------
2022/11/01-12:48:06 51 girls
2022/11/01-12:48:11 ..... More

Print this item

  Get sender of email
Posted by: Pedroski55 - Dec-03-2022, 09:22 AM - Forum: General Coding Help - No Replies

I am trying to make imaplib work for me. I read several online guides and did what they said.

Yesterday, I could get the subject and the sender, but ..... More

Print this item

  TypeError: 'float' object is not callable
Posted by: TimofeyKolpakov - Dec-02-2022, 11:23 PM - Forum: General Coding Help - Replies (3)

The first time everything works, but when I try to run the code on the second round, it gives an error after entering the variable "average". What cou..... More

Print this item

  computer & programming jokes !
Posted by: astral_travel - Dec-02-2022, 07:50 PM - Forum: Bar - Replies (1)

a friend of mine who works in QA told me this joke -

A kid comes to his mom, who is a programmer, and asks her why does the sun rise in the east a..... More

Print this item

Shocked Why this code does not go into an infinite loop?
Posted by: 2367409125 - Dec-02-2022, 05:32 PM - Forum: General Coding Help - Replies (2)

[python]
import time
def time_master(func):
def call_func():
print("start program")
start = time.time()
func()
..... More

Print this item

  List of random numbers
Posted by: astral_travel - Dec-02-2022, 02:42 PM - Forum: General Coding Help - Replies (17)

Hi,
i have the following code:

[python]
import random


def newlist(x):
y = []
for i in x:
if i not in y:
y.ap..... More

Print this item

  CustomSortFilterProxyModel Class Using
Posted by: hasantr - Dec-02-2022, 06:39 AM - Forum: GUI - Replies (2)

Hello friends. I tried very hard to adapt this class to a list but I couldn't do it, I'm new to QT, my OOP knowledge is not enough. The developer did ..... More

Print this item

  How could I fix this error?
Posted by: urmom33 - Dec-01-2022, 06:36 PM - Forum: General Coding Help - Replies (4)

Hello everyone, I'm new at python, and as I wanted to learn some basic python, I decided to create a project using python turtle. I spent some hours a..... More

Print this item

  Shallow copy question
Posted by: Calflo - Dec-01-2022, 05:09 PM - Forum: General Coding Help - Replies (1)

Taking coursea class and not sure I understand the following. In the code example below I don't understand why 'marsupials' is added to the variable..... More

Print this item

  How to loop through all excel files and sheets in folder
Posted by: jadelola - Dec-01-2022, 12:48 PM - Forum: General Coding Help - Replies (1)

Using python 3. I need to loop through a folder that contains excel files and each file has multiple sheets. How do I loop through all the files and a..... More

Print this item

  Trying to Get Arduino sensor data over to excel using Python.
Posted by: eh5713 - Dec-01-2022, 05:13 AM - Forum: General Coding Help - Replies (1)

I have most of the code written. I want to add the first two columns of the csv file to be date and time. And, have DATE and TIME in the headers. Whe..... More


Attached Files

.csv   file.csv (Size: 378 bytes / Downloads: 311)
Print this item

  Mapper between python and GraphQL
Posted by: dapalex - Dec-01-2022, 01:29 AM - Forum: Code sharing - No Replies

I developed a library that acts as a mapper between python and GraphQL languages for GraphQL clients allowing a code-first approach when fetching data..... More

Print this item

  It is again THAT time of the year...
Posted by: buran - Nov-30-2022, 09:31 PM - Forum: News and Discussions - Replies (3)

https://adventofcode.com/

just a reminder :-)

Print this item

  Reading All The RAW Data Inside a PDF
Posted by: NBAComputerMan - Nov-30-2022, 06:20 PM - Forum: General Coding Help - Replies (4)

Hi, can anyone suggest code that I can use that will return all the raw data in a PDF (including any special tags/mark up applied to text).

Appreci..... More

Print this item

  Create UI interface to show a web page
Posted by: denissanga - Nov-30-2022, 03:24 PM - Forum: GUI - No Replies

Hi all,
I would like to create a python ui to show a web page with link hidden. In particular I created a node-red dashboard and I would install on c..... More

Print this item

  AR roots for VAR coefficients
Posted by: Scott - Nov-30-2022, 12:10 AM - Forum: Data Science - Replies (2)

Hi everyone,

Does anyone know if there is a python equivalent to this r code:

https://robjhyndman.com/hyndsight/arma-roots/

Thanks

Print this item

Question Emacs 28 and venv
Posted by: pisterpesto - Nov-29-2022, 10:12 PM - Forum: News and Discussions - Replies (1)

I am hoping for a fellow Emacs user being here.

I would be very happy if something could explain to me dump terms how I get Emacs to be aware a sta..... More

Print this item

  i2c on Raspberry Pi 4 - MCP23017 - Arduino Mega
Posted by: DigitalID - Nov-29-2022, 07:41 PM - Forum: General Coding Help - Replies (3)

Greetings,

I am having the hardest time trying to find a good sample code to start expanding my GPIOs on my Raspberry Pi 4. The problem is I am not..... More

Print this item

  Meme API
Posted by: Rikkert - Nov-29-2022, 04:17 PM - Forum: Homework - No Replies

Hello

I'm a beginning student who started programming.
For school we need to work with 2 api's. I'm using Discord and meme-api.herokuapp.
I am able t..... More

Print this item

  is it possible to copy image from email and place into excel file?
Posted by: cubangt - Nov-29-2022, 04:03 PM - Forum: General Coding Help - Replies (3)

So we have a daily email from 3rd party that has a statistics graph embedded in the body of the mail we receive. We have a daily dashboard that we dis..... More

Print this item

  fetching exit status hangs in paramiko
Posted by: saisankalpj - Nov-29-2022, 02:26 PM - Forum: General Coding Help - Replies (3)

Hi,

I am using paramiko library to run interactive shell.
As per my requirement ,I needed to execute a command (say command3) only after executing..... More

Print this item

  Plotting Spectogram of a Time domain signal
Posted by: shuchi - Nov-29-2022, 01:50 PM - Forum: Homework - Replies (2)

I have acquired amplitude time series and I am trying to plot the spectogram and do annotation of the signal for different activity in python. Can som..... More


Attached Files

.csv   csi_sitnwalk.csv (Size: 6.02 KB / Downloads: 252)
Print this item

  extract only text strip byte array
Posted by: Pir8Radio - Nov-29-2022, 01:39 PM - Forum: General Coding Help - Replies (7)

first of, awesome forum. you guys have been super helpful to a noob.. without guilting me into "reading the manual" this is how i learn, and glad y..... More

Print this item

Question Python request (post/get)
Posted by: Drunknmonkie - Nov-29-2022, 12:02 PM - Forum: Web Scraping & Web Development - Replies (1)

Is using requests post method the correct way to fill in a search box on a website?

I have been reading the docs and they all seem to suggest using..... More

Print this item

  Extract value from a list
Posted by: thesquid - Nov-29-2022, 12:01 PM - Forum: General Coding Help - Replies (2)

I am using an api from a site called dataforseo and I get this result in python (the code is: print(response) ) :

[python]{'version': '0.1.2..... More

Print this item

  How do I scrape profile information from Twitter People search results?
Posted by: asdad - Nov-29-2022, 10:25 AM - Forum: General Coding Help - No Replies

I am looking to scrape the text in the Location field (if any) from these search results on Twitter: https://twitter.com/search?q=%F0%9F%87%BA%F0%9F%8..... More

Print this item

  help to increment a third list
Posted by: hermine - Nov-29-2022, 10:13 AM - Forum: General Coding Help - Replies (7)

Hi every one!

I'm really a beginner, so I hope this can be easy for you! I have a list named 'array' :
['B', '494', 'C', '495', '504', 'R', '505..... More

Print this item

  Suggestions for coding of multiple commands
Posted by: astroashton - Nov-29-2022, 04:43 AM - Forum: General Coding Help - Replies (3)

Hi, I use a program as a downloader, however I have to enter each URL every time. Can anyone suggest a way to use either a text/bat/SQL code so that w..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Two arguments in input fu... 4 hours ago Alfredd noisefloor General Codin...
  Backward compatibility qu... 6 hours ago yutaozhou buran News and Disc...
  [Tkinter] I’m building a ... Yesterday, 19:29 tsgiannis tsgiannis GUI
  [openpyxl] Set the lockin... Yesterday, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... Yesterday, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... Yesterday, 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...
  Natural language processi... 11-05, 14:03 maaaa2401 offsoar Homework
  Can I develop a live vide... 11-05, 08:31 mtrkhan ankitsharma32 Web Scraping ...
  [SOLVED] Linefeed when wr... 11-04, 11:51 Winfried buran General Codin...
Most views
  The best Prog... 578672
  Tutorial Requ... 509058
  Web Scraping ... 441834
  Newbie with P... 385782
  New Users Int... 375015
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 8194
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 24
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Alfredd Today
clayote Today
yutaozhou Yesterday
EchoFlowar3Dip Yesterday
ironwolfan7Dip Yesterday

User Panel Messages

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