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,942
» Latest member: Littlefish
» Forum threads: 38,723
» Forum posts: 175,517

Full Statistics

Online Users
There are currently 40 online users.
» 0 Member(s) | 32 Guest(s)
Bing, AOL, Google, AOL, Facebook Dev

Latest Threads
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
1 hour ago
» Replies: 8
» Views: 225
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
2 hours ago
» Replies: 1
» Views: 1,704
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
4 hours ago
» Replies: 0
» Views: 50
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 4,428
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 841
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
Sep-19-2025, 12:30 PM
» Replies: 1
» Views: 3,677
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,190
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,706
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,516
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,616

 
  Copy the Contacts (members) of a Group on WhatsApp Web
Posted by: danilobtos - Mar-29-2021, 01:33 PM - Forum: Web Scraping & Web Development - Replies (1)

Hello friends,
How do I Copy the Contacts (members) of a Group on WhatsApp Web.?
I have a Python application that opens WhatsApp Web, filters the Gr..... More

Print this item

  I want to search a variable for a string D90
Posted by: lostbit - Mar-29-2021, 12:11 PM - Forum: General Coding Help - Replies (3)

Very sorry to post such a basic question,
I have been reading and trying so many things
with no luck.

Platform is rasberry PI 4 running astrober..... More

Print this item

  How do I make a symmetric matrix from a column vector?
Posted by: leocsmith - Mar-29-2021, 10:33 AM - Forum: General Coding Help - Replies (3)

I have to transfer some code from MATLAB to python. The code takes a (300x1) column matrix, A, and converts it into a (24x24) symmetric matrix, B. As ..... More

Print this item

  High-Precision Board Voltage Reading from Python into PD
Posted by: Liam484 - Mar-29-2021, 09:54 AM - Forum: General Coding Help - Replies (1)

I am looking for some advice on python scripting into pure data. The plan is to receive an incoming voltage via the High-Precision AD/DA Board into th..... More

Print this item

  How can I find air pollution by geographical coordinates?
Posted by: AlekseyPython - Mar-29-2021, 07:54 AM - Forum: Data Science - Replies (1)

I have the geographical coordinates of meteorological stations and indicators of air pollution at these points. How to mathematically obtain air pollu..... More

Print this item

Smile Set 'Time' format cell when writing data to excel and not 'custom'
Posted by: limors - Mar-29-2021, 07:09 AM - Forum: General Coding Help - Replies (3)

Hi Smile ,

I am using python v3.6 with xlsxwriter. Writing time into excel cell. The problem that I see that the format cell is custom and not ..... More

Print this item

  failing to print not matched lines from second file
Posted by: tester_V - Mar-29-2021, 04:17 AM - Forum: General Coding Help - Replies (14)

Greetings!
For some reason, I do not get the iterations in Python. Sad
Especially with "Else". Confused
here is a problem, I have two fil..... More

Print this item

  GridSearchCV for multi-label classification
Posted by: mapypy - Mar-29-2021, 01:58 AM - Forum: Data Science - No Replies

hi,
I am doing a multi-label text classification, and I am getting the following errors when I attempt to do a Gridsearch to get best params over mu..... More

Print this item

  RuntimeError: generator raised StopIteration
Posted by: quest - Mar-28-2021, 08:02 PM - Forum: General Coding Help - Replies (1)

Hello,
I created this class:

[python]


class ssource:
def __init__(self, n):
self.list1=[]
self.list2=[]
self..... More

Print this item

  Updating dictionary in another py file
Posted by: tommy_voet - Mar-28-2021, 07:22 PM - Forum: Homework - Replies (1)

Hi all,

I have 2 py files. Stock.py and data.py. I use a dictionary from the data file and would like to update it from within the stock file.
..... More

Print this item

  Your Guidance
Posted by: caslor - Mar-28-2021, 06:58 PM - Forum: General Coding Help - Replies (1)

Hi to all. I am newbie in Python programming (have read some articles and see youtube tutorials as a start)
i know to write in C++ (as i self taught ..... More

Print this item

Video Movie Recommender
Posted by: oslagosboi - Mar-28-2021, 05:53 PM - Forum: Data Science - Replies (3)

Hello I'm trying to run this code, but I get this error on line 47 that,
Another way I can fix it is if I add an index column to the dataframe from ..... More

Print this item

  Biggest community Python Web framework
Posted by: Wido - Mar-28-2021, 04:40 PM - Forum: Web Scraping & Web Development - Replies (2)

Hello all!
What Python Web framework has the strongest community?
Thank you.

Print this item

  keyboard listener
Posted by: DPaul - Mar-28-2021, 07:15 AM - Forum: General Coding Help - Replies (5)

Hi,

I am looking for a module that will do the simplest of things:
An app starts, and it waits for the user to enter 1 keyboard key (=validated if ne..... More

Print this item

  instance methods sharing addresses
Posted by: mim - Mar-28-2021, 05:04 AM - Forum: General Coding Help - Replies (1)

is it true:
all the objects of a particular class have their own data members but share the member functions, for which..... More

Print this item

  instance methods
Posted by: mim - Mar-28-2021, 05:01 AM - Forum: General Coding Help - Replies (7)

why the address of __init__ in this code is similar:

[python]class c:
def __init__(self,color):
print (f"id of self in __init__ on cl..... More

Print this item

  AttributeError Traceback (most recent call last)
Posted by: quest - Mar-28-2021, 01:03 AM - Forum: General Coding Help - Replies (5)

Hello,

I created a class:

[python]
class inportProp:

def __init__(self, t0, tM, incoming, phys, clinkdt, otherport=None, name=''):
..... More

Print this item

  replace in code vs literals
Posted by: Skaperen - Mar-28-2021, 12:37 AM - Forum: General Coding Help - Replies (3)

i have a string of Python code. i want to replace(';','\n') for the code but not for any ';' in literal stri..... More

Print this item

  I need help for adding def to my code
Posted by: muzaffarshamsiev - Mar-27-2021, 09:41 PM - Forum: Homework - Replies (1)

so we wrote this and a tutor asked us to add a def how to add it?

[python]import random

# library that we use in order to choose
# on random w..... More

Print this item

  Encoding Problem?
Posted by: Konlork - Mar-27-2021, 05:18 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi all,

i have an issue crawling results from google. The first results are extracted correctly, but the 8th result throws an exception.
This is m..... More

Print this item

Photo After using models.Model on my class Im getting 'ImproperlyConfigured' error Django
Posted by: khavro - Mar-27-2021, 04:47 PM - Forum: Web Scraping & Web Development - Replies (1)

This question is not only about Python but about Django framework as well.

1. I just started a new project in django, I run the command 'django-adm..... More

Print this item

  Python dictionary with values as list to CSV
Posted by: Sritej26 - Mar-27-2021, 03:54 PM - Forum: General Coding Help - Replies (4)

Hello,
I have a dictionary in this way
tdm={
word1: [0,0,0,1.....] -> 253 values in the list
word2: [0,25,0,2.....]
.
.
.
word 12,000: [..... More

Print this item

  Reconnect to an API?
Posted by: stylingpat - Mar-27-2021, 03:24 PM - Forum: General Coding Help - Replies (1)

Hello everyone, my Python program connects to an API, is there any way to make it try and "auto reconnect" every 1 min to the said API if it gets disc..... More

Print this item

  Capture Scheme ( http e https )
Posted by: JohnnyCoffee - Mar-27-2021, 03:10 PM - Forum: General Coding Help - No Replies

I am using the socketserver as the example below to establish connections in the tcp layer and to be able to have interactions with the http data proc..... More

Print this item

  Scraping a page with log in data (security, proxies)
Posted by: iamaghost - Mar-27-2021, 02:56 PM - Forum: Web Scraping & Web Development - Replies (1)

Hey guys,

I have a few questions regarding the safety issues whilst scraping the web.

Im working for an agency selling tickets for a big fligh..... More

Print this item

  New Email Provider
Posted by: snippsat - Mar-27-2021, 02:56 PM - Forum: Board - No Replies

We have signed up for new Email provider which is Amazon SES(Simple Email Service).
We had some trouble with Gmail which needed to be reactivated reg..... More

Print this item

  reading lines from a string [Solved]
Posted by: ebolisa - Mar-27-2021, 02:55 PM - Forum: General Coding Help - Replies (14)

Hi,

The code below works, but it has too many lines. I tried to shorten it, but I get OSError: [Errno 36] File name too long..... More

Print this item

  PySimpleGUI keeps running after LibreOffice crashs
Posted by: FernandoCabral - Mar-27-2021, 02:22 PM - Forum: GUI - Replies (4)

This is a PySimpleGUIQt issue, not necessarily a PyQt issue. I posted it here for similarity, because I didn't find a PySimpleGUIQt thread.

Here is..... More

Print this item

  Converting decimals
Posted by: stylingpat - Mar-27-2021, 11:23 AM - Forum: General Coding Help - Replies (3)

Good morning!

If I have a variable that is let’s say 2000.846

What would be the easiest way to convert the decimals to a specific number?

If ..... More

Print this item

  Add column based on others
Posted by: timste - Mar-27-2021, 10:52 AM - Forum: Data Science - Replies (8)

Hi there,

This is a dataframe with glacial lakes and their volume:

[python]
data = {'Volume': ['50', '100', '100', '90', '60', '200', '150', '..... More

Print this item

  Calcolate the average of numbers from a .txt file
Posted by: francescomiles - Mar-27-2021, 10:24 AM - Forum: General Coding Help - Replies (2)

I start to learn programming few weeks ago and I'm trying to do an exercise that ask me to calculate the average of a list of number from a text file...... More

Print this item

  How to solve AttributeError
Posted by: Roshan - Mar-27-2021, 07:08 AM - Forum: General Coding Help - Replies (5)

I am using line chart in tkinter.

First i create button event, then generate number graph & updating graph & working fine.

Now change program & ..... More

Print this item

  Displaying database info in QTableWidget
Posted by: thewolf - Mar-27-2021, 01:32 AM - Forum: GUI - Replies (6)

I was trying to keep my code somewhat organized and I ran into a slight problem and I'm hoping I won't have to restructure it too much. I have two fil..... More

Print this item

  Python can't find a library which is definitely there!
Posted by: Pedroski55 - Mar-26-2021, 11:23 PM - Forum: General Coding Help - Replies (1)

EDIT: I managed to get it working with:

Quote:sudo apt-get install libzbar0

Don't know what I have in my .local folder, must be something fo..... More

Print this item

  IoT Air Monitoring System
Posted by: project_science - Mar-26-2021, 08:14 PM - Forum: General Coding Help - No Replies

Hi,

I’m looking to make a small IoT project / test automation with my Raspberry Pi. I have a light and temperature sensor. I want to make an air ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Using a For Loop to subtr... 1 hour ago Anunderling deanhystad General Codin...
  Another app idea - intera... 2 hours ago decuser Lenowell News and Disc...
  A coding beginner needs h... 4 hours ago Littlefish Littlefish General Codin...
  403 Error 09-20, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  Scraping a page with log ... 09-19, 12:30 iamaghost Hershien Web Scraping ...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
Most views
  The best Prog... 576534
  Tutorial Requ... 498481
  Web Scraping ... 440413
  Newbie with P... 384316
  New Users Int... 367482
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 8175
snippsat 7368
deanhystad 6893
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Littlefish Today
Noya_Yonatan Yesterday
Saipython555 Yesterday
Anunderling Yesterday
Monir Yesterday

User Panel Messages

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