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,256
» Latest member: TomTMH
» Forum threads: 38,782
» Forum posts: 175,831

Full Statistics

Online Users
There are currently 37 online users.
» 0 Member(s) | 32 Guest(s)
Applebot, Google, AOL

Latest Threads
New to python and coding
Forum: Homework
Last Post: jefsummers
1 hour ago
» Replies: 6
» Views: 166
Please guide me to comple...
Forum: General Coding Help
Last Post: pbkurd
2 hours ago
» Replies: 0
» Views: 28
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
3 hours ago
» Replies: 6
» Views: 94
Backward compatibility qu...
Forum: News and Discussions
Last Post: noisefloor
9 hours ago
» Replies: 6
» Views: 338
why is the image not show...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 07:26 PM
» Replies: 2
» Views: 105
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 10:11 AM
» Replies: 6
» Views: 235
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Nov-11-2025, 09:52 AM
» Replies: 11
» Views: 365
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 141
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,639
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 243

 
  using re.search()
Posted by: ebolisa - May-10-2021, 06:48 PM - Forum: General Coding Help - Replies (5)

Hi,

I'm trying to read the outputs from a GPS device. The only data I'm interested in is the one between the words '$GPGGA' and '$GPGSA'.

The co..... More

Print this item

  Basic help with a dataframe
Posted by: stylingpat - May-10-2021, 05:23 PM - Forum: Data Science - Replies (2)

Hello everyone, I am just running a loop through a data frame. Here is an example of it.

[output]{'NQ':
Date ..... More

Print this item

  web3
Posted by: adam2001 - May-10-2021, 05:12 PM - Forum: General Coding Help - Replies (1)

Hi, when installing web3 module i've got the following error (C+++ is already installed):


ERROR: Failed building wheel for bitarray
ERROR: Comma..... More

Print this item

  List index out of range when turning CSV into dict
Posted by: ranbarr - May-10-2021, 01:06 PM - Forum: Homework - Replies (15)

Im trying to make a CSV file into a dict but I keep getting IndexError: list index out of range..
The CSV looks like this:
Num Country From To Partici..... More

Print this item

  TypeError: __init__() got an unexpected keyword argument 'value'
Posted by: Anldra12 - May-10-2021, 09:21 AM - Forum: General Coding Help - Replies (7)

[quote]This is overall code it return me an error TypeError: __init__() got an unexpected keyword argument 'value'
where return the general tree to f..... More

Print this item

  Calculate median for school grades per subject
Posted by: siki - May-10-2021, 08:33 AM - Forum: Homework - Replies (1)

Hi,

I need some help with calculating median for school grades for subject or subject and diffuculty level (..200, 300).

The text is not in engl..... More

Print this item

  os.getcwdb()
Posted by: Skaperen - May-10-2021, 02:11 AM - Forum: News and Discussions - No Replies

has anyone here ever used os.getcwdb()?

Print this item

  How to put users in a dictionary?
Posted by: nostradamus64 - May-09-2021, 10:10 PM - Forum: General Coding Help - Replies (3)

How do i put my users in a dictionary, then access the key value pairs uid, name and shell?

Print this item

  Decoupling business logic from GUI elements
Posted by: Oolongtea - May-09-2021, 08:23 PM - Forum: GUI - Replies (4)

I'd like some insight on how to structure a PyQt GUI architecture in a way that decouples the GUI from the underlying business logic.
My understandin..... More

Print this item

  BeautifulSoup: 6k records - but stops after parsing 20 lines
Posted by: apollo - May-09-2021, 07:40 PM - Forum: Web Scraping & Web Development - No Replies

dear Python-experts, dear community - dear Snippsat and Larsz60+ Smile


for the sake to create a quick overview on a set of opportunities fo..... More

Print this item

  creating dict out of CSV file without the headers
Posted by: ranbarr - May-09-2021, 07:28 PM - Forum: Homework - Replies (6)

Hi all,
Im pretty new to python and Im learing how to import CSV and make it a dictionary
I made it but I dont know how to remove the headers and th..... More

Print this item

  I wrote a cryptographic algorithm!
Posted by: keames - May-09-2021, 07:03 PM - Forum: Code sharing - Replies (3)

I am a hobbyist programmer with an occasional fascination with cryptography. I'm in no way a cryptographer, and my algorithm hasn't been vetted or pee..... More

Print this item

  iretate over columns in df and calculate euclidean distance with one column in pandas
Posted by: Pit292 - May-09-2021, 06:46 PM - Forum: Data Science - No Replies

Hi, I have a dataset with several columns (Time Series) and I would like to synchronize them - the 'col2' should be the reference.

[img]https://i.s..... More

Print this item

  Listing All Methods Of Associated With A Class
Posted by: JoeDainton123 - May-09-2021, 04:42 PM - Forum: General Coding Help - Replies (3)

Hello

I wanted to ask whether it was possible to list all the methods associated with a Class for example:-

I have created the following class:-..... More

Print this item

  Glow text of clickable object on hover with transition
Posted by: andy - May-09-2021, 08:36 AM - Forum: GUI - Replies (6)

I am relatively new in Tkinter and trying to achieve a glow effect on hover on clickable objects.
I have got this far in my effort which I am ashamed..... More

Print this item

  List of lists - merge sublists with common elements
Posted by: medatib531 - May-09-2021, 02:29 AM - Forum: General Coding Help - Replies (1)

Assume I have list1 as follows:

list1 = [['a','b'],['c','d'],['b','e'],['f','g'],['a','h'],['i','c']]
I want to merge the subli..... More

Print this item

  AttributeError: 'NoneType' object in a parser - stops it
Posted by: apollo - May-09-2021, 01:34 AM - Forum: Web Scraping & Web Development - Replies (4)

dear python-experts good day, Smile



I'm currently working on a parser to make a small preview of a page from a URL given by the user in P..... More

Print this item

  how to keep anaconda up to date?
Posted by: apollo - May-08-2021, 11:44 PM - Forum: Bar - Replies (1)

hi there

i have installed Anaconda on a linux machine. And i have to say - that i like it.
i can run python - without taking care for the environm..... More

Print this item

  Find string between two substrings, in a stream of data
Posted by: xbit - May-08-2021, 10:45 PM - Forum: General Coding Help - Replies (1)

I have this continuous serial data stream:

[python]----------------------------------------

SENSOR COORDINATE = 0

MEASURED RESISTANCE..... More

Print this item

  Modify Class on Button Click
Posted by: KDog - May-08-2021, 10:00 PM - Forum: GUI - Replies (4)

I have a program that shows the live webcam feed from my laptop. It uses Tkinter and OpenCV.
I would like to flip the live video when a button is pre..... More

Print this item

Exclamation URGENT: How to plot data from text file. Trying to recreate plots from MATLAB
Posted by: JamieAl - May-08-2021, 07:00 PM - Forum: Homework - Replies (4)

I have the following data saved from a MATLAB code and they have the following form:
[quote]0,0.001,0.002,0.003,0.004,0.005,0.006,0.007,0.008,0.009,0..... More

Print this item

  Printing Object Names
Posted by: JoeDainton123 - May-08-2021, 06:15 PM - Forum: General Coding Help - Replies (5)

Hello all

I am slowly moving ahead with my python journey. I wanted to ask the following regarding Object Oritentation.

Question 1)

I have c..... More

Print this item

  slideShow App
Posted by: Rubberduck - May-08-2021, 04:50 PM - Forum: General Coding Help - Replies (4)

Hi There,
I'm Rubberduck and an absolut beginner with python but I hope with your great help I become a solid python programmer and learn this fascin..... More

Print this item

  list box select event triggers when selecting another listbox
Posted by: Roshan - May-08-2021, 04:20 PM - Forum: GUI - Replies (1)

Hi !

I have 2 list box.

i have attached event with both list box.

but after 1st click in both list box, when i click any list box both event ..... More

Print this item

Exclamation urgent , Python homework
Posted by: alm - May-08-2021, 03:53 PM - Forum: Homework - Replies (2)

This is what I am supposed to do :



(Anagrams) An anagram of a string is another string formed by rearranging the letters in the first.
Write ..... More

Print this item

Question Need help with class composition / multiple inheritance / polymorphism (?)
Posted by: Alfalfa - May-08-2021, 03:50 PM - Forum: GUI - Replies (4)

Trying to share a class (BodySuperClass), which can be either a QTextEdit or a QPlainTextEdit and contains Qt functions such as focusInEvent;

[pyth..... More

Print this item

  No module named 'pysolar' - even tough pysolar is installed - What am I doing wrong?
Posted by: Jghurt - May-08-2021, 02:39 PM - Forum: General Coding Help - Replies (5)

Hello everyone :)
I have the following problem:

I have Python 3.8 installed and with anaconda3 i used the comand "pip3 install pysolar" to isntal..... More

Print this item

  Draw a grid of Tkinter Canvas Rectangles
Posted by: MrTim - May-08-2021, 12:46 PM - Forum: GUI - Replies (5)

Hello there.

I am back with another question. I am trying to draw a grid of tkinter Canvas Rects. Width and Length was specified in an earlier par..... More

Print this item

  truffe
Posted by: adam2001 - May-08-2021, 09:17 AM - Forum: General Coding Help - Replies (1)

Hi, how to install truffle ( smart contracts) on windows 7 ?

Print this item

  Testing Split elements
Posted by: tester_V - May-08-2021, 05:41 AM - Forum: General Coding Help - Replies (4)

Greetings!
I'm looking for a line that has multiple spaces and the word "Motherboard:" at the beginning of the line.
If it found I would split the l..... More

Print this item

  Error checking and a call to read_cvs
Posted by: rsherry8 - May-07-2021, 07:20 PM - Forum: Data Science - Replies (4)

Please consider the following function:

[python]
import pandas as pd

def read_input(path1, path2):
"""Concat two paths/strs; yields pandas..... More

Print this item

  groupby on var with missing values error
Posted by: zenvega - May-07-2021, 06:26 PM - Forum: Data Science - No Replies

I am simulating credit card utilization data with some missing values. Then I want to create a dual axis plot.

x axis - bins [Missing, 0, 0.1, 0.2,..... More

Print this item

  UPDATE SQLITE TABLE - Copy a fields content to another field.
Posted by: andrewarles - May-07-2021, 04:02 PM - Forum: General Coding Help - Replies (14)

Hi, I am trying to go through filtered records and copy the contents, line by line, of field1 to field2.

Why is the field2 being filled with the sa..... More

Print this item

  AttributeError: ResultSet object has no attribute 'get_text'
Posted by: KatMac - May-07-2021, 03:08 PM - Forum: Web Scraping & Web Development - Replies (1)

On the job web page I am scraping, some of the jobs have a Job Requirements. I am trying to get the list of requirements and having difficulty.

Bel..... More

Print this item

  Upgrade to python 3 opinion
Posted by: hokie1999 - May-07-2021, 02:47 PM - Forum: News and Discussions - Replies (5)

Question on getting started for upgrade from python 2 to python 3:

We here at my company run python 2.7.5 on IDS-type and automation-controlled Cen..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  New to python and coding 1 hour ago lary_p jefsummers Homework
  Please guide me to comple... 2 hours ago pbkurd pbkurd General Codin...
  [solved] re.split issue 3 hours ago paul18fr deanhystad General Codin...
  Backward compatibility qu... 9 hours ago yutaozhou noisefloor News and Disc...
  why is the image not show... Yesterday, 19:26 sarbogast deanhystad General Codin...
  Help with Serial.write in... Yesterday, 10:11 racingsubby Larz60+ General Codin...
  [Tkinter] I’m building a ... 11-11, 09:52 tsgiannis tsgiannis GUI
  [split] print two differe... 11-10, 05:37 Reema Gribouillis General Codin...
  Data Science 11-10, 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...
Most views
  The best Prog... 578930
  Tutorial Requ... 510192
  Web Scraping ... 441945
  Newbie with P... 385963
  New Users Int... 376820
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+ 12107
buran 8195
snippsat 7388
deanhystad 6909
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
TomTMH Today
pbkurd Today
Gichardaxora Today
cc123 Today
Jessicaadams Today

User Panel Messages

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