Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 18,698
» Latest member: ErnestoCex
» Forum threads: 37,626
» Forum posts: 170,956

Full Statistics

Online Users
There are currently 361 online users.
» 0 Member(s) | 353 Guest(s)
Facebook, Yandex, Bing, AOL, Google, Apple, Baidu

Latest Threads
i need help pls
Forum: Game Development
Last Post: OLanePulse
1 hour ago
» Replies: 3
» Views: 2,408
Extracting content from a...
Forum: Web Scraping & Web Development
Last Post: AdamHensley
1 hour ago
» Replies: 3
» Views: 512
Optimal Сasual Dating - A...
Forum: General Coding Help
Last Post: NHeav
1 hour ago
» Replies: 0
» Views: 11
Game restart problem
Forum: Game Development
Last Post: AdamHensley
2 hours ago
» Replies: 1
» Views: 148
DEC pack, unpack and disk...
Forum: General Coding Help
Last Post: Gribouillis
2 hours ago
» Replies: 19
» Views: 875
Downnload images from a s...
Forum: General Coding Help
Last Post: charled
4 hours ago
» Replies: 2
» Views: 84
video plays in the backgr...
Forum: GUI
Last Post: Gorashy
4 hours ago
» Replies: 1
» Views: 47
Help with QR Code
Forum: General Coding Help
Last Post: AdamHensley
9 hours ago
» Replies: 4
» Views: 218
positioning the laser
Forum: Game Development
Last Post: flash77
9 hours ago
» Replies: 1
» Views: 101
checking username
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 11:42 AM
» Replies: 3
» Views: 135

 
  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: 165)
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: 149)
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

  Convert string to float problem
Posted by: vasik006 - May-27-2022, 07:15 PM - Forum: General Coding Help - Replies (8)

Hi, I have a problem converting a string to a float. The program receives data from Arduino via the serial port and processes it. But I'm getting this..... More


Attached Files

Thumbnail(s)
   
Print this item

  Basic PyQt6 Example of a timer
Posted by: menator01 - May-27-2022, 05:24 PM - Forum: Code sharing - No Replies

[python]from PyQt6.QtWidgets import (QApplication, QWidget, QLabel, QPushButton, QMessageBox, QGridLayout,
QMainWindow)..... More

Print this item

  Python 100 line Challenge
Posted by: codingCat - May-27-2022, 02:14 PM - Forum: Code sharing - Replies (9)

The goal of the 25 line challenge was to see how much could be squished into a very minimal space. It was amazing to see how low people could go. I w..... More

Print this item

  [SOLVED] [ElementTree] Grab text in attributes?
Posted by: Winfried - May-27-2022, 12:21 PM - Forum: General Coding Help - Replies (3)

Hello,

I'm not very good at XPath, and am a bit lost at the..... More

Print this item

  Help needed with a "for loop" + error handling
Posted by: tamiri - May-27-2022, 11:28 AM - Forum: General Coding Help - Replies (2)

I would like to iterate over a list of items.
In each round, Python is checking the latest Excel file in a folder, opens it, and saves it.

Upon an..... More

Print this item

  How to filter a table view using SortFilterProxyModel
Posted by: DrakeSoft - May-27-2022, 10:44 AM - Forum: GUI - Replies (8)

Hi,

I have tried to create a sample program to help me figure out how the SortFilterProxyModel works in PyQT.

[python]

from PyQt5.QtWidgets import ..... More

Print this item

  How can I add certain elements in this 2d data structure and calculate a mean
Posted by: TheOddCircle - May-26-2022, 08:09 PM - Forum: General Coding Help - Replies (3)

[python]
# ------------------------------------------------------------
# Import libraries
# ------------------------------------------------------..... More

Print this item

  How to get list of exactly 10 items?
Posted by: Mark17 - May-26-2022, 01:24 PM - Forum: General Coding Help - Replies (1)

I'm getting a traceback on this line:

[Python]
axs[1].set_xticks(list(range(1,len(btstats.index),len(btstats.index)//(len(xtick_labels_converted)-..... More

Print this item

  scatter3D different markers per data
Posted by: erdemath - May-26-2022, 01:09 PM - Forum: Data Science - Replies (5)

I have an issue with data visualization in 3D scatter plot. I have regionally stratified some data, say data_A, data_B, data_C. I need to display them..... More


Attached Files

Thumbnail(s)
   
Print this item

  Best books for programming
Posted by: katy1234 - May-26-2022, 12:47 PM - Forum: News and Discussions - No Replies

Hi, Good Day
This is Katy Steven. I am in first year of my engineering and lots of programming language I am learning here. I am very exited about le..... More

Print this item

  migrate code from tkinter to pygame
Posted by: Frankduc - May-26-2022, 12:04 PM - Forum: General Coding Help - Replies (16)

Hi,

I already post about this but i am totally lost i have no clue how to make it work. I am unable to make my button work in tkinter. So i have to m..... More

Print this item

  QT Designer
Posted by: Krissstian - May-26-2022, 06:16 AM - Forum: GUI - Replies (4)

Hi,
First of all I'm new in Python.
I have made with QT Designer a gui for my project an convert it into .py with external tool from PyCharm.
The b..... More

Print this item

  HELP PLS i cannot figure out why this error is happerning
Posted by: StruckGuide8154 - May-25-2022, 09:27 PM - Forum: Data Science - No Replies

here is my code error:
Traceback (most recent call last):
File "C:\Users\harrison.DESKTOP-QMMSLCP\ai\ai.py", line 111, in <module>
words = pi..... More

Print this item

  Accessing same python script from multiple computers
Posted by: bigrockcrasher - May-25-2022, 06:29 PM - Forum: General Coding Help - Replies (1)

I currently work in a facility that uses a very large ZFS using the NFS protocol. We have many servers that are running a variety of Linux distributio..... More

Print this item

  Python to DLL
Posted by: tcomponent - May-25-2022, 05:56 PM - Forum: General Coding Help - Replies (2)

Hi, Python Forum Smile

I'm a new member here. And also new in Python.
My name is Stephanus, you can call me Steven, from Indonesia.

I wou..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [PyGame] i need help pls 1 hour ago augusto_A OLanePulse Game Developm...
  Extracting content from a... 1 hour ago SandraYokum AdamHensley Web Scraping ...
  Optimal Сasual Dating - A... 1 hour ago NHeav NHeav General Codin...
  [PyGame] Game restart pro... 2 hours ago senka_25 AdamHensley Game Developm...
  DEC pack, unpack and disk... 2 hours ago Curbie Gribouillis General Codin...
  Downnload images from a s... 4 hours ago charled charled General Codin...
  [Kivy] video plays in the... 4 hours ago Gorashy Gorashy GUI
  Help with QR Code 9 hours ago Miisato AdamHensley General Codin...
  [PyGame] positioning the ... 9 hours ago flash77 flash77 Game Developm...
  checking username Yesterday, 11:42 newbexx Pedroski55 General Codin...
  Python on Linux Yesterday, 11:19 ebn852_pan Larz60+ News and Disc...
Most views
  The best Prog... 516713
  Web Scraping ... 385737
  Tutorial Requ... 372274
  Newbie with P... 312457
  Thread remain... 296561
Most reputation
buran 582
snippsat 499
Larz60+ 452
Gribouillis 341
deanhystad 315
Most replies
  New Users Int... 432
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 11901
buran 8092
snippsat 7146
deanhystad 6347
metulburr 5150
Top referrers
Googlepro 21
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
ErnestoCex Yesterday
Dave716 Yesterday
rashwan_abdo Yesterday
RobertSutty Yesterday
Gorashy Yesterday

User Panel Messages

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