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: IsmaelSlalk
» Forum threads: 38,665
» Forum posts: 175,210

Full Statistics

Online Users
There are currently 237 online users.
» 0 Member(s) | 230 Guest(s)
Google, Bing, Baidu, Yandex, AOL

Latest Threads
Stephenchers
Forum: General Coding Help
Last Post: IsmaelSlalk
18 minutes ago
» Replies: 0
» Views: 6
Made my first Python prog...
Forum: Game Development
Last Post: Ricky1178
8 hours ago
» Replies: 8
» Views: 10,641
gpiozero buttons stop wor...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 03:49 PM
» Replies: 5
» Views: 246
How to package code for d...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 11:36 AM
» Replies: 2
» Views: 153
pip3 install certifi fail...
Forum: General Coding Help
Last Post: Pedroski55
Jul-15-2025, 08:52 AM
» Replies: 1
» Views: 108
My first python game : Ti...
Forum: Game Development
Last Post: walterliz
Jul-15-2025, 07:45 AM
» Replies: 8
» Views: 55,712
A penny doubled every day...
Forum: Homework
Last Post: walterliz
Jul-15-2025, 07:35 AM
» Replies: 6
» Views: 751
Exercise on reading a chu...
Forum: Homework
Last Post: walterliz
Jul-15-2025, 07:31 AM
» Replies: 3
» Views: 1,218
While loop is terminating...
Forum: Homework
Last Post: walterliz
Jul-15-2025, 07:29 AM
» Replies: 3
» Views: 455
Custom Sorting List of Di...
Forum: Homework
Last Post: walterliz
Jul-15-2025, 07:28 AM
» Replies: 3
» Views: 246

 
  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: 202)
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

  How do I read and write a binary file in Python?
Posted by: blackears - May-29-2023, 09:18 PM - Forum: General Coding Help - Replies (6)

I need to read and write a binary file. This file has a variety of floats, short ints, single bytes and strings in it. Most programming languages pro..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Stephenchers ā–¼ 18 minutes ago IsmaelSlalk IsmaelSlalk General Codin...
  [PyGame] Made my first Py... ā–¼ 8 hours ago andrerocha1998 Ricky1178 Game Developm...
  gpiozero buttons stop wor... ā–¼ Yesterday, 15:49 duckredbeard deanhystad General Codin...
  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
Most views
  The best Prog... 572722
  Tutorial Requ... 485782
  Web Scraping ... 437175
  Newbie with P... 380142
  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
IsmaelSlalk 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