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,247
» Latest member: Kacper
» Forum threads: 38,779
» Forum posts: 175,813

Full Statistics

Online Users
There are currently 49 online users.
» 0 Member(s) | 45 Guest(s)
Apple, Bing, Google

Latest Threads
New to python and coding
Forum: Homework
Last Post: Larz60+
4 hours ago
» Replies: 1
» Views: 35
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
4 hours ago
» Replies: 11
» Views: 239
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
4 hours ago
» Replies: 3
» Views: 88
Backward compatibility qu...
Forum: News and Discussions
Last Post: Gribouillis
9 hours ago
» Replies: 5
» Views: 223
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 05:37 AM
» Replies: 1
» Views: 83
Data Science
Forum: Data Science
Last Post: mamta25
Yesterday, 05:27 AM
» Replies: 3
» Views: 2,597
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 180
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 165
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,761
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,406

 
  print doesnt work in a function
Posted by: ony - Mar-10-2024, 06:51 PM - Forum: General Coding Help - Replies (2)

Ive been trying to make a random number generator with some luck stuff but im stuck here

[python]import random

randomnumber = random.sample(rang..... More

Print this item

  Portfolio Optimization code error i want to cry
Posted by: FinanceMotta - Mar-10-2024, 06:09 PM - Forum: General Coding Help - Replies (3)

I have been coding this bad boy for a long fucking time, started python recently more finance related stuff but i cannot get this MF to work like i sp..... More


Attached Files

.py   pinocchio_asset.py (Size: 3.74 KB / Downloads: 210)
Print this item

Question Running Python script through Task Scheduler?
Posted by: Winfried - Mar-10-2024, 03:39 PM - Forum: General Coding Help - Replies (8)

Hello,

This is my first try at running a Python (3.12.0) script through Windows 10's Task Scheduler… and it didn't work (as pretty much expected)...... More

Print this item

  No Internet connection when running a Python script
Posted by: basil_555 - Mar-10-2024, 09:18 AM - Forum: General Coding Help - Replies (8)

Hello. I have the follwoing Python code that checks a website for change. This script always gives me an error "Error checking website". What am I doi..... More

Print this item

  Weight Distribution
Posted by: 11drk9 - Mar-10-2024, 02:31 AM - Forum: General Coding Help - Replies (11)

Provide a python function for the below case and add a column
1) Sum parent weight based on Level_3 and distribute the values based on values in chil..... More

Print this item

  Learning curve
Posted by: astral_travel - Mar-09-2024, 09:16 PM - Forum: General Coding Help - Replies (3)

Hi,
Can you describe what would be the wanted and essential substances/knowledge in order to be able to develop an automatic stocks trading system whi..... More

Print this item

  Tkinter Matplotlib Animation Graph not rendering
Posted by: dimidgen - Mar-09-2024, 04:48 PM - Forum: GUI - Replies (3)

I am trying to plot a real time stock price graph on a tkinter frame using matplotlib's funcanimation and tkcanvas, however whenever I try and put it ..... More

Print this item

  How to communicate between Electron Framework and python
Posted by: Abdul_Rafey - Mar-09-2024, 12:18 PM - Forum: General Coding Help - No Replies

I am trying to make a face recognition attendance system for schools using Python and Electron. I am using multiprocessing in Python which will create..... More

Print this item

  using PowerShell from Python script for mounting shares
Posted by: tester_V - Mar-09-2024, 07:11 AM - Forum: General Coding Help - Replies (8)

Greetings to you all!
I have a list of Hosts, I need to connect to each host and do something with the files on it.
For some reason some of the host..... More

Print this item

  Load data in Oracle
Posted by: muzokh - Mar-08-2024, 11:19 PM - Forum: General Coding Help - No Replies

hi
I am working on this for the last night but no luck . I am trying to load multiple csv files from a specific folder and load in into oracle data..... More

Print this item

  Adding PD DataFrame column
Posted by: bsben - Mar-08-2024, 04:14 PM - Forum: General Coding Help - Replies (2)

Moring All.

I'm a bit stuck when adding a new column to a DF. This can get a little confusing, but will try to keep it simple.

I'm working with..... More

Print this item

  Help with to check an Input list data with a data read from an external source
Posted by: sacharyya - Mar-08-2024, 08:35 AM - Forum: General Coding Help - Replies (3)


.py   real_Time_Sinu_V5.py (Size: 7.06 KB / Downloads: 222)

I am not from coding background but currently am coding using python due to job requirements.
I have attached the code with whic..... More

Print this item

  How to use Session Tokens
Posted by: thepodric - Mar-08-2024, 03:41 AM - Forum: Web Scraping & Web Development - Replies (1)

I make my request from a server:
[python]

obj = requests.Session()
response = obj.request('get','https://192.168.0.22/api/', auth = HTTPB..... More

Print this item

  Help with input on make a questionforms
Posted by: sodavatten - Mar-07-2024, 08:59 PM - Forum: GUI - Replies (1)

In the process of learning python and tkinker via the internet on my own:-)

Have a small project I'm trying on right now, I think I'll learn more ..... More

Print this item

  A new endgame problem, almost solved but not quite 2
Posted by: max22 - Mar-07-2024, 07:12 PM - Forum: General Coding Help - No Replies

I'm trying to create my own chess endgame code for a trivial game 3 pieces on the board Q+K+k (all in Python) but I'm getting a wrong output at the n..... More

Print this item

  help with accessing .txt file and performing actions
Posted by: SamWestlakeCann - Mar-07-2024, 12:30 PM - Forum: General Coding Help - Replies (4)

Please forgive me in advance I am new and this has been doing my head in for ages, I just need to bash heads with someone to hopefully help any help w..... More

Print this item

  TypeError: cannot pickle ‘_asyncio.Future’ object
Posted by: Abdul_Rafey - Mar-07-2024, 07:52 AM - Forum: General Coding Help - Replies (1)

I am making a face recognition attendance system using python, whenever a request comes to WebSocket it opens a new camera in a new process using mult..... More

Print this item

  currency converter using forex-python
Posted by: preethy12ka4 - Mar-06-2024, 10:48 PM - Forum: General Coding Help - Replies (8)

I installed forex-python as pip in cmd and package in pycharm
I used an online code for currency conversion, which is throwing an error as shown belo..... More

Print this item

  Tkinter: An image and label are not appearing.
Posted by: emont - Mar-06-2024, 08:23 PM - Forum: GUI - Replies (7)

Hello,

I have this python code:

[python]import tkinter as tk
from typing import Self
import selenium
import os
import shutil
import getpas..... More

Print this item

  A new endgame problem, almost solved but not quite
Posted by: max22 - Mar-06-2024, 06:47 PM - Forum: News and Discussions - No Replies

I'm trying to create my own chess endgame code for a trivial game 3 pieces on the board Q+K+k (all in Python) but I'm getting a wrong output at the n..... More

Print this item

  Is a good practice naming user defined python functions with prefix udf_?
Posted by: meerkat - Mar-06-2024, 06:15 PM - Forum: News and Discussions - Replies (2)

As we know, usually python user defined functions are named like get_record_count(), add_numbers(). But to make the functions easy to search and manag..... More

Print this item

  Python Security
Posted by: Cammuel - Mar-06-2024, 03:41 PM - Forum: General Coding Help - Replies (1)

Hello,

I am new to Python and have yet to scrape the surface of its nature and capabilities. I have some previous experience coding and would reall..... More

Print this item

  using ctypes to use a dll in a python module
Posted by: dauriac - Mar-05-2024, 02:48 PM - Forum: General Coding Help - Replies (3)

Hello, working on a windows system and I need to import a dll into a python module. I use ctypes
[python]
import ctypes,sys
myLib = ctypes.CDLL("./..... More

Print this item

  Screenshot problem
Posted by: DPaul - Mar-05-2024, 07:34 AM - Forum: Bar - Replies (7)

Hi,
When a user wants to save a document , that is shown in the tKinter canvas area of the gui,
he hits a button, and a screenshot is taken to the c..... More

Print this item

  PIL not recognised in subprocess
Posted by: bobtbown - Mar-05-2024, 04:32 AM - Forum: General Coding Help - Replies (2)

I have a script to show images using the the import "from PIL import Image, ImageTk" and it works fine when running the script by itself. I have Pill..... More

Print this item

  Matching string from a file
Posted by: tester_V - Mar-04-2024, 09:07 PM - Forum: General Coding Help - Replies (5)

Greetings!
I’d like to match strings in files, it seems simple but I’m failing to do this…
It has multiple white spaces before the word Start Time o..... More

Print this item

  Senior Full-stack Python Developer
Posted by: Nadiia_H - Mar-04-2024, 07:56 PM - Forum: Jobs - Replies (2)

Are you a talented senior developer looking for a remote job that lets you show your skills and get better compensation and career growth? Look no fur..... More

Print this item

  Embed Matplotlib Graph to Tkinter?
Posted by: dimidgen - Mar-04-2024, 07:40 PM - Forum: General Coding Help - No Replies

Hi all,

I am trying to animate stock prices from a csv file on a matplotlib graph and embed this onto tkinter. The issue is that I can't seem to ge..... More

Print this item

  ValueError: could not convert string to float: '' fron Entry Widget
Posted by: russellm44 - Mar-04-2024, 06:17 PM - Forum: GUI - Replies (5)

Hello,

I have a simple program that takes user input from a tkinter entry widget and then converts the user input to a float for processing.

I a..... More

Print this item

  socket library
Posted by: Kate - Mar-04-2024, 03:51 PM - Forum: General Coding Help - Replies (1)

I am new to python socket.py and while learning this library I got a question, answer to which I coundn't find in any resource.
I know that there is ..... More

Print this item

  print(0.1+0.2==0.3)
Posted by: akbarza - Mar-04-2024, 06:59 AM - Forum: General Coding Help - Replies (3)

hi
I saw in a quiz on Instagram that wanted the result of

 print(0.1+0.2==0.3)
.
it had 4 choices:
1)True
2)False
3) machine de..... More

Print this item

  mode()
Posted by: huey17 - Mar-04-2024, 05:53 AM - Forum: General Coding Help - Replies (1)

Hi, I am a newbie to Python.
Am trying to impute a categorical column with mode but failed. Not sure what is the problem :

data.loc[(data.horsepow..... More

Print this item

  Hi people !
Posted by: astral_travel - Mar-03-2024, 04:38 PM - Forum: Bar - Replies (3)

i'm back to learning python,

how are you ?

Print this item

  problem with memory_graph module
Posted by: akbarza - Mar-03-2024, 02:25 PM - Forum: General Coding Help - Replies (5)

hi
code:
[python]# from:https://pypi.org/project/memory-graph/
'''
custom copy method
We can write our own custom copy function or method in case..... More

Print this item

  confusion on importing modules
Posted by: carter187 - Mar-03-2024, 12:27 PM - Forum: General Coding Help - Replies (4)

Hello,

I want to build a simple web browser following along this https://browser.engineering/http.html and have created a directory like this:

[..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  New to python and coding 4 hours ago lary_p Larz60+ Homework
  [Tkinter] I’m building a ... 4 hours ago tsgiannis tsgiannis GUI
  Help with Serial.write in... 4 hours ago racingsubby Larz60+ General Codin...
  Backward compatibility qu... 9 hours ago yutaozhou Gribouillis News and Disc...
  [split] print two differe... Yesterday, 05:37 Reema Gribouillis General Codin...
  Data Science Yesterday, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
Most views
  The best Prog... 578789
  Tutorial Requ... 509668
  Web Scraping ... 441900
  Newbie with P... 385890
  New Users Int... 375761
Most reputation
buran 581
snippsat 510
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+ 12105
buran 8195
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
Kacper Today
isla123456 Today
vibrometro Today
thebigback Yesterday
dimitriwati Yesterday

User Panel Messages

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