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,563
» Latest member: johnstevens
» Forum threads: 38,665
» Forum posts: 175,214

Full Statistics

Online Users
There are currently 199 online users.
» 0 Member(s) | 193 Guest(s)
Applebot, Google, Yandex, Baidu

Latest Threads
How scan all ips from mai...
Forum: Networking
Last Post: MaahirThomas
3 hours ago
» Replies: 2
» Views: 382
gpiozero buttons stop wor...
Forum: General Coding Help
Last Post: deanhystad
7 hours ago
» Replies: 7
» Views: 309
Code stoped working
Forum: News and Discussions
Last Post: Axel_Erfurt
8 hours ago
» Replies: 1
» Views: 76
Made my first Python prog...
Forum: Game Development
Last Post: Ricky1178
Yesterday, 11:12 PM
» Replies: 8
» Views: 10,673
How to package code for d...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 11:36 AM
» Replies: 2
» Views: 185
pip3 install certifi fail...
Forum: General Coding Help
Last Post: Pedroski55
Jul-15-2025, 08:52 AM
» Replies: 1
» Views: 135
My first python game : Ti...
Forum: Game Development
Last Post: walterliz
Jul-15-2025, 07:45 AM
» Replies: 8
» Views: 55,823
A penny doubled every day...
Forum: Homework
Last Post: walterliz
Jul-15-2025, 07:35 AM
» Replies: 6
» Views: 764
Exercise on reading a chu...
Forum: Homework
Last Post: walterliz
Jul-15-2025, 07:31 AM
» Replies: 3
» Views: 1,222
While loop is terminating...
Forum: Homework
Last Post: walterliz
Jul-15-2025, 07:29 AM
» Replies: 3
» Views: 460

 
  Website Search Assistance Needed
Posted by: CaptianNewb - Jul-29-2023, 03:51 PM - Forum: General Coding Help - Replies (15)

Hi,
I decided to combine my love for good tequila and being a nerd and am trying to read the site below for a particular bottle I like that doesn't c..... More

Print this item

  trying to run mayabatch from python opencue
Posted by: robertkwild - Jul-29-2023, 09:37 AM - Forum: General Coding Help - Replies (3)

hi all,

so i have nearly got opencue to work with maya but the last hurdle is when i try to get opencue to render a maya job it fails as it cant op..... More

Print this item

  Python: Ignore\Exclude files that contain words
Posted by: Melcu54 - Jul-28-2023, 04:24 PM - Forum: Code sharing - No Replies

maybe someone needs this information

[python]def save_to_pdf(directory_path):
modified_files = []
file_count = 0
for root, di..... More

Print this item

  Replacing String Variable with a new String Name
Posted by: kevv11 - Jul-28-2023, 03:26 PM - Forum: General Coding Help - Replies (2)

Hello,

It has been a while since I have coded in C++, and I am new to python since I am currently making macros for a CFD software called STAR-CCM...... More

Print this item

  I want to be able to scroll up in curses to see previous text.
Posted by: Caiden - Jul-27-2023, 08:47 PM - Forum: General Coding Help - Replies (2)

I have some code that just prints the same thing over and over and its numbered but when I try scrolling up it doesn't work, But I wanna be able to sc..... More

Print this item

  How to code a musical slur in python tkinter?
Posted by: philipbergwerf - Jul-27-2023, 04:21 PM - Forum: General Coding Help - No Replies

Hello, not good at math haha. So I have a little app and I want to know how to create a good musical slur like in sheet music using tkinter canvas. In..... More

Print this item

  xlwings error when reading a workbook
Posted by: Mishal0488 - Jul-27-2023, 01:45 PM - Forum: General Coding Help - Replies (1)

Hi Guys

I have some code which reads reads an excel file and there after uses the data to develop stress plots of structural sections.
I literally..... More

Print this item

  Speeding up code using cache
Posted by: Peter - Jul-27-2023, 01:17 PM - Forum: General Coding Help - Replies (1)

I'm good with Python and use functions to process large datasets from files, then return the results. I've realized these input files and other parame..... More

Print this item

  error: invalid command 'egg_info'
Posted by: TimTu - Jul-27-2023, 07:30 AM - Forum: General Coding Help - No Replies

I have update pip and setuptools, but I still can't install pak from .tar.gz
[error]
❯ pip install ./qt-json-setting-0.7.tar.gz
Looking in indexes:..... More

Print this item

  Async for making requests
Posted by: DangDuong - Jul-27-2023, 04:50 AM - Forum: Web Scraping & Web Development - Replies (1)

I'm currently making an application to get definition of datapoints. There are three files involved. UniverseService.py get all the datapoints related..... More

Print this item

  Is it possible to capture live running waveforms in an oscilloscope using python?
Posted by: Girishbabu_27 - Jul-27-2023, 03:54 AM - Forum: General Coding Help - Replies (4)

I need to capture live running waveforms in an oscilloscope and store it on a PC for further analysis. I tried it using wavebin software but it captur..... More

Print this item

  building app in XCODE with python
Posted by: phantom115 - Jul-27-2023, 03:21 AM - Forum: General Coding Help - Replies (2)

Good day all,

I am trying to code in Xcode to get arm64 support for my app, I need to select the python Unix Executable File as is found in /usr/bi..... More

Print this item

  How to pass encrypted pass to pyodbc script
Posted by: tester_V - Jul-27-2023, 12:40 AM - Forum: General Coding Help - No Replies

Greetings to you all!
I'm trying to pull out some data from MS SQL DB.
I have to encrypt the user name and the pass, I found how to encrypt a text ..... More

Print this item

  Dijkstra algorithm helping find new space
Posted by: 1bumcheek - Jul-26-2023, 09:59 PM - Forum: General Coding Help - Replies (7)

Hello people I am kind of new to coding and I am making a robot that moves through a maze that is 5 by 5. I am writing dijkstras algorithm to help me,..... More

Print this item

  Class that cannot be initialized
Posted by: Gribouillis - Jul-26-2023, 07:43 PM - Forum: Code sharing - No Replies

In the process of using the Bridge pattern for some code, I ended up wanting a class which client code could not instantiate directly because the clas..... More

Print this item

  Some help with my first python class and importing ....im making a lidar program
Posted by: jttolleson - Jul-26-2023, 06:15 PM - Forum: General Coding Help - Replies (7)

Hello all,
wow, im tired and have few solutions in the morning now...ok....well maybe i will find some help here.
I am making a personal lidar ..... More


Attached Files

Thumbnail(s)
       
Print this item

  GUI crashes
Posted by: flash77 - Jul-26-2023, 04:37 PM - Forum: GUI - Replies (3)

Hello, I need some help in GUI programming because unfortunately I can't find the error...

I would like to get a folder path using a FolderBrowserD..... More

Print this item

  Pillow alternative?
Posted by: kucingkembar - Jul-26-2023, 08:29 AM - Forum: General Coding Help - Replies (4)

hi, sorry for my bad English,
I tried to remove some lines of a webtoon picture if the line only contain 1 color
(it is just an example, I cannot sha..... More

Print this item

  Is this a multiprocessing bug in Python - or am I doing something wrong?
Posted by: haimat - Jul-26-2023, 07:04 AM - Forum: General Coding Help - Replies (1)

Hello everyone,

I have a huge problem with one of my Python server programs, and since weeks we cannot figure out how to solve it. I really hope yo..... More

Print this item

  where module is loaded from
Posted by: Skaperen - Jul-25-2023, 10:03 PM - Forum: News and Discussions - Replies (1)

i have a module with some code inside that needs to know what exact file path it was loaded from. another file in the same directory will have some d..... More

Print this item

  Chi2 minimization with scipy
Posted by: Einsiedler - Jul-25-2023, 12:55 PM - Forum: Data Science - Replies (1)

Hello everyone,

I am trying to test the minimize function of scipy using a user-defined chi2 function. The idea is to find the o..... More

Print this item

  TypeError Decoration Intuition
Posted by: EddieG - Jul-25-2023, 09:56 AM - Forum: General Coding Help - Replies (1)

The instructor did not completed the code and i tried to run it, I am getting a name error why?
Here is the code:
def calcFormula1(x,y,z):
retu..... More

Print this item

  Recursive regular expressions in Python
Posted by: risu252 - Jul-24-2023, 11:35 PM - Forum: General Coding Help - Replies (2)

Hi!

Today I ran into a problem where I had to extract a JSON file passed in a YAML file within a string (don't ask me why LOL). Curly braces indicate..... More

Print this item

  Access list of dictionaries
Posted by: britesc - Jul-24-2023, 10:52 AM - Forum: General Coding Help - Replies (4)

I have used sqlitedict to save a number of dictionaries into a database.
eg
ford = {'make': 'Ford', 'wheels': '4', 'colour': 'black'}
mahindra = {..... More

Print this item

  Feature Selection in Machine Learning
Posted by: shiv11 - Jul-24-2023, 10:25 AM - Forum: Data Science - Replies (4)

Question:

I am working on a machine learning project, and I have a large number of features in my dataset. However, I suspect that some of these fe..... More

Print this item

  urllib can't find "parse"
Posted by: rjdegraff42 - Jul-23-2023, 10:21 PM - Forum: General Coding Help - Replies (6)

I don't know if it's just me having a "senior" moment, but when I run the following code in idle

[python]
import urllib

print(urllib.parse.quot..... More

Print this item

Shocked kindly support with this dropna function not working
Posted by: gheevarpaulosejobs - Jul-23-2023, 07:14 PM - Forum: General Coding Help - Replies (2)

Hello,

I am beginner in python. This is my code.

In line 12, i wrote a "dropna" function to avoid a row having a blank field in the column nam..... More


Attached Files

.xlsx   PRACTICE WORK BOOK.xlsx (Size: 9.65 KB / Downloads: 207)
Print this item

  Paramiko Server -- Exception (server): Error reading SSH protocol banner
Posted by: ujlain - Jul-23-2023, 04:42 PM - Forum: Networking - Replies (3)

For the code snippet below , I am unable to trap error (as enumerated as tracebac)
[python]
hostF = "keys/id_rsa"
HOST_KEY = paramiko.RSAKey(filena..... More

Print this item

  I try to import Vpython and I get a "ZeroDivisionError"
Posted by: Jon2222 - Jul-23-2023, 02:10 PM - Forum: General Coding Help - Replies (16)

I'm new on Python, maybe my question is simple.
I want to simulate some physical situations. I learned that Vpython makes it easy to create simple vis..... More

Print this item

  else: sytax error
Posted by: EddieG - Jul-23-2023, 02:06 PM - Forum: General Coding Help - Replies (3)

Hello,
I ha been following an example on lesson letter by letter of the code but els comes out as invalid systax.
here is the code.
[python]
#mult..... More

Print this item

Bug PyQt5 _translate not passing argument
Posted by: Lahearle - Jul-23-2023, 05:01 AM - Forum: GUI - Replies (2)

So converted .ui to .py with -x -o method, and I have a problem:

[python]
from PyQt5 import QtCore, QtGui, QtWidgets
import sys


class Ui_Mai..... More

Print this item

  Need help with 'str' object is not callable error.
Posted by: Fare - Jul-23-2023, 01:49 AM - Forum: General Coding Help - Replies (4)

I need some help. Whenever I try to run the code, it says that the showcase() and line 696 with the pot=input() is a 'str' object is not callable err..... More

Print this item

  Type Error: Unsupported Operand
Posted by: jhancock - Jul-22-2023, 08:04 PM - Forum: General Coding Help - Replies (2)

Greetings! I am new to this group and apologize in advance if I'm not asking for help properly.

I'm trying to figure out this error:

TypeError..... More

Print this item

  change directory of save of python files
Posted by: akbarza - Jul-22-2023, 01:49 PM - Forum: General Coding Help - Replies (3)

hi
i save my python files in my pc in drive d at d:\pythonfiles folder.
when I want to save a new python file or I want to open a python ..... More

Print this item

  Line by line execution of instructions
Posted by: JosephR - Jul-22-2023, 01:26 PM - Forum: General Coding Help - Replies (3)

Can I force a program to execute instructions in the order they are written, line by line

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How scan all ips from mai... 3 hours ago ramin_malek MaahirThomas Networking
  gpiozero buttons stop wor... 7 hours ago duckredbeard deanhystad General Codin...
  Code stoped working 8 hours ago OldMan57 Axel_Erfurt News and Disc...
  [PyGame] Made my first Py... Yesterday, 23:12 andrerocha1998 Ricky1178 Game Developm...
  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
Most views
  The best Prog... 572728
  Tutorial Requ... 485792
  Web Scraping ... 437185
  Newbie with P... 380156
  Thread remain... 351394
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 6861
metulburr 5151
Top referrers
Googlepro 24
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
johnstevens Today
MaahirThomas Today
Gichardfex Today
OldMan57 Today
coolwaves4all Today

User Panel Messages

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