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,924
» Latest member: Fobertsmene
» Forum threads: 38,719
» Forum posts: 175,490

Full Statistics

Online Users
There are currently 37 online users.
» 0 Member(s) | 27 Guest(s)
Bing, Google, Apple, Facebook Dev, AOL, AOL

Latest Threads
data input while debuggin...
Forum: General Coding Help
Last Post: deanhystad
6 hours ago
» Replies: 2
» Views: 347
New to Python and Pygame
Forum: Game Development
Last Post: JMcM
10 hours ago
» Replies: 7
» Views: 1,628
Python Installation issue
Forum: News and Discussions
Last Post: Dev
10 hours ago
» Replies: 4
» Views: 15,558
New to the field
Forum: News and Discussions
Last Post: Larz60+
Today, 08:15 AM
» Replies: 1
» Views: 286
Too much space between gr...
Forum: GUI
Last Post: deanhystad
Today, 02:34 AM
» Replies: 1
» Views: 318
Select Python comment (#)...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 01:34 PM
» Replies: 5
» Views: 624
I'm trying to make a piec...
Forum: General Coding Help
Last Post: MilesWeb
Yesterday, 06:11 AM
» Replies: 5
» Views: 1,407
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Stowersw
Sep-12-2025, 03:23 PM
» Replies: 4
» Views: 2,378
Python and excel vba codi...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-12-2025, 11:09 AM
» Replies: 2
» Views: 1,099
Web Scrapper to find prov...
Forum: General Coding Help
Last Post: Olivia
Sep-12-2025, 08:36 AM
» Replies: 1
» Views: 2,339

 
  pyinstaller + win32print
Posted by: Wild_Tigra - May-09-2024, 12:50 PM - Forum: General Coding Help - Replies (1)

Hello everyone, I’ll say right away that I’m new to programming, I mainly use GPT chat. The essence of the problem is that there is code in Python, an..... More

Print this item

  What's the meaning of dtype=mesh.Mesh.dtype?
Posted by: FerdiFuchs - May-09-2024, 05:31 AM - Forum: General Coding Help - Replies (2)

Hi there,

I'm trying to create STL files using python code and found the following sample:

[python]from stl import mesh
import math
import num..... More

Print this item

  Use or raw string on regular expressions
Posted by: Zaya_pool - May-09-2024, 04:08 AM - Forum: General Coding Help - Replies (5)

I am studying regular expressions in an introduction course and I don't completely understand the use of raw strings. I will ilustrate my question wit..... More

Print this item

  Value Error when Trying to Plot Filtered Waveforms
Posted by: mkohler - May-09-2024, 12:40 AM - Forum: General Coding Help - Replies (1)

Howdy yall. I am trying to apply a highpass filter to my waveform from a specific earthquake but I cant seem to understand the error that I get when i..... More

Print this item

  Class and Object HW for cars - Help with error handling for user inputs
Posted by: jakeshugart - May-08-2024, 07:55 PM - Forum: Homework - Replies (2)

Hi All,

I have this HW problem that deals with classes and objects and I think i did the assignment correctly from the instructions. However, I w..... More


Attached Files

.pdf   class Car HW problem.pdf (Size: 77.8 KB / Downloads: 255)
.py   car_object_error_handling.py (Size: 1.38 KB / Downloads: 181)
.py   Car.py (Size: 1.19 KB / Downloads: 193)
Print this item

  Please make a script
Posted by: Centsicles - May-08-2024, 04:22 PM - Forum: Bar - Replies (10)

jesus christ,i've looked everywhere,im shadow banned on reddit for whatever reason? Anyway i need to terminate a task called nf.exe that starts itself..... More

Print this item

  Regular expression help
Posted by: anilrajr - May-08-2024, 07:51 AM - Forum: General Coding Help - Replies (4)

Hello All,

Need your help to understand what below python regular expression code does. It's from a Ansible playbook.

[b]- { regex: '((?:hares|h..... More

Print this item

  get a game to run in full screen mode
Posted by: agencyclearly - May-08-2024, 07:22 AM - Forum: Game Development - Replies (1)

Hello, I need some assistance with some coding and I'm attempting to get a game to run in full screen mode. However, it's now small and in the center ..... More

Print this item

  Integrating Python Debugging with Visual Studio Code in a Custom Application
Posted by: bill787 - May-08-2024, 03:59 AM - Forum: Networking - Replies (1)

I’ve integrated Python directly into my application, running it within the same process by loading Python’s relevant libraries. I’m looking to debug P..... More

Print this item

  strange result in xor
Posted by: zapad - May-07-2024, 04:08 PM - Forum: General Coding Help - Replies (6)

hello
i am trying to implement an xor test on 2 values
in binary . I receive in return a strange numeric string instead
of the binary I expect ..... More

Print this item

  Odd Print Behavior
Posted by: tanner_1011 - May-07-2024, 03:12 PM - Forum: General Coding Help - Replies (3)

I'm on Windows 10, running Python 3.12.3. I created a python script in a directory called 'python_alarm_help', and it contains print statements that c..... More

Print this item

  Legacy database
Posted by: DPaul - May-07-2024, 05:58 AM - Forum: Bar - Replies (4)

Hi,
I have been handed a legacy database. It's something called 'filemaker pro',
and I have reason to believe : release 13.
Next to a bunch of dlls..... More

Print this item

  can a number preceed a line of code?
Posted by: Skaperen - May-07-2024, 05:40 AM - Forum: News and Discussions - Replies (4)

is there any case where a line of code that begins with a decimal number expressed as a run of digit characters can be valid Python code in Python3? ..... More

Print this item

  choosing keyword argument names
Posted by: Skaperen - May-06-2024, 11:31 PM - Forum: News and Discussions - Replies (2)

keyword argument names are going to be part of an API a (possible set of) function(s) will have. it would be good to choose a name that has some mean..... More

Print this item

  Error on first Python launch
Posted by: garryp4 - May-06-2024, 09:19 PM - Forum: General Coding Help - Replies (5)

I just installed Python 3.12 and get errors in the in the Command Prompt window when launching.

Here is a cut / paste:

Microsoft Windows [Versio..... More

Print this item

  How can you prevent Qt from displaying scrollbars where none are configured?
Posted by: Batucada - May-06-2024, 01:45 PM - Forum: GUI - Replies (4)

Whenever companies try to re-invent the egg-laying, woolly pig, the result is always something terrible. The company Qt has been a thorn in my side fo..... More

Print this item

  How to generate double arrays by two lists using np.zero
Posted by: Safinazsalem - May-06-2024, 01:21 PM - Forum: Homework - Replies (4)

I have these two lists:

X=np.arange(0,50,0.1)
Y=np.arange(10,20,1)

How to generate a doubles array from these two lists by `np.zeros_like()..... More

Print this item

  How to make a double loop to evaluate this triple integral
Posted by: Safinazsalem - May-06-2024, 10:12 AM - Forum: Data Science - Replies (1)

I have a function f(t1,t2,t3, a,k) where I make a triple integral over t1,t2,t3 and make a loop on the value of the variable "k"

-The integrati..... More

Print this item

Exclamation Multi-Threaded Camera Feed issue
Posted by: Khajababa69 - May-05-2024, 09:41 PM - Forum: General Coding Help - No Replies

I have written a python code, for feeding multiple cameras using opencv and websockets ( not socket io ).

The first segment of the code consists of..... More

Print this item

  Keep getting "SyntaxError: incomplete input" but can't see why.
Posted by: Pedroski55 - May-05-2024, 05:26 PM - Forum: General Coding Help - Replies (3)

I am using Python 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]

I have this file, compiler2.py shown below, from ..... More

Print this item

Star [HELP] The Application of Deep Neural Networks
Posted by: MistyhV1 - May-05-2024, 02:22 PM - Forum: Data Science - No Replies

Hello everyone,

I'm currently working on a regression model to predict financial asset returns, building upon the research by Welch and Goyal and t..... More


Attached Files

.csv   chars60_summary.csv (Size: 4.44 KB / Downloads: 0)
Print this item

  how to: explicitly select the grouping columns after groupby
Posted by: sawtooth500 - May-05-2024, 03:01 AM - Forum: General Coding Help - No Replies

backtestdf_complete.groupby(['b_index', 'sample_dur']).apply(day_test)
That bit of code is throwing me:

[output]
/Volumes/..... More

Print this item

  Learning process
Posted by: Butiournin1976 - May-04-2024, 07:42 PM - Forum: Bar - Replies (2)

Do you think that casino gaming can be a teacher? Have you ever experienced mistakes or failures in a game that taught you valuable lessons?

Print this item

  Suggestion on how to speed up this code?
Posted by: sawtooth500 - May-04-2024, 05:52 PM - Forum: General Coding Help - Replies (1)

[python]
tester_list = []
def day_test(df_row):
day_start_time = time.time()
tester = completedf[(completedf['date'] == unique_dates[df_ro..... More

Print this item

  Method returning None
Posted by: husksedgier - May-04-2024, 11:12 AM - Forum: General Coding Help - Replies (2)

[python]
class Employee:
no_of_employees = 0
raise_amount = 1.04

def __init__(self, first, last, pay):
self.first = first
..... More

Print this item

  Joblib worker error
Posted by: sawtooth500 - May-03-2024, 05:30 PM - Forum: General Coding Help - Replies (1)

I'm using Joblib for parralelization.

Here is my call to joblib:

[python]backtestdf_list = Parallel(n_jobs = coremax)(delayed(do_backtest)(back..... More

Print this item

  Flask role-based authorization
Posted by: erdemath - May-03-2024, 12:39 PM - Forum: Web Scraping & Web Development - Replies (13)

I am working on a script about role-based authorization by using Flask. I am trying to run by gunicorn on Linux Ubuntu 18.02. However, every time I ca..... More

Print this item

  Calculating Average with Error Handling
Posted by: mikasa - May-03-2024, 08:45 AM - Forum: General Coding Help - Replies (7)

I'm trying to write a Python program to calculate the average of a list of numbers, but I'm getting an error message: "TypeError: unsupported operand ..... More

Print this item

  World Clock syntax error
Posted by: OscarBoots - May-03-2024, 03:37 AM - Forum: General Coding Help - Replies (1)

Hi Forum,
I'm using tis code to create a World clock for 4 Countries.
I've copied the code and understand the logic, but i must have made an error a..... More

Print this item

  questions about storage
Posted by: PhantomMouse - May-02-2024, 09:02 PM - Forum: Game Development - Replies (1)

I'm gearing up to make a CCRPG in Python. The characters will be point bought. The starting points for a level 1 character is 100 points. Each leve..... More

Print this item

Information Do regular expressions still need raw strings?
Posted by: bobmon - May-02-2024, 03:43 PM - Forum: General Coding Help - Replies (3)

Hello everyone (1st post!)

When I started using regular expressions back in Python 2, it seemed that best practice was to use raw strings in order ..... More

Print this item

  Connecting to Remote Server to read contents of a file
Posted by: ChaitanyaSharma - May-02-2024, 01:42 PM - Forum: General Coding Help - Replies (1)

I want to get files which are kept on a remote server and can be connected using RDP. however, the port opened is 3389 instead of default port 22. Wh..... More

Print this item

  Filer and sort files by modification time in a directory
Posted by: tester_V - May-02-2024, 03:57 AM - Forum: General Coding Help - Replies (5)

Greetings!
I need to filter files by file names, sort by the last modification time and process them.
I got this code but it does not work.
[python..... More

Print this item

Brick looking for a Coding Partner
Posted by: sahorier - May-01-2024, 08:28 AM - Forum: Bar - Replies (1)

I am a new learner. Now I am learning Python. But I think having a coding partner boosts learning interest. Now I am looking for a coding partner with..... More

Print this item

  Excel isnt working properly after python function is started
Posted by: IchNar - May-01-2024, 06:24 AM - Forum: General Coding Help - Replies (2)

I have a Python application that can create a graph based on input that the user enters into a form(GUI) that is created via Tkinter. This application..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  data input while debuggin... 6 hours ago fred1232 deanhystad General Codin...
  New to Python and Pygame 10 hours ago JMcM JMcM Game Developm...
  Python Installation issue 10 hours ago RFHill Dev News and Disc...
  New to the field Today, 08:15 Polybunny Larz60+ News and Disc...
  [Tkinter] Too much space ... Today, 02:34 RonR deanhystad GUI
  Select Python comment (#)... Yesterday, 13:34 SpongeB0B snippsat General Codin...
  I'm trying to make a piec... Yesterday, 06:11 Alislugacool MilesWeb General Codin...
  Seeking feedback: dynamic... 09-12, 15:23 Bona2000 Stowersw General Codin...
  Python and excel vba codi... 09-12, 11:09 odiez DeaD_EyE General Codin...
  Web Scrapper to find prov... 09-12, 08:36 physalis2099 Olivia General Codin...
  403 Error 09-11, 20:39 CaptainNewb snippsat Web Scraping ...
Most views
  The best Prog... 575577
  Tutorial Requ... 496609
  Web Scraping ... 439652
  Newbie with P... 383270
  New Users Int... 364392
Most reputation
buran 581
snippsat 508
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+ 12087
buran 8174
snippsat 7366
deanhystad 6893
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Fobertsmene Today
jeremyn24503 Today
homataheri Today
Dev Today
RonR Yesterday

User Panel Messages

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