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,387
» Latest member: zashleyfracesz3221
» Forum threads: 38,820
» Forum posts: 176,016

Full Statistics

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

Latest Threads
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
8 minutes ago
» Replies: 7
» Views: 135
IP address for users
Forum: Networking
Last Post: itx_sumeet
5 hours ago
» Replies: 4
» Views: 7,055
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
10 hours ago
» Replies: 5
» Views: 9,871
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 129
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 73
requests.post not sending...
Forum: Web Scraping & Web Development
Last Post: noisefloor
Dec-24-2025, 09:20 AM
» Replies: 2
» Views: 132
Looking for constructive ...
Forum: News and Discussions
Last Post: cecrease
Dec-24-2025, 03:16 AM
» Replies: 2
» Views: 1,288
Switching from batch proc...
Forum: GUI
Last Post: arbiel
Dec-23-2025, 09:38 PM
» Replies: 0
» Views: 96
Exploring Different Pytho...
Forum: News and Discussions
Last Post: ankitsharma32
Dec-23-2025, 01:01 PM
» Replies: 3
» Views: 751
We open-sourced kubesdk —...
Forum: Code sharing
Last Post: beslanpuzl
Dec-21-2025, 11:52 AM
» Replies: 0
» Views: 162

 
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

  I have no clue what I am doing wrong here
Posted by: elroberto - Jun-18-2022, 05:52 AM - Forum: General Coding Help - Replies (4)

Code Version 1:
[python]message="Thank You for Choosing Robert's Fiberoptics! The One-Stop-Shop for all your fiberoptics needs!"
print(message)

..... More

Print this item

  Simple encoding code
Posted by: ebolisa - Jun-17-2022, 09:44 PM - Forum: General Coding Help - Replies (3)

Hi,

This simple encoding code converts text to ASCII and adds a one digit number to it. It seems to work ok, but while testing it, I noticed that i..... More

Print this item

  ValueError: Found input variables with inconsistent numbers of samples
Posted by: saoko - Jun-16-2022, 06:59 PM - Forum: General Coding Help - No Replies

I'm trying to write a bounding box regression training script with Keras and TensorFlow for object detection. I have a dataset of 3153 images (in jpg ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Calling python from anoth... 8 minutes ago eedjsa eedjsa General Codin...
  IP address for users 5 hours ago Robots itx_sumeet Networking
  Lottery generator (beginn... 10 hours ago 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...
  We open-sourced kubesdk —... 12-21, 11:52 beslanpuzl beslanpuzl Code sharing
  a function to watch files 12-21, 07:43 Skaperen Gribouillis News and Disc...
Most views
  The best Prog... 580342
  Tutorial Requ... 518899
  Web Scraping ... 442762
  Newbie with P... 386944
  New Users Int... 386091
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
zashleyfracesz3221 Today
itx_sumeet Today
zaathonyshulze4201 Today
Michaelhauct Yesterday
eedjsa Yesterday

User Panel Messages

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