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,244
» Latest member: thebigback
» Forum threads: 38,779
» Forum posts: 175,812

Full Statistics

Online Users
There are currently 48 online users.
» 1 Member(s) | 42 Guest(s)
Google, Bing, AOL, Mojeek, Google Image, snippsat

Latest Threads
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
15 minutes ago
» Replies: 11
» Views: 211
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
26 minutes ago
» Replies: 3
» Views: 70
New to python and coding
Forum: Homework
Last Post: lary_p
42 minutes ago
» Replies: 0
» Views: 6
Backward compatibility qu...
Forum: News and Discussions
Last Post: Gribouillis
5 hours ago
» Replies: 5
» Views: 209
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 05:37 AM
» Replies: 1
» Views: 79
Data Science
Forum: Data Science
Last Post: mamta25
Yesterday, 05:27 AM
» Replies: 3
» Views: 2,597
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 168
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 163
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,670
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,403

 
  Use one list as search key for another list with sublist of list
Posted by: jc4d - Nov-30-2021, 08:45 AM - Forum: General Coding Help - Replies (4)

Hello,

I have two lists that returns some vector values with it's own name:
list1 = [['orange', [1, 2, 3]]]
list2 = [['apple', [1,..... More

Print this item

  'no module named' when creating packages
Posted by: mbastida - Nov-30-2021, 08:26 AM - Forum: General Coding Help - Replies (4)

Hi, I have a Python Script that I'm attempting to convert into a package to be uploaded to PyPI.

gateway-software/
┣ gateway/
┃ ┣ GPSTrack.py
..... More

Print this item

  Creating a python exe (win) to run on Mac
Posted by: plumberpy - Nov-30-2021, 07:28 AM - Forum: General Coding Help - Replies (3)

I created an exe using pyinstaller but my friend cannot run it on his mac.

A. Any tricks I can use to run that exe on a mac?

B. How to compile a..... More

Print this item

  Optimization using scipy.optimize
Posted by: KaneBilliot - Nov-30-2021, 04:59 AM - Forum: General Coding Help - Replies (3)

The original problem is as follows:
I have a line function that depends on two values (let's call them a and b) that I am using to fit 3 points. Note..... More

Print this item

  a couple of big project i am making plans for
Posted by: Skaperen - Nov-30-2021, 02:08 AM - Forum: News and Discussions - No Replies

actually there are 2 closely related projects.

number 1 is an optical character finder mechanism. it would scam the image of a page to detect wher..... More

Print this item

  Variable scope issue
Posted by: melvin13 - Nov-29-2021, 08:17 PM - Forum: General Coding Help - Replies (2)

Hello,
here's a simplified version of what's causing me trouble :
[python]
x = int

def init(): #
x = 0
return

def f():
x += ..... More

Print this item

Question data enterred through gui is not storing in sqlite3 database
Posted by: Hilal - Nov-29-2021, 07:31 PM - Forum: GUI - Replies (21)

Please help me with my code.
Here is my code. And below this code, the database file is attached.
[python]import sqlite3

from tkinter import * ..... More

Print this item

  handle the error
Posted by: Irv1n - Nov-29-2021, 06:20 PM - Forum: General Coding Help - Replies (5)

I communicate with device and receive data with this function:
[python]
def get_dcv(self):
self.connector.send('DCV?')
return float(self.c..... More

Print this item

  xml
Posted by: FMA - Nov-29-2021, 12:28 PM - Forum: General Coding Help - Replies (1)

Hello everyone,

i'm new to python and i need some help:
I have an xml file:
<Parameter>
<MasterID>1498</MasterID>
<ObjectIDUnique>{C58FB9..... More

Print this item

  creating python server and client in a pc
Posted by: kucingkembar - Nov-29-2021, 04:43 AM - Forum: General Coding Help - Replies (4)

hi, sorry for my bad English,
this is my first post, so sorry if I have mistakes,

currently, I using dl-translate packages to bulk translate all ..... More

Print this item

  unreachable code
Posted by: Skaperen - Nov-29-2021, 02:01 AM - Forum: News and Discussions - Replies (2)

who thinks Python should warn newbies about unreachable code such as code at the same indent that follows a return or continue?

Print this item

  how to destruct a hashlib object?
Posted by: Skaperen - Nov-29-2021, 12:12 AM - Forum: News and Discussions - Replies (2)

how is it intended to destruct a hashlib object when done with it?

1. object.destruct() with whatever method intended
2, ..... More

Print this item

  clearing a hashlib object
Posted by: Skaperen - Nov-28-2021, 07:54 PM - Forum: News and Discussions - No Replies

is there a way to clear/reset a hash object (from hashlib.sha256() for example) so it can be reused for the next bunch of data? i had this capability..... More

Print this item

  what is missing in my while statement ?
Posted by: BPMGUP - Nov-28-2021, 02:08 AM - Forum: General Coding Help - Replies (3)

Hello friends, I'm new here.
I am still a beginner but I am quite familiar with loops and while statement and have used it many times.

I'm trying ..... More

Print this item

  Problem with input after function
Posted by: luilong - Nov-27-2021, 08:05 PM - Forum: General Coding Help - Replies (10)

Good evening to everyone,
I've been learning Python for a few months and i'm experiencing a trouble that seriously
I'm not able to understand, so i ho..... More

Print this item

  Preparing an Installation with Python
Posted by: JgKSuperstar - Nov-27-2021, 01:08 PM - Forum: News and Discussions - Replies (2)

Hi, I want to create a project in python and I want to make money from this project I am creating. The question I'm going to ask is; I don't want the ..... More

Print this item

  How to create subset in python?
Posted by: Bhavika - Nov-27-2021, 09:30 AM - Forum: General Coding Help - Replies (5)

Hi, I have a query about how to create a list of subsets from a given list. I tried doing it but I couldn't get the correct output.
For example, if t..... More

Print this item

  trying to put a a filter on identifying a straight
Posted by: CompleteNewb - Nov-26-2021, 09:44 PM - Forum: General Coding Help - Replies (1)

I have written this code to identify possible straights in a serie of numbers. It works find thanks to the help of the people in this forum, but now I..... More

Print this item

  Programming as a not so smart guy
Posted by: Jan_97 - Nov-26-2021, 08:51 PM - Forum: Bar - Replies (1)

I've always had the impression that programming for the most part is a "Smart guy thing" that has and is generally reserved for the more intellectuall..... More

Print this item

  GUI Advice - What software to use
Posted by: Extra - Nov-26-2021, 07:42 PM - Forum: GUI - Replies (2)

Hello,

I'm working on a personal project and I want to create a G.U.I that I can display/print text outputs and I can input text to.

This is the i..... More

Print this item

Shocked Django __init__() got an unexpected keyword argument 'any'
Posted by: ikurorox - Nov-26-2021, 04:08 PM - Forum: Web Scraping & Web Development - Replies (2)

I do not understand what happened to my application, I was trying to obtain the detail of a user with email field, now I can't list the users that I h..... More


Attached Files

Thumbnail(s)
           
Print this item

  Execute "AT" command in Python
Posted by: Pavel_47 - Nov-26-2021, 04:04 PM - Forum: Networking - Replies (3)

Hello,
To check ICCID value of a modem 4G, I execute AT command in a terminal (e.g. picocom): AT+QCCID.
Is it possible to do the same in Pyth..... More

Print this item

  Moving average strategy
Posted by: irina_shubina - Nov-26-2021, 03:48 PM - Forum: General Coding Help - Replies (2)

[python]import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
plt.style.use ('fivethirtyeight')`

import yfinance as yf

# Set..... More

Print this item

  Check Interenet connection type: 4G or WiFi
Posted by: Pavel_47 - Nov-26-2021, 03:17 PM - Forum: Networking - Replies (1)

Hello,
If two devices are installed (4G and WiFi) how to check which device is making the Internet connection?
Thanks

Print this item

  Need Help with Selenium Explicit Wait
Posted by: gw1500se - Nov-26-2021, 02:58 PM - Forum: Web Scraping & Web Development - Replies (6)

I need to wait for a specific 'div' id to be present and am struggling to understand explicit wait syntax. Here is the tag I want to wait for:

[out..... More

Print this item

  plotting 3d axes
Posted by: estera - Nov-26-2021, 11:36 AM - Forum: General Coding Help - No Replies

Hello!I'm having a problem with plotting 3d axes grid. Can anyone please help me with the code, I'm doing this for my master thesis.

So, I need a ..... More

Print this item

  OpenPyXl formatting issues
Posted by: kpayney1 - Nov-26-2021, 01:55 AM - Forum: General Coding Help - No Replies

Hi all,
I have written a code that pulls certain columns and rows of values from one sheet and copies it into a template then saves it as another fil..... More

Print this item

Question Setuptools CLI program ModuleNotFoundError after splitting up module into package
Posted by: Postbote - Nov-25-2021, 06:23 PM - Forum: General Coding Help - Replies (1)

Hi community!
I wrote a simple command line tool that basically copies Spotify tracks from one playlist to another (minus the duplicates).
For the..... More

Print this item

  Web Scraper with BeautifulSoup4 sometimes no Output
Posted by: Nitsuj - Nov-25-2021, 04:17 PM - Forum: General Coding Help - Replies (2)

Hello,

I need some help with my Python-Script:
I want to make a web scraper to scrape some prices from this website:
https://www.medizinfuchs.de/..... More

Print this item

  Laplacian Exponential Diffusion Kernel
Posted by: ainisyarifaah - Nov-25-2021, 02:06 PM - Forum: Data Science - Replies (1)

Hello everyone. I am working on feature selection of molecular cancer cells, and I use a Laplacian Exponential Diffusion Kernel method for that. I wan..... More

Print this item

  Simple pandas question
Posted by: mcva - Nov-25-2021, 12:26 PM - Forum: Data Science - Replies (4)

I´m using the following code to estimate the moving average for each column (year X) of a dataframe considering a window (pandas.DataFrame.rolling fir..... More

Print this item

Photo Disable checkbox of google maps markers/labels using selenium
Posted by: erickkill - Nov-25-2021, 12:20 PM - Forum: Web Scraping & Web Development - No Replies

Hi. I want to automate a print screen of the google maps page (https://www.google.com/maps/@-23.5973414,-46.640695.15z), using selenium and would like..... More


Attached Files

Thumbnail(s)
       
Print this item

  2 or more data to be written in a row
Posted by: plumberpy - Nov-25-2021, 04:25 AM - Forum: General Coding Help - Replies (2)

A. I am using f.write(str(data1)) to save some data but I am limited to just 1 data per row. How can I save data1, data2, data3, ... in a row?

B. A..... More

Print this item

  sql error
Posted by: arkiboys - Nov-25-2021, 03:55 AM - Forum: General Coding Help - Replies (2)

Hello,
Do you see why I get the error:
[error]cursor.execute("""INSERT INTO Books(ID, Title, Author, DatePublished) VALUES("1", "De Profundis", "Osc..... More

Print this item

  My game's code works but Python still freezes at random intervals.
Posted by: game_slayer_99 - Nov-25-2021, 02:42 AM - Forum: Game Development - Replies (13)

I've been working on my own version of Pong and was able to get everything working properly. I get no error messages in PyCharm prior to running it an..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [Tkinter] I’m building a ... 15 minutes ago tsgiannis tsgiannis GUI
  Help with Serial.write in... 26 minutes ago racingsubby Larz60+ General Codin...
  New to python and coding 42 minutes ago lary_p lary_p Homework
  Backward compatibility qu... 5 hours ago yutaozhou Gribouillis News and Disc...
  [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... 578780
  Tutorial Requ... 509624
  Web Scraping ... 441891
  Newbie with P... 385878
  New Users Int... 375670
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+ 12104
buran 8195
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
thebigback Yesterday
dimitriwati Yesterday
johnsonlucas83 Yesterday
ColorTig Yesterday
AcoolPurpleOne1863 Yesterday

User Panel Messages

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