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,559
» Latest member: coolwaves4all
» Forum threads: 38,664
» Forum posts: 175,210

Full Statistics

Online Users
There are currently 256 online users.
» 0 Member(s) | 246 Guest(s)
Apple, Bing, Yandex, Baidu, Google, Facebook Dev

Latest Threads
gpiozero buttons stop wor...
Forum: General Coding Help
Last Post: duckredbeard
2 hours ago
» Replies: 6
» Views: 263
Made my first Python prog...
Forum: Game Development
Last Post: Ricky1178
Yesterday, 11:12 PM
» Replies: 8
» Views: 10,653
How to package code for d...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 11:36 AM
» Replies: 2
» Views: 165
pip3 install certifi fail...
Forum: General Coding Help
Last Post: Pedroski55
Jul-15-2025, 08:52 AM
» Replies: 1
» Views: 122
My first python game : Ti...
Forum: Game Development
Last Post: walterliz
Jul-15-2025, 07:45 AM
» Replies: 8
» Views: 55,749
A penny doubled every day...
Forum: Homework
Last Post: walterliz
Jul-15-2025, 07:35 AM
» Replies: 6
» Views: 755
Exercise on reading a chu...
Forum: Homework
Last Post: walterliz
Jul-15-2025, 07:31 AM
» Replies: 3
» Views: 1,219
While loop is terminating...
Forum: Homework
Last Post: walterliz
Jul-15-2025, 07:29 AM
» Replies: 3
» Views: 458
Custom Sorting List of Di...
Forum: Homework
Last Post: walterliz
Jul-15-2025, 07:28 AM
» Replies: 3
» Views: 247
Unable to define function...
Forum: Homework
Last Post: walterliz
Jul-15-2025, 07:26 AM
» Replies: 2
» Views: 109

 
  why does VS want to install seemingly unrelated products?
Posted by: db042190 - Jun-12-2023, 01:26 PM - Forum: General Coding Help - Replies (3)

Hi, I thought if I was going to get more involved with Python, that developing scripts would be more effective under my already installed VS 2022 than..... More


Attached Files

Thumbnail(s)
   
Print this item

Question Need help for a python script to extract information from a list of files
Posted by: lephunghien - Jun-12-2023, 02:17 AM - Forum: General Coding Help - Replies (6)

I am new to Python and need help to make a script for the task. I am running a modified Autodock program and need to compile the results.

I have a ..... More

Print this item

  Interactive plots that can be embed in web page
Posted by: mouse9095 - Jun-12-2023, 01:03 AM - Forum: General Coding Help - Replies (1)

Hello,

I am curious if there is a way that I can make a Python plot with a parameter that is linked to an equation, and that parameter can be chan..... More

Print this item

  tkinter.TclError
Posted by: foxxrunning - Jun-11-2023, 10:23 PM - Forum: General Coding Help - Replies (10)

I have been trying to learn python and are using some lessons with small coding exercises. Lately I have gotten this error no matter which program I ..... More

Print this item

  queue for async function python telegram.ext
Posted by: noctious - Jun-11-2023, 02:40 PM - Forum: General Coding Help - No Replies

Hi, I have a telegram bot code in which you enter a number, and it counts down from that number to zero.

I need to create a queue to execute the coun..... More

Print this item

  Plot multiple 2D Curves in 3D
Posted by: stc - Jun-11-2023, 10:16 AM - Forum: General Coding Help - Replies (5)

Hello,

i want to plot 3 different 2D curves in a 3D coordinate system, so lets say 3 simple sine functions. One in x and y direction, one in x and ..... More

Print this item

  Google API Help?
Posted by: DavyThe007 - Jun-11-2023, 12:21 AM - Forum: General Coding Help - No Replies

Hi All

I'm fairly new to coding and have been relying heavily on ChatGPT, we get roughly 8 hours in after fleshing everything out, adding features,..... More

Print this item

Photo can't install yfinance
Posted by: db042190 - Jun-11-2023, 12:08 AM - Forum: General Coding Help - Replies (4)

Hi , I'm trying to get involved with a product that uses python. I tried everything imaginable as shown below in the command prompt images after down..... More


Attached Files

Thumbnail(s)
       
Print this item

Sad IMC Calculator but with a list of patients
Posted by: Booba - Jun-10-2023, 06:36 PM - Forum: Homework - Replies (1)

I created a BMI and MB calculator and everything is working fine! But now, I would like to apply this calculator to a list a patient and show result f..... More

Print this item

Question some logic help
Posted by: droidus - Jun-10-2023, 05:34 PM - Forum: General Coding Help - Replies (5)

I have a UPS, and once in a while, the driver crashes for some unknown reason. It needs to be (re)started using this command: upsdrvctl start. I've ..... More

Print this item

  Fixed colum width for rowLabels i Matplotlib
Posted by: pandabay - Jun-10-2023, 03:40 PM - Forum: General Coding Help - No Replies

Is there a way to set a min-width or in general width value to the row label cells (r1, r2) in the following code?

[python]import numpy as np
impo..... More

Print this item

  I am trying to scrape data to broadcast it on Telegram
Posted by: BarryBoos - Jun-10-2023, 06:34 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi all, I am one day old in Python development. I am using AI which already got me much further than I have ever expected to get. I got the bot to wor..... More

Print this item

  boto3 - Error - TypeError: string indices must be integers
Posted by: kpatil - Jun-09-2023, 05:07 PM - Forum: General Coding Help - Replies (7)

Hello,

Can someone help me how to fix the error i am getting here . Thanks

error is
Traceback (most recent call last):
File "/root/temp0/server",..... More

Print this item

  HOW TO USE C# GENERATED DLL
Posted by: davide_vergnani - Jun-09-2023, 12:52 PM - Forum: General Coding Help - Replies (2)

Hi,
I developed a C# CLI application with my own functionality , and I have created a .dll with several class to implements the comunications beetwee..... More

Print this item

  Add multiple vertical rectangles to a chart in plotly?
Posted by: devansing - Jun-08-2023, 10:58 PM - Forum: Data Science - Replies (2)

I'm struggling to figure out how to create multiple vertical rectangles that span entire plots using plotly.

I'm assuming this is possible using ad..... More


Attached Files

.csv   sample_data.csv (Size: 1.69 KB / Downloads: 2)
Print this item

Question Cannot import easysnmp: ImportError: libnetsnmp.so.30
Posted by: Calab - Jun-08-2023, 08:18 PM - Forum: General Coding Help - Replies (4)

I'm trying to use easysnmp in a virtual environment, but get an error when I import it:

[output](venv) snorton@app7 /fastapi/sv $ python3
Python 3..... More

Print this item

  Comparing List values to get indexes
Posted by: Edward_ - Jun-08-2023, 03:11 PM - Forum: General Coding Help - Replies (7)

I'm trying to compare a short temporary list of values to a master list, to obtain the index number (of short list items) and set two variable values ..... More

Print this item

  Python won 't do decimals
Posted by: SomebodySmart - Jun-08-2023, 10:30 AM - Forum: General Coding Help - Replies (5)

It took me a lot of tries before I was able to figure out the problem, and I was stunned. When building my genealogy website, I display 100 entries pe..... More

Print this item

  Pywinauto typing in the wrong field
Posted by: EGameiro - Jun-07-2023, 10:00 PM - Forum: General Coding Help - No Replies

I'd appreciate any comments on this issue.

I'm using PywinAuto to automate a DeskTop application. And I'm executing this command to fill out a fiel..... More

Print this item

  Save image from outlook email
Posted by: cubangt - Jun-07-2023, 06:43 PM - Forum: General Coding Help - Replies (1)

So i have the following code that works great, updates my excel file and saves the file as expected.. BUT because we are merely updating the one excel..... More

Print this item

  Langchain
Posted by: standenman - Jun-07-2023, 06:02 PM - Forum: Data Science - Replies (2)

I am trying to use langchain to query a pdf document with chatgpt. [python]import os
import openai
from langchain.document_loaders import PyPDFLoad..... More

Print this item

  xml indent SubElements (wrapping) with multiple strings
Posted by: ctrldan - Jun-07-2023, 02:09 PM - Forum: General Coding Help - Replies (2)

(I updated the code with comments)
Hi everyone, I am creating an xml file with python using xml.etree.ElementTree. In input I have a docx, where the..... More


Attached Files

.py   xml3.py (Size: 5.05 KB / Downloads: 230)
.docx   TEST.docx (Size: 13.12 KB / Downloads: 213)
.py   xml3_commented.py (Size: 7.6 KB / Downloads: 201)
Print this item

  Calling a function (which accesses a library) from another file
Posted by: mouse9095 - Jun-07-2023, 04:04 AM - Forum: General Coding Help - Replies (4)

Hello,

I am a new Python user and am trying to create some functions I can use for my own convenience. For now, I am trying to keep these in a sep..... More

Print this item

  Scrape table from multiple pages
Posted by: Nhattanktnn - Jun-07-2023, 12:51 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi,
Please help me scrape table from multiple pages in this url: https://s.cafef.vn/lich-su-kien.chn
Many thanks!

Print this item

  Automate Word snippets
Posted by: PHbench - Jun-06-2023, 06:59 PM - Forum: General Coding Help - No Replies

I want to use MS Word to write paragraphs/snippets/parts and store them with all the word formatting. I later would want to merge them into one Word d..... More

Print this item

  Pygame in 90 Minutes - For Beginners syntax issues
Posted by: GoldenHarvey - Jun-06-2023, 06:21 PM - Forum: Game Development - Replies (6)

I am watching and copying the methods of how to make a game on Pygame via the video "Pygame in 90 Minutes - For Beginners" by Tech with Tim.

I wro..... More

Print this item

  How i can use categories with folder?
Posted by: AnonymerAlias - Jun-06-2023, 03:17 PM - Forum: General Coding Help - Replies (2)

Hello,

I want to know how can I import a subfolder?

I have tried with:
from test.test2 import file

but this isn't works.

Best regards

Print this item

  [SOLVED] Why is this asyncio task blocking?
Posted by: SecureCoop - Jun-06-2023, 02:21 PM - Forum: General Coding Help - Replies (1)

This is my first time working with asyncio and I can't understand why this task is blocking. Everything is awaited that should be awaited. Please help..... More

Print this item

  Help with pyinstaller "No module named"
Posted by: korenron - Jun-06-2023, 12:35 PM - Forum: General Coding Help - Replies (9)

Hello,
I'm trying to create a EXE file from my (Working) python code.

When I try to run the exe file I get the error:
[python]Traceback (most re..... More

Print this item

  pyarrow error when importing pandas
Posted by: sravva - Jun-06-2023, 11:20 AM - Forum: General Coding Help - Replies (1)

I am trying to import pandas but I keep getting an error relating to pyarrow. It worked fine before, but started giving me the error once I installed/..... More


Attached Files

Thumbnail(s)
   
Print this item

  Set permnission with makedirs
Posted by: SpongeB0B - Jun-06-2023, 11:17 AM - Forum: General Coding Help - Replies (7)

Hi everyone,

I would like to set the permission when using

from os import makedirs
I would like to have (for a directory) ..... More

Print this item

Lightbulb Review for my Fibonacci sequence, please. (´。• ω •。`)
Posted by: Carmazum - Jun-06-2023, 03:26 AM - Forum: Code Review - Replies (6)

Salutations, Pythonistas! python
I hope you are all well and that your families and friends are doing well. ヽ(・∀・)ノ

I have developed a simpl..... More

Print this item

  Why am I getting this error?
Posted by: the_jl_zone - Jun-05-2023, 11:06 PM - Forum: General Coding Help - Replies (3)

I'm trying to learn how to use Python classes using this one as an example:

[python]
class ExampleClass:
... def __init__(self,example_parame..... More

Print this item

  how to return a reference to an object?
Posted by: Skaperen - Jun-05-2023, 11:00 PM - Forum: General Coding Help - Replies (8)

i have a collection of object references in a dict inside a function. i want to have a function that can use give arguments, find the object, and ret..... More

Print this item

  PowerShell & Python
Posted by: deep_logic - Jun-05-2023, 09:29 PM - Forum: General Coding Help - Replies (2)

Hi all,
I’m trying to run simple python scripts with PowerShell. I can run my scripts in .cmd without a hitch. The path looks proper. I opened PowerS..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  gpiozero buttons stop wor... 2 hours ago duckredbeard duckredbeard General Codin...
  [PyGame] Made my first Py... Yesterday, 23:12 andrerocha1998 Ricky1178 Game Developm...
  How to package code for d... Yesterday, 11:36 mayukun snippsat General Codin...
  pip3 install certifi fail... 07-15, 08:52 rb9594 Pedroski55 General Codin...
  My first python game : Ti... 07-15, 07:45 ForsakenDusk walterliz Game Developm...
  A penny doubled every day... 07-15, 07:35 esoyboy walterliz Homework
  Exercise on reading a chu... 07-15, 07:31 Nit_Picker walterliz Homework
  While loop is terminating... 07-15, 07:29 jumpsworthnow walterliz Homework
  Custom Sorting List of Di... 07-15, 07:28 aryasinner walterliz Homework
  Unable to define function... 07-15, 07:26 gmonroe walterliz Homework
  RemoTe server operation w... 07-14, 10:14 mario17 snippsat General Codin...
Most views
  The best Prog... 572724
  Tutorial Requ... 485783
  Web Scraping ... 437177
  Newbie with P... 380143
  Thread remain... 351393
Most reputation
buran 581
snippsat 507
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+ 12072
buran 8174
snippsat 7353
deanhystad 6860
metulburr 5151
Top referrers
Googlepro 24
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
coolwaves4all Today
Stephenchers Today
chocheng211 Today
comptonden1 Today
Gichardvop Yesterday

User Panel Messages

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