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,236
» Latest member: Cristiano
» Forum threads: 38,776
» Forum posts: 175,791

Full Statistics

Online Users
There are currently 49 online users.
» 1 Member(s) | 45 Guest(s)
Bing, Google, AOL, snippsat

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

 
  Best book on learning Python by referring C++
Posted by: almahdi - May-31-2022, 10:50 PM - Forum: News and Discussions - Replies (2)

What is the best book on learning Python by way of comparing as equivalent to C/C++ side by side?

Print this item

  What's the best Android app to read Python documentation offline?
Posted by: anata2047 - May-31-2022, 08:56 PM - Forum: Tutorial Requests and Submissions - Replies (1)

I'd like to use an Android app to read latest Python documentation offline
(I can occasionally update).
Currently I use Python (Learn Python)..... More

Print this item

  Are list/dict comprehensions interpreted really sequentially?
Posted by: anata2047 - May-31-2022, 08:08 PM - Forum: General Coding Help - Replies (3)

In any programming course/books I learned the intro section mentions the sequential
mode of execution of any program (implying at least the sequentia..... More

Print this item

  [SOLVED] How to change button label?
Posted by: Winfried - May-31-2022, 04:57 PM - Forum: GUI - Replies (3)

Hello,

I can't figure out how to change a button's label when clicking on it:

[python]import wx

class MyFrame(wx.Frame):
def __init_..... More

Print this item

  How to find the second lowest element in the list?
Posted by: Anonymous - May-31-2022, 12:22 PM - Forum: General Coding Help - Replies (3)

I have a list of students and I have to print the names of students who have scored second lowest.

students = [['Harry', 37.21], ['Berry', 37.21]..... More

Print this item

  Is this possible to write a script for checking data from website?
Posted by: WanW - May-31-2022, 09:33 AM - Forum: General Coding Help - Replies (2)

I am doing some data checking about name, mmsi and length of the ships. ( https://www.marinetraffic.com/en/ais/hom...2.5/zoom:6 ..... More

Print this item

  run "install pip" when I get ModuleNotFoundError?
Posted by: korenron - May-31-2022, 09:26 AM - Forum: General Coding Help - Replies (2)

Hello,
wanted to know if there is a smart way to download when library is not exists?

for example :

[python]try:
import pandas as pd
exc..... More

Print this item

  Loading an array into a matrix
Posted by: Scott - May-31-2022, 08:28 AM - Forum: General Coding Help - Replies (1)

Hi everyone,

I am trying to load the output of my model into matrix. Below is the model output:

[python][array([[3.3480644, 2.6733143, 2.3946035..... More

Print this item

  pygame tic tac toe
Posted by: menator01 - May-31-2022, 06:44 AM - Forum: Code sharing - Replies (1)

I found a pygame tic tac toe on the web and applied it to classes (mvc). It does not yet have the win functions (draws a line for winner) as the origi..... More

Print this item

  How To Set Up And Execute A Python File
Posted by: knight2000 - May-31-2022, 01:17 AM - Forum: General Coding Help - Replies (4)

Hi all,

I've been slowly trying different things with Python whenever I get time and last year I created a couple of python files in Pycharm on my ..... More

Print this item

  to get a list of pip packages that were installed
Posted by: Skaperen - May-30-2022, 10:41 PM - Forum: News and Discussions - Replies (12)

i have most files from a previous Ubuntu Linux system that had a few pips installed, saved on a spare disk. i'd like to extract a list of [i]which[/i..... More

Print this item

  Retrieve variables from the log and send to the database
Posted by: klanhar1425 - May-30-2022, 02:33 PM - Forum: Jobs - No Replies

Hi, I need to write a bit of a complicated script (at least for me).
I need exactly this, on the path "C:\Users\pc\Documents\GTA San Andreas User Fil..... More

Print this item

  i need help at the part where i have to use a function and initialise the menu.
Posted by: imbacoconut - May-30-2022, 02:30 PM - Forum: Homework - Replies (5)

i am doing an assignment for a ESP system , something like a grocery cart where i can list the items, add to cart, display cart etc.
can anyone help ..... More


Attached Files

.py   ESPsystem.py (Size: 3.83 KB / Downloads: 332)
Print this item

  What is CMS?
Posted by: diegoruiz0333 - May-30-2022, 01:03 PM - Forum: Web Scraping & Web Development - Replies (2)

I want to create a website but anyone tell me about CMS, how it works.

Print this item

  from-to search
Posted by: DPaul - May-30-2022, 08:27 AM - Forum: General Coding Help - Replies (18)

Hi,
A directory contains, say, 100.000 images.
They are filenamed: img000001.tif, img000002.tif,...... img099999.tif, etc.

An excel sheet tells..... More

Print this item

  Retrieve variables from the log and send to the database
Posted by: klanhar1425 - May-30-2022, 07:25 AM - Forum: Homework - Replies (3)

Hi, I need to write a bit of a complicated script (at least for me).
I need exactly this, on the path "C:\Users\pc\Documents\GTA San Andreas User Fil..... More

Print this item

  a function to get IP addresses of interfaces
Posted by: Skaperen - May-30-2022, 04:22 AM - Forum: General Coding Help - Replies (2)

i am looking around for a function that can return IP addresses of named interfaces, supporting both IPv4 and IPv6. a function that can return a list..... More

Print this item

  how far is this line indented?
Posted by: Skaperen - May-30-2022, 04:09 AM - Forum: General Coding Help - Replies (3)

i get a line of data that may be indented much like Python code. i have bad code that tries things to see how much indentation there is. in C i coul..... More

Print this item

  Retrieve data from ajax
Posted by: pthon3 - May-29-2022, 10:32 PM - Forum: Web Scraping & Web Development - No Replies

Hello. I need to scrape following page:

https://www.semanticscholar.org/paper/BE.../df2b0e26d..... More

Print this item

  Same Data Showing Several Times With Beautifulsoup Query
Posted by: eddywinch82 - May-29-2022, 07:00 PM - Forum: General Coding Help - Replies (2)

Hi there,

I have the following Python Code :-

[python]import pandas as pd
import requests
import numpy as np
from bs4 import BeautifulSoup
i..... More

Print this item

  Date format error getting weekday value
Posted by: Aggie64 - May-29-2022, 06:51 PM - Forum: General Coding Help - Replies (2)

I get the following error on line 4 when running the code below:
valueError: timedata '05/09/2022' does not match format '%m %d %Y'

I am trying to..... More

Print this item

Question Parameterized math calculations?
Posted by: babaliaris - May-29-2022, 06:17 PM - Forum: General Coding Help - Replies (7)

Is there a way to do maths in python that results in parameterized solutions?

For example 2a+3a = 5a

What I want to do is, to use an algorith..... More

Print this item

  Call back doesn't work
Posted by: michel77777 - May-29-2022, 05:19 PM - Forum: News and Discussions - No Replies

The dft loop works fine, but the callback doesn't "interrupt" the loop, the only debugged statement is the def plot_ticker_day(n_clicks):

Any sug..... More

Print this item

  How do you marshal the default printer setup to print?
Posted by: hammer - May-29-2022, 02:54 PM - Forum: General Coding Help - No Replies

I have data in an app that I have put into a .txt file and print using:
[python]
os.startfile("--------.txt" , "print") #from a button in the app th..... More

Print this item

  Pathlib import not working
Posted by: chriswrcg - May-29-2022, 01:04 PM - Forum: General Coding Help - Replies (9)

This is my first attempted script so it is of course not working.

I am trying to open outlook, find an email, and download the attachment

The fi..... More


Attached Files

.py   main.py (Size: 494 bytes / Downloads: 341)
Print this item

  Error notification after encoding
Posted by: robertje1024 - May-29-2022, 12:29 PM - Forum: General Coding Help - Replies (1)

Hello everyone,

I'm new here, sorry for my english is not so good.
I'm learning Python and get an error message after entering a code.

This i..... More

Print this item

  how to convert and format a varable
Posted by: darktitan - May-29-2022, 11:09 AM - Forum: General Coding Help - Replies (4)

Hi
can any one pls help me with convering and formating the variable timeset so my cod can work.
it works only if i replace the timeset variable wit..... More

Print this item

  Knapsack 0-1 & Python & qbasic qb64 & WE
Posted by: DANILIN - May-29-2022, 07:30 AM - Forum: Code sharing - Replies (2)

Knapsack 0-1 & python & qbasic qb64 & WE

Classic Knapsack problem is solved in many ways

Contents: http://rosettacode.org/wiki/Knapsack_problem..... More

Print this item

  Windows paths issue
Posted by: otalado - May-29-2022, 03:37 AM - Forum: General Coding Help - Replies (3)

Using Python 3.7 on Windows 10 pro, I ran to the strange thing:
Path to vlc.exe on my PC is: C:\Program Files\VideoLAN\VLC\vlc.exe. In my scri..... More

Print this item

Lightbulb MacOS can't make it
Posted by: Archi - May-29-2022, 01:09 AM - Forum: General Coding Help - Replies (1)

Hello, folks! Im only starting my python journey. Now Im learning walk function in OS and its simply doesn't work. Can you suggest me something please..... More


Attached Files

Thumbnail(s)
       
Print this item

  Multiply Lists of Lists
Posted by: klatlap - May-29-2022, 12:39 AM - Forum: Data Science - Replies (5)

I have a set of lists like this
[0.74, 0.91, 1.22, 0.91, 1.07, 1.07, 1.07, 1.07, 1.07, 0.74, 0.91, 0.91, 1.07, 1.07, 0.91, 1.07]
[1.23, 0.97, 2.09, ..... More

Print this item

  pip doesn't work after Python upgrade
Posted by: Pavel_47 - May-28-2022, 02:53 PM - Forum: General Coding Help - Replies (10)

Hello,

After upgrading Python 3.6 to Python 3.10, pip became broken:

[output]pavel@ALABAMA:~$ pip3 --version
Traceback (most recent call last):..... More

Print this item

Photo Connecting progress bars to sensors
Posted by: anastejzja - May-28-2022, 08:23 AM - Forum: GUI - Replies (1)

Hi, I'm trying to make a whole GUI to control a robot, but I'm having real trouble with connecting the 5 sensors from the robot to the progress bars i..... More


Attached Files

Thumbnail(s)
   

.py   main.py (Size: 11.44 KB / Downloads: 328)
Print this item

  LANCZOS
Posted by: DPaul - May-28-2022, 06:37 AM - Forum: GUI - Replies (6)

HI,
I have an app that uses (PIL) Image.LANCZOS while resizing a TIF file.
The app runs fine on windows 11. No messages.
It also runs fine on my l..... More

Print this item

  Yahoo Premium
Posted by: pogere - May-27-2022, 08:38 PM - Forum: Data Science - Replies (1)

I'm Brazilian, I'm working on a data science project and I need to access historical information about the exchange (financial mainly), however Yahoo ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Two arguments in input fu... 6 hours ago Alfredd Pedroski55 General Codin...
  Backward compatibility qu... Yesterday, 10:39 yutaozhou buran News and Disc...
  [Tkinter] I’m building a ... 11-07, 19:29 tsgiannis tsgiannis GUI
  [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
  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... 578690
  Tutorial Requ... 509157
  Web Scraping ... 441842
  Newbie with P... 385796
  New Users Int... 375082
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
Cristiano Yesterday
Alfredd Yesterday
clayote Yesterday
yutaozhou 11-07
EchoFlowar3Dip 11-07

User Panel Messages

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