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,936
» Latest member: suzannesomers61
» Forum threads: 38,722
» Forum posts: 175,510

Full Statistics

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

Latest Threads
Too much space between gr...
Forum: GUI
Last Post: suzannesomers61
1 hour ago
» Replies: 5
» Views: 1,156
Hire a Hacker to Recover ...
Forum: News and Discussions
Last Post: Lucassewall
1 hour ago
» Replies: 0
» Views: 5
403 Error
Forum: Web Scraping & Web Development
Last Post: CaptainNewb
7 hours ago
» Replies: 9
» Views: 2,737
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Yesterday, 10:31 AM
» Replies: 3
» Views: 172
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 519
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 1,678
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 614
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 194
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Sep-15-2025, 03:28 PM
» Replies: 7
» Views: 3,135
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,366

 
  How to quantize a 4 dimensional array?
Posted by: PythonNPC - Apr-23-2022, 03:33 PM - Forum: General Coding Help - Replies (2)

Hello,

I am new to NumPy.

Lets say I have an array:

nparray = np.array(output2)
print(output2.shape)
Output:
[code](1, ..... More

Print this item

  Folium: Conflict with Font Awesome Kit
Posted by: jgomes_eu - Apr-23-2022, 03:18 PM - Forum: General Coding Help - No Replies

Hi everyone,
I've run into a problem with a folium map inside a Dash app.
Here's my code
[python]
import pandas as pd
import branca
import f..... More

Print this item

  semantics of comma inside array brackets
Posted by: usercat123 - Apr-23-2022, 08:09 AM - Forum: Data Science - Replies (2)

hi,

I am trying to understand a piece of code, namely
[python]
import matplotlib.pyplot as plt
import numpy as np
expdat = np.genfromtxt(fname..... More

Print this item

  Compare fields from two csv files
Posted by: georgebijum - Apr-23-2022, 04:16 AM - Forum: General Coding Help - Replies (3)

I am quite new to the Python Programming and would appreciate your help on the below.

Use case - I have Customer files from two sources .Each of th..... More

Print this item

  Código simples
Posted by: Lumen253 - Apr-23-2022, 12:46 AM - Forum: General Coding Help - Replies (1)

Iniciei Python hoje e estou com uma dúvida.

Tenho dois códigos, tentei fazer da forma mais atual um código que estava funcionando e ele deu erro:
..... More

Print this item

  what would break if ...
Posted by: Skaperen - Apr-22-2022, 10:36 PM - Forum: News and Discussions - Replies (4)

what would break if the code syntax was extended so that {{ and }} bounds a frozenset like {..... More

Print this item

  Time series
Posted by: JasminQuinn - Apr-22-2022, 10:33 PM - Forum: General Coding Help - No Replies

Hello, I'm a beginnr and I need help in the Map steps to dates
please help it's urgent!!        


[python]train = pd.r..... More

Print this item

  Multiprocessing queue catch get timeout
Posted by: Pythocodras - Apr-22-2022, 05:43 PM - Forum: General Coding Help - Replies (1)

Hello,
I have a simple script that waits for a queue with a timeout. I would like to catch that specific exception but cant find the correct one.
[..... More

Print this item

  Numpy reshape
Posted by: mr_byte31 - Apr-22-2022, 02:10 PM - Forum: General Coding Help - Replies (1)

I tried to reshape a 3-D matrix using two different ways.
If the end result is 1-D the two methods match
If the end result is 2-D the two method fai..... More

Print this item

  Adding Decimals to classes with OOP + rounding to significant digits (ATM demo)
Posted by: Drone4four - Apr-22-2022, 01:42 PM - Forum: General Coding Help - Replies (7)

I’m learning OOP by trying to build a rudimentary banking ATM machine. It started out an an exercise for Fred Baptiste’s Udemy online courseware but I..... More

Print this item

  Intel 8051 microcontroller emulator
Posted by: estarq - Apr-22-2022, 10:59 AM - Forum: Code sharing - No Replies

I made this app as a BE thesis. It's using Brython to make Python work in Chromium (Electron) and React with Material-UI for the front-end. It's suppo..... More

Print this item

  Optimal way to search partial correspondence in a large dict
Posted by: genny92c - Apr-22-2022, 10:20 AM - Forum: General Coding Help - No Replies

I have got a set of songs, and everyone of these has got a list of tags associated. I am working with senticnet 1.6, which is basically a large dict, ..... More

Print this item

  TypeError: list indices must be integers or slices, not range
Posted by: Anldra12 - Apr-22-2022, 10:15 AM - Forum: General Coding Help - Replies (2)

Get the TypeError: list indices must be integers or slices, not range

[python]def getDistinctX(x_subi, F):
x_subi = []
ind = rando..... More

Print this item

  multiprocessing advices
Posted by: paul18fr - Apr-22-2022, 09:50 AM - Forum: Data Science - Replies (5)

Hi all

For my projecy my current code does the job as expected so far, using massively Numpy and the vectorization whenever possible, using about 2..... More

Print this item

  Problem with datetime [SOLVED]
Posted by: AlphaInc - Apr-22-2022, 09:17 AM - Forum: General Coding Help - Replies (3)

hello everbody,

I'm writing a python3 script which should check daily for the day of easter and if the difference is 5 days it should trigger anoth..... More

Print this item

  json api data parsing
Posted by: elvis - Apr-21-2022, 11:59 PM - Forum: General Coding Help - No Replies

Having issue with this piece of code, its an api that has json text but its not readable.
in _get_mean_subclass
for prod, v in response_API.item(..... More

Print this item

  how I can use the widgets as an argument of a function?
Posted by: pymn - Apr-21-2022, 08:25 PM - Forum: GUI - Replies (9)

In this example, I have an entry and two LabelFrames. I am looking to find out how I can call my LabelFrame through only one function. I have ..... More

Print this item

  Compare variable with values in a file
Posted by: paulo79 - Apr-21-2022, 04:36 PM - Forum: General Coding Help - Replies (1)

I have a file:

cat file1.txt
cel01
cel02
cel03
cel03
I have a Oracle DB cursor that brings some values from to variable ..... More

Print this item

  json format
Posted by: Bubu93200 - Apr-21-2022, 03:15 PM - Forum: General Coding Help - Replies (6)

Hi,

I need your help, please. I'm french. Sorry for my bad english !

I want to append a file with json format but I want to have line carrier re..... More

Print this item

  Hello I’m trying to run a Django python project on docker but when I try to build the
Posted by: Nessa404 - Apr-21-2022, 01:57 PM - Forum: Homework - Replies (1)

Hello I’m trying to run a Django python project on docker but when I try to build the Dockerfile I get this error:

[color=#E74C3C][i]Note that only..... More

Print this item

  simulation of alarm system
Posted by: Frankduc - Apr-21-2022, 12:44 PM - Forum: General Coding Help - Replies (6)

Hello,

I am trying to simulate an alarm system on a raspberry pi. I would like Led2 to blink when intruder is detected.
I would like also to add an ..... More

Print this item

  Child class inheritance issue
Posted by: eakanathan - Apr-21-2022, 09:32 AM - Forum: General Coding Help - Replies (3)

[python]class A:
def __init__(self, name, age):
self.name = name
self.age = age
def details(self):
print (self.na..... More

Print this item

  Install location setup new default
Posted by: Droidling - Apr-21-2022, 02:26 AM - Forum: General Coding Help - Replies (2)

I am working with an existing program that requires Python 3.10 installed at C:\Python310. I know that it's easy enough to change the install location..... More

Print this item

Question inline images
Posted by: rootsmusic - Apr-20-2022, 07:52 PM - Forum: Board - Replies (1)

This post won't let me paste an image, and the image button requires a URL. I don't want the hassle of uploading my image to a URL, but I can easily ..... More

Print this item

Question Pandas Tutor for geopandas
Posted by: rootsmusic - Apr-20-2022, 07:40 PM - Forum: Data Science - Replies (2)

Pandas Tutor can't import the geopandas library. I'..... More

Print this item

  extract and plot data from a txt file
Posted by: usercat123 - Apr-20-2022, 03:56 PM - Forum: Data Science - Replies (2)

Hello,

I want to extract data from a txt file and plot it using the matplot.pyplot module.

The format of the file is as follows:

[python]
""..... More

Print this item

Question Python - List - Int List
Posted by: sophi - Apr-20-2022, 11:24 AM - Forum: Homework - Replies (8)

Hi, I'm new here and I don't speak English well, but I need a lot of help
I have difficult task:
Define an IntList () class whose objects will behav..... More

Print this item

  How to convert ebooks in bulk with Python and Calibre
Posted by: janoroot - Apr-20-2022, 09:11 AM - Forum: Code Review - No Replies

I wrote a Python script that uses Calibre to do ebook conversion in bulk. Multiple child processes are opened in parallel with the help of the module ..... More

Print this item

  [split] Py2exe Writing UNKNOWN-0.0.0-py3.7.egg-info
Posted by: sarahroxon7 - Apr-20-2022, 07:49 AM - Forum: General Coding Help - Replies (1)

Damm even though I am having a similar kind of issue, I have searched all over the internet [size=1][color=#F3F3F3]slope ga[url=https://python-forum.io/thread-36991.html]..... More

Print this item

  pip install requests doesnt work
Posted by: misodca - Apr-20-2022, 07:32 AM - Forum: General Coding Help - Replies (8)

Hello guys,
I am total newbie in python and I want to try it.

So first I run Terminal (or at least I think this is terminal) > python.exe
Then I..... More

Print this item

Question Timing actions with Python
Posted by: dangermaus33 - Apr-19-2022, 09:54 PM - Forum: General Coding Help - No Replies

I am trying to time certain actions in apps like Excel, Power BI, Tableau, some Adobe apps, but I am having trouble getting the end time of an action...... More

Print this item

Question Selenium with proxy authenticated and incognito
Posted by: keahi32 - Apr-19-2022, 09:52 PM - Forum: General Coding Help - No Replies

Hi i want to make a script with selenium and add proxy with username and password, but i need incognito too

Print this item

  Create array of values from 2 variables
Posted by: paulo79 - Apr-19-2022, 06:43 PM - Forum: General Coding Help - Replies (1)

I have 2 variables that have values like :
[python]
var1=cel01 var2=disktypeHD
var1=cel02 var2=disktypeEF
var1=cel03 var2=disktypeEF
var1=cel04 ..... More

Print this item

Photo a.sort() == b.sort() all the time
Posted by: 3lnyn0 - Apr-19-2022, 06:22 PM - Forum: General Coding Help - Replies (1)

Hi!

Why a.sort() is equal with b.sort() all the time?

[python]words = ['aabb', 'abcd', 'bbaa', 'dada']
word = 'abba'
def anagram(word, words):..... More

Print this item

  name 'lblstatus' is not defined when referencing a label
Posted by: KatManDEW - Apr-19-2022, 05:25 PM - Forum: General Coding Help - Replies (4)

I'm trying to create an app that opens a window with a calendar and then after the calendar window is close it will countdown until the selected date ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [Tkinter] Too much space ... 1 hour ago RonR suzannesomers61 GUI
  Hire a Hacker to Recover ... 1 hour ago Lucassewall Lucassewall News and Disc...
  403 Error 7 hours ago CaptainNewb CaptainNewb Web Scraping ...
  datetime in SQL query. Yesterday, 10:31 Dibbley Dibbley General Codin...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
  Select Python comment (#)... 09-14, 23:27 SpongeB0B Pedroski55 General Codin...
  data input while debuggin... 09-14, 15:32 fred1232 deanhystad General Codin...
Most views
  The best Prog... 575944
  Tutorial Requ... 497336
  Web Scraping ... 439916
  Newbie with P... 383655
  New Users Int... 366025
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+ 12088
buran 8174
snippsat 7367
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 6
buran 3
Newest members
suzannesomers61 Yesterday
Lucassewall Yesterday
alexguemez Yesterday
Shadab Yesterday
Dibbley Yesterday

User Panel Messages

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