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,933
» Latest member: Dibbley
» Forum threads: 38,721
» Forum posts: 175,507

Full Statistics

Online Users
There are currently 38 online users.
» 0 Member(s) | 34 Guest(s)
Bing, AOL, Google, AOL

Latest Threads
Too much space between gr...
Forum: GUI
Last Post: RonR
17 minutes ago
» Replies: 4
» Views: 1,005
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
1 hour ago
» Replies: 3
» Views: 30
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Yesterday, 07:07 AM
» Replies: 1
» Views: 427
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-15-2025, 08:58 PM
» Replies: 8
» Views: 2,597
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 1,605
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 517
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 157
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Sep-15-2025, 03:28 PM
» Replies: 7
» Views: 3,023
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,258
data input while debuggin...
Forum: General Coding Help
Last Post: deanhystad
Sep-14-2025, 03:32 PM
» Replies: 2
» Views: 936

 
  Nested QStackedLayout
Posted by: Milestone - Jun-23-2022, 10:40 AM - Forum: General Coding Help - No Replies

If I add a widget to QStackedLayout the count() show me the correct number of stacked layout. However if I use addChildLayout the count() show one les..... More

Print this item

  AttributeError: 'numpy.int32' object has no attribute 'split'
Posted by: rf_kartal - Jun-23-2022, 09:17 AM - Forum: General Coding Help - Replies (6)

Hi everyone,

I get the error "AttributeError: 'numpy.int32' object has no attribute 'split'" in all codes that contain UTCDateTime functions I use...... More

Print this item

  Sudoku Solver in Python - Can someone explain this code ?
Posted by: qwemx - Jun-23-2022, 09:12 AM - Forum: General Coding Help - Replies (6)

[python]M = 9
def puzzle(a):
for i in range(M):
for j in range(M):
print(a[i][j],end = " ")
print()
def solve(gr..... More

Print this item

Sad PyCharm Problems On A Mac
Posted by: Danno - Jun-23-2022, 01:11 AM - Forum: News and Discussions - No Replies

Hi. The purpose of this post is to give you a heads-up about using the Mac version of PyCharm to develop Python apps.

After 30+ years developin..... More

Print this item

  Storing new value to array
Posted by: William369 - Jun-22-2022, 05:59 PM - Forum: General Coding Help - Replies (4)

Hi

I am new to Python and I saw this two sum algorithm solution

[python]
class Solution:
def twoSum(self, nums: List[int], target: int) ->..... More

Print this item

  group by create pivot table python
Posted by: dawid294 - Jun-22-2022, 03:42 PM - Forum: General Coding Help - Replies (1)

Hello I searched how can i do this but i did not find anything. please Can you help me . I have data set with three columns. i would to create pivot ..... More

Print this item

  scaling
Posted by: DPaul - Jun-22-2022, 02:47 PM - Forum: GUI - Replies (7)

Hi ,
I have developed and installed an app with a Tkinter GUI .
I have made sure to detect the screen resolution of the user's PC (winfo_width and ..... More

Print this item

  [Hiring] Node.js / Python Engineer (Regular/Senior)
Posted by: jharp - Jun-22-2022, 12:18 PM - Forum: Jobs - Replies (2)

[HIRING][Zürich, Switzerland, Onsite / Remote]
🏢 nexoya ltd., based in Zürich 🇨🇭 is looking for a Node.js / Python Engineer (Regular/Senior)
⚙️ Tech u..... More

Print this item

  Creating Shortcuts with python
Posted by: Oshadha - Jun-22-2022, 11:03 AM - Forum: General Coding Help - Replies (2)

Is there a way for me to create a shortcut (.lnk) file using python. I searched everywhere, but found no answer that works :(

Print this item

  If statements and multiplication
Posted by: elroberto - Jun-22-2022, 10:32 AM - Forum: Homework - Replies (1)

My assignment is to get company name from the user, get the number of fiberoptic cable needed from the user, evaluate whether that number is greater t..... More

Print this item

  list from excel
Posted by: devilonline - Jun-22-2022, 02:09 AM - Forum: General Coding Help - Replies (4)

I
I'm trying to search from a excel file. I've make a convert to a dictionary but still didnt work

I want for example search id 1 and print name Char..... More

Print this item

  Need help (very... very new to python
Posted by: RWHockey13 - Jun-22-2022, 01:43 AM - Forum: General Coding Help - Replies (3)

So, I have this script below (single dashed line below). I want it to prompt for the file and it does. But rather than changes all the words to Upperc..... More

Print this item

  How to download a list of files from FTP?
Posted by: schnarkle - Jun-21-2022, 10:35 PM - Forum: General Coding Help - No Replies

Hi,

I need to download a list of files everyday. These files have the dates in the filenames and I need to pull from 1 - 7 days out.
I have the f..... More

Print this item

  hypothesis 6.46.2 requires python3.7 or later
Posted by: Anldra12 - Jun-21-2022, 05:56 PM - Forum: General Coding Help - Replies (6)

I run the code using charm crypto for a project, python3.6 and Ununtu18 which shows me an error indicating a hypothesis and exception error.
..... More

Print this item

  Server Folder Error : WinError5 Access Denied
Posted by: fioranosnake - Jun-21-2022, 01:36 PM - Forum: General Coding Help - Replies (1)

Hi,

One of our users has created a small Pycharm app on Server A (win 2012) to create new folders on a separate server Server B (win 2012) but when..... More

Print this item

  array change
Posted by: svm - Jun-21-2022, 01:19 PM - Forum: General Coding Help - Replies (6)

Hi,

can you help me to understand where I'm wrong in coding?
[python]
a = [] # define first array (future matrix)
arr = [] # define a second arr..... More

Print this item

  PEP 671 Syntax for late bound function default values
Posted by: stevendaprano - Jun-21-2022, 10:53 AM - Forum: News and Discussions - Replies (2)

PEP 671 proposes to introduce syntax to solve the "early binding gotcha" when mutable objects are used as..... More

Print this item

  switch between multiple monitors
Posted by: muhdaniyal252 - Jun-21-2022, 10:12 AM - Forum: General Coding Help - Replies (2)

Hello guys,

I want to know if there is any way where I can target a monitor attached to my system to execute an exe file.

For example:

1. I ..... More

Print this item

  Sending Whatsapp Message in the text file
Posted by: ebincharles869 - Jun-21-2022, 08:20 AM - Forum: General Coding Help - Replies (9)

Hello,

I am sending whatsapp message through python. Below is the code.

[python]import pywhatkit
pywhatkit.sendwhats_image("E9wnucCUpBpD1aizIUyLv6",..... More

Print this item

  Socket server problem
Posted by: H84Gabor - Jun-21-2022, 12:14 AM - Forum: Networking - No Replies

Hi all,

I've got a socket server with many clients and it all used to work fine. Just recently this receiving line:
RECEIVED_MESSAGE = CLIENT.recv..... More

Print this item

  QR Codes
Posted by: deep_logic - Jun-20-2022, 09:41 PM - Forum: General Coding Help - Replies (1)

Hi all,
I'm trying to generate qr codes in python. I have downloaded and did a pip install of qrcode on the pypi site.
The starter code on the site i..... More

Print this item

  how to join by stack multiple types in numpy arrays
Posted by: caro - Jun-20-2022, 04:11 PM - Forum: General Coding Help - Replies (1)

[python]import numpy as np

arr1 = np.array([1, 2, 3, 4, 5, 6, 7])
arr2 = np.array(['n', 'b', 'c', 'y', 'f', 'j', 'p'])

l = np.stack((arr1, arr2..... More

Print this item

  plt.bar on two different Y axis
Posted by: Menthix - Jun-20-2022, 03:32 PM - Forum: General Coding Help - Replies (1)

Hello,
I have this data set :
Age Var 1 Var 2
17-31 ans 19565 11178
32-44 ans 19757 24011
45-54 ans ..... More


Attached Files

Thumbnail(s)
   
Print this item

  Separating unique, stable, samples using pandas
Posted by: keithpfio - Jun-20-2022, 03:22 PM - Forum: Data Science - Replies (1)

I'm using pandas to process a simple two column table that has a series of input and output integer data samples. Not all samples are useful, because ..... More

Print this item

  go over and search in numpy array faster
Posted by: caro - Jun-20-2022, 11:23 AM - Forum: General Coding Help - Replies (7)

hello,
my array looks like :

[[10,20,'1'],[10,50,'1'],[10,100,'1'],[10,30,'1'],[20,10,'1'],[10,60,'1'],[30,10,'1']

I would like to know how to retur..... More


Attached Files

Thumbnail(s)
   
Print this item

  Setting up new Python kernel for JupyterLab Desktop on M1 Mac
Posted by: daler6 - Jun-20-2022, 03:45 AM - Forum: General Coding Help - No Replies

I am trying to set up a Python kernel running the latest version of Python - 3.10.5 - to use within JupyterLab on my M1 MacMini. I have tried a variet..... More

Print this item

  check for duplicate file paths
Posted by: Skaperen - Jun-19-2022, 10:57 PM - Forum: News and Discussions - Replies (4)

i have a list of files that are expected to exist in the host system name space. i want to check it for duplicate references including hardlinks. a ..... More

Print this item

  replace sets of values in an array without using loops
Posted by: paul18fr - Jun-19-2022, 09:28 PM - Forum: Data Science - Replies (7)

Hi,

I've been thinking I've ever done this, but I do not remember how; in any way I do not understand the Type Error sine I'm using intergers: what..... More

Print this item

  Two text files, want to add a column value
Posted by: zxcv101 - Jun-19-2022, 03:21 PM - Forum: General Coding Help - Replies (8)

Hi guys, a basic question. I have two text files which contain data like the following. There will always be only two columns, the first being date/ti..... More


Attached Files

Thumbnail(s)
   
Print this item

  Reshaping a single column in to multiple column using Python
Posted by: sahar - Jun-19-2022, 10:45 AM - Forum: General Coding Help - Replies (7)

I have an excel file containing a single column (Row's number is not fixed). Using Python 3, I want to,

  1. Import my excel file/data in pytho..... More

Print this item

  max component length of file path name
Posted by: Skaperen - Jun-19-2022, 03:06 AM - Forum: News and Discussions - Replies (1)

i want to get the value of this host's maximum allowed length of a file path name component. for ext4 in Linux this value is 255. it i..... More

Print this item

  Using evdev for background script
Posted by: hotcocoa - Jun-18-2022, 09:46 PM - Forum: General Coding Help - Replies (1)

What I'm attempting to do is have a python script running in the background at all times that only takes input from one of the usb devices plugged int..... More

Print this item

  Pandas - error when running Pycharm, but works on cmd line
Posted by: zxcv101 - Jun-18-2022, 12:32 PM - Forum: General Coding Help - Replies (2)

I'm having problems running scripts that reference pandas when I use Pycharm, but when I run the python scripts on the command line, then it all work..... More


Attached Files

Thumbnail(s)
           
Print this item

  regex question
Posted by: DPaul - Jun-18-2022, 09:11 AM - Forum: General Coding Help - Replies (6)

Hi,
I'm not a regex hero, but I read everywhere it's fast and I should have a look into it.
I need a particular substitution that looks very much like..... More

Print this item

  python-docx regex: replace any word in docx text
Posted by: Tmagpy - Jun-18-2022, 08:24 AM - Forum: General Coding Help - Replies (4)

I'm working on a personal project where I can change any word I can find in the text:

[python]
def replace(input_file,key,value,Numberlist,output..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [Tkinter] Too much space ... 17 minutes ago RonR RonR GUI
  datetime in SQL query. 1 hour ago Dibbley Dibbley General Codin...
  Another app idea - intera... Yesterday, 07:07 decuser Lenowell News and Disc...
  403 Error 09-15, 20:58 CaptainNewb snippsat Web Scraping ...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
  Select Python comment (#)... 09-14, 23:27 SpongeB0B Pedroski55 General Codin...
  data input while debuggin... 09-14, 15:32 fred1232 deanhystad General Codin...
  New to Python and Pygame 09-14, 11:25 JMcM JMcM Game Developm...
Most views
  The best Prog... 575881
  Tutorial Requ... 497240
  Web Scraping ... 439870
  Newbie with P... 383596
  New Users Int... 365719
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+ 12088
buran 8174
snippsat 7367
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Dibbley Today
krish12 Today
XenonBlack Yesterday
Lenowell Yesterday
luisshulez6883 09-15

User Panel Messages

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