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,394
» Latest member: braillescribe
» Forum threads: 38,822
» Forum posts: 176,022

Full Statistics

Online Users
There are currently 40 online users.
» 0 Member(s) | 32 Guest(s)
Google, Bing, Facebook, AOL, Mojeek

Latest Threads
Willing to pay for help w...
Forum: General Coding Help
Last Post: Pedroski55
7 hours ago
» Replies: 3
» Views: 107
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 125
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 267
IP address for users
Forum: Networking
Last Post: itx_sumeet
Dec-27-2025, 05:53 AM
» Replies: 4
» Views: 7,083
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Dec-27-2025, 01:10 AM
» Replies: 5
» Views: 9,925
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 159
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 93
requests.post not sending...
Forum: Web Scraping & Web Development
Last Post: noisefloor
Dec-24-2025, 09:20 AM
» Replies: 2
» Views: 163
Looking for constructive ...
Forum: News and Discussions
Last Post: cecrease
Dec-24-2025, 03:16 AM
» Replies: 2
» Views: 1,302
Switching from batch proc...
Forum: GUI
Last Post: arbiel
Dec-23-2025, 09:38 PM
» Replies: 0
» Views: 124

 
  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

  what stand-alone python-aware open-source editors are around?
Posted by: Skaperen - Jun-05-2023, 01:57 AM - Forum: News and Discussions - Replies (14)

what stand-alone python-aware open-source editors are around? by stand-alone i mean not a part of any development kit or package. by python-aware i ..... More

Print this item

  Use IDLE to compose and test only
Posted by: SomebodySmart - Jun-04-2023, 11:56 AM - Forum: News and Discussions - Replies (1)

Just for the benefit of the ones who don't realize it:

I use IDLE and it is an excellent way to perfect and de-bug code. It is a good way to test p..... More

Print this item

  can webflow be used as a front end?
Posted by: LandonJPGinn - Jun-04-2023, 07:01 AM - Forum: Web Scraping & Web Development - Replies (3)

Hello,
I am looking to try and develop a webapp but I am new to branching outside of python.
Ive done a number of tutorials when it comes to flask..... More

Print this item

  pipenv, is it still useful?
Posted by: LandonJPGinn - Jun-04-2023, 06:55 AM - Forum: General Coding Help - Replies (3)

Hello,
new to the forum but long time python user.
I got myself into the habit of using pipenv a lot, but I always run into issues when it comes..... More

Print this item

  entry widget
Posted by: DPaul - Jun-04-2023, 05:48 AM - Forum: GUI - Replies (5)

Hi, a cosmetic question.
I have an app with some entry boxes, nothing special.
[python]entryKl = Entry(frame1, font=myFont,bg='lightblue')
entryKl.pac..... More

Print this item

  variables in f-string
Posted by: Skaperen - Jun-04-2023, 01:09 AM - Forum: News and Discussions - Replies (3)

is it OK to set variables in an f-string? i need to call an expensive (e.g. slow) function to get a value that is needed in 3 places in an f-string a..... More

Print this item

  Do you feel the Mojo
Posted by: snippsat - Jun-03-2023, 11:25 PM - Forum: News and Discussions - Replies (1)

Mojo šŸ”„ — a new programming language
So a interesting approach,and with a performance boost that can be large...... More

Print this item

  Add two resultant fields from python lambda function
Posted by: klllmmm - Jun-03-2023, 11:03 AM - Forum: General Coding Help - Replies (4)

I have a dataframe where i would like to add two fields at once based on a condition. I can achieve this by defining a function.

[python]

impor..... More

Print this item

  How to search for a byte hex pattern with Joker in FIile
Posted by: lastyle - Jun-03-2023, 05:01 AM - Forum: Data Science - Replies (1)

Hello all

i am searching for a solution to parse a file for a byte pattern with jokers inside a file, and if found to print the position ,or if mu..... More

Print this item

  3D points in 2D coordinates
Posted by: sunath - Jun-03-2023, 01:29 AM - Forum: General Coding Help - Replies (7)

Dear All,

I have 3D coordinates of 300 points. I would like to show my data as a series of 2D xy scatter plot at specific interval of z plane. How ..... More

Print this item

  Data structure question
Posted by: standenman - Jun-02-2023, 09:54 PM - Forum: Data Science - Replies (1)

I am creating an app that will take a pdf that represents a set of medical treatment records for a given patient. I want to submit the text to proces..... More

Print this item

  Python to 10-year-olds
Posted by: Krayna - Jun-02-2023, 10:26 AM - Forum: News and Discussions - Replies (4)

Hi there,

I'm teaching a couple of kids Python an hour a week. When I started we would do simple little exercises like 'guess the number' or even ..... More

Print this item

  Get numpy ceil and floor value for nearest two decimals
Posted by: klllmmm - Jun-02-2023, 05:29 AM - Forum: General Coding Help - Replies (4)

I'm trying to get ceiling value of the input for two decimals.


[python]
import numpy as np
a = np.array([-1.784, -1.5888, -0.24444, 0.25555, 1...... More

Print this item

  WING PYTHON IDE HELP!!!!
Posted by: nma236 - Jun-02-2023, 04:18 AM - Forum: General Coding Help - Replies (5)

I keep getting this error on Wing Python IDE.

[error]Python 3.11.2 (tags/v3.11.2:878ead1, Feb 7 2023, 16:38:35) [MSC v.1934 64 bit (AMD64)]
Type..... More

Print this item

  Request doesnt work?
Posted by: Sdrawkcab - Jun-02-2023, 02:09 AM - Forum: Web Scraping & Web Development - Replies (10)

I'm new here and to python so any help would be greatly appreciated.



[python]import requests

response = requests.get("https://www.google.co..... More

Print this item

  Filling NaNs in a financial dataset
Posted by: larzz - Jun-01-2023, 09:40 PM - Forum: Data Science - Replies (11)

I have a financial dataframe consisting of 500 different columns. I have categorical and informational columns (in this case, the year, the quarter an..... More

Print this item

  What software to use?
Posted by: pickledrick - Jun-01-2023, 08:24 PM - Forum: General Coding Help - Replies (2)

Hi
I have built a fully functioning global supply chain management system in google sheets.

I want to turn this into an online webapp where I can ..... More

Print this item

  Processing Files that are not in use
Posted by: randywberry - Jun-01-2023, 07:52 PM - Forum: General Coding Help - Replies (3)

I am processing files, but need to be sure there are no other apps currently using the file which could change the data.
I have searched the internet ..... More

Print this item

  Help using a dynamic array excel formula with XLWings
Posted by: FXMonkey - Jun-01-2023, 07:06 PM - Forum: General Coding Help - Replies (2)

I am trying to populate a cell with a dynamic array formula using xlwings but each time I try the formula either ends up with @ after the = or the for..... More

Print this item

  issue with converting a scientific notation to standard notation
Posted by: thomaswfirth - Jun-01-2023, 03:52 PM - Forum: General Coding Help - Replies (4)

I am reading the value from a DMM and the returned number is in Scientific notation. When I try to convert that number to get a decimal number, I get ..... More

Print this item

  SQL question
Posted by: DPaul - Jun-01-2023, 03:28 PM - Forum: Bar - Replies (4)

Hi,
I have data in an FTS5 sql table, but you can sql update it like any other table. (but no field types)
Say the table is called "abc", and has 3 fi..... More

Print this item

  Rows not adding to sqlite3 database using SQLAlchemy
Posted by: Calab - Jun-01-2023, 02:57 PM - Forum: General Coding Help - Replies (11)

I'm trying to understand how to use SQLAlchemy. I've written a piece of code that should simply add one record to an existing database. When I run the..... More

Print this item

  Copy data from Excel and paste into Discord (Midjourney)
Posted by: Joe_Wright - Jun-01-2023, 08:11 AM - Forum: General Coding Help - Replies (4)

Task. A program for copying data from an Excel table and pasting it into the Discord command line (Midjourney), using the openpyxl library for working..... More

Print this item

  can not get gps information returning only integer
Posted by: ggpython000 - Jun-01-2023, 08:09 AM - Forum: Data Science - No Replies

I tried following code to read GPS ifnormation from jpeg file but it is only printing out single integer i.e. 739.
But when I open the file property ..... More


Attached Files

Thumbnail(s)
   
Print this item

  Security of socket on vserver
Posted by: Pythocodras - Jun-01-2023, 07:07 AM - Forum: Networking - Replies (1)

Hello,
I have a vserver and I would like to constantly run a python script on it. It is a simple socket server application where multiple clients can..... More

Print this item

  How to pass -Xutf8 parametri to python
Posted by: tierox - May-31-2023, 05:11 PM - Forum: General Coding Help - Replies (2)

Hi all, I'm struggling with pywin. I use it to wrap a python application and create a windows servire. I need to pass -Xutf8mode to python interpreter..... More

Print this item

Question Rows and colums list. PySide 6
Posted by: britesc - May-31-2023, 10:29 AM - Forum: GUI - Replies (2)

Hi,
I would like to read some data and display it in rows and columns with column header names and rows with numbers
I am using PySide6 so far for m..... More

Print this item

  how it works??? "__name__"
Posted by: Vensworld - May-31-2023, 07:34 AM - Forum: Homework - Replies (3)

Hi I am a new to Python. Can somebody explain me how this program works and particularly the flow of program. Why the output shows as "inner". Regar..... More


Attached Files

.py   inner.py (Size: 173 bytes / Downloads: 241)
Print this item

  Pytest mocks
Posted by: anthonyrmoss78 - May-30-2023, 08:28 PM - Forum: General Coding Help - No Replies

Hi everyone, i hiope someone can help me .
I have recently started working on a huge pytest framework with about 15000 tests .
However, there seems..... More

Print this item

  Variable sorting methods for Enum DataClasses
Posted by: koen - May-30-2023, 02:12 PM - Forum: General Coding Help - Replies (1)

So i'm trying to simulate a deck of cards using dataclasses. The suit and rank of a card are represented as a enum.Enum DataClass. Together they make ..... More

Print this item

  xml file editing with lxml.etree
Posted by: FlavioBueno - May-30-2023, 12:56 PM - Forum: General Coding Help - Replies (2)

Hello everybody

I would like to ask for some help.

I face a problem when trying to edit an xml file with python and lxml.etree
When trying to e..... More

Print this item

  matplotlib x-axis text move bottom upward
Posted by: jacklee26 - May-30-2023, 07:59 AM - Forum: General Coding Help - Replies (3)

Does anyone know how to resize the bottom of my x-axis u, it seem like the x-axis all text word is showing all of them out.
[python]
import pandas ..... More


Attached Files

Thumbnail(s)
       
Print this item

  Multiple instruments with python
Posted by: thomaswfirth - May-30-2023, 12:43 AM - Forum: General Coding Help - Replies (4)

I'm putting together a small, automated test system with two instruments at this time. Python errors out when I try to assign the second instrument. W..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Willing to pay for help w... ā–¼ 7 hours ago braillescribe Pedroski55 General Codin...
  How to Integrate External... ā–¼ 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... ā–¼ 12-27, 16:06 eedjsa eedjsa General Codin...
  IP address for users ā–¼ 12-27, 05:53 Robots itx_sumeet Networking
  Lottery generator (beginn... ā–¼ 12-27, 01:10 Hullari Pedroski55 General Codin...
  [split] How to ask Smart ... ā–¼ 12-25, 07:58 yoanselcp Pedroski55 General Codin...
  Need Help with Pandas Con... ā–¼ 12-24, 10:07 naproxy_1 Axel_Erfurt Bar
  requests.post not sending... ā–¼ 12-24, 09:20 JarredAwesome noisefloor Web Scraping ...
  Looking for constructive ... ā–¼ 12-24, 03:16 decuser cecrease News and Disc...
  [PyQt] Switching from bat... ā–¼ 12-23, 21:38 arbiel arbiel GUI
  Exploring Different Pytho... ā–¼ 12-23, 13:01 girish_benvanshi ankitsharma32 News and Disc...
Most views
  The best Prog... 580393
  Tutorial Requ... 519347
  Web Scraping ... 442776
  Newbie with P... 386972
  New Users Int... 386420
Most reputation
buran 581
snippsat 511
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+ 12117
buran 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
braillescribe Yesterday
aurelio12282025 Yesterday
bejaminmaarleyo1374 Yesterday
taylorlitleoz476 Yesterday
desy845 Yesterday

User Panel Messages

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