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,424
» Latest member: jorgeallwin32
» Forum threads: 38,546
» Forum posts: 174,672

Full Statistics

Online Users
There are currently 475 online users.
» 2 Member(s) | 470 Guest(s)
Bing, Google, Yandex, GigiG, snippsat

Latest Threads
How To Create A "Birthday...
Forum: General Coding Help
Last Post: jorgeallwin32
11 minutes ago
» Replies: 4
» Views: 6,663
Picamera2 commands betwee...
Forum: General Coding Help
Last Post: GigiG
1 hour ago
» Replies: 0
» Views: 39
Automating the CyberGhost...
Forum: General Coding Help
Last Post: surendragupta
1 hour ago
» Replies: 0
» Views: 42
PyVisa Query Command fail...
Forum: General Coding Help
Last Post: dazz
2 hours ago
» Replies: 0
» Views: 49
where should DEFAULT_CIPH...
Forum: General Coding Help
Last Post: Larz60+
4 hours ago
» Replies: 4
» Views: 213
what name to give to a ne...
Forum: News and Discussions
Last Post: Skaperen
5 hours ago
» Replies: 2
» Views: 73
White Screen Issue with T...
Forum: General Coding Help
Last Post: encore
6 hours ago
» Replies: 3
» Views: 1,105
Get the string after a sp...
Forum: General Coding Help
Last Post: snl_9527
7 hours ago
» Replies: 5
» Views: 238
Eight Queens Problem, err...
Forum: General Coding Help
Last Post: snl_9527
11 hours ago
» Replies: 9
» Views: 559
I am sending messages usi...
Forum: General Coding Help
Last Post: Hendrikb
Yesterday, 09:38 AM
» Replies: 0
» Views: 93

 
  eth0: [ERROR] Set device name: No such device
Posted by: inkmin - Oct-03-2024, 12:52 AM - Forum: General Coding Help - No Replies

I cannot change the MAC address in my Kali VM with this Python code:
[python]interface = input("interface > ")
new_mac = input("new MAC > ")
subpro..... More

Print this item

  Python install issue
Posted by: redreign83 - Oct-02-2024, 04:00 PM - Forum: General Coding Help - Replies (2)

Not sure if this is the right place but I am having an issue.
I am trying to install Python 2.7.5 on a RHEL 8.10 vm.
I follow the basic instruction ..... More

Print this item

  Error in Pycharm
Posted by: Hudjefa - Oct-02-2024, 08:34 AM - Forum: General Coding Help - Replies (3)

I'm using Pycharm as a Python IDE. Is it advisable to do so?
I wrote a program and it gives me the following error messages (the code works, Pycharm ..... More

Print this item

  str.decode to PNG not working with MySql
Posted by: Tacllem - Oct-01-2024, 04:01 PM - Forum: General Coding Help - Replies (9)

Good day everyone.
I have inherited a Python 2.7 script that pulls records from a mysql database and creates png files to export my product's images...... More


Attached Files

.py   imageConverterDemoV10.py (Size: 5.35 KB / Downloads: 96)
Print this item

  basic ignorance help
Posted by: ineuw - Oct-01-2024, 12:54 AM - Forum: General Coding Help - Replies (8)

I am a basic Python user in Linux, and I am trying to activate the geany text editor with Python, and a preset windows size and position. The librari..... More

Print this item

  Pywin32 API and PyOpenGL error
Posted by: dqt1975 - Sep-30-2024, 12:46 PM - Forum: Game Development - Replies (1)

Hi everyone, I am trying to make a transparent screen by hide the background color with win32api
It work with pygame in 2D. However, when I use pyopen..... More


Attached Files

Thumbnail(s)
   
Print this item

Smile Trying to make Fond Dialog box
Posted by: TheTiger - Sep-30-2024, 03:27 AM - Forum: GUI - Replies (11)

Hello Python Community

I'm new to Python. I'm using Visual Studio Code in Windows10, latest version of Python. I'm using Tkinter GUI.
I'm making a..... More

Print this item

  extracting from a string
Posted by: Stephanos - Sep-29-2024, 11:11 AM - Forum: General Coding Help - Replies (6)

Dear All

I have run into an anomaly. This snippet of code works
[python]original_string = "Hello, World!"
extract = original_string[7:12] # Ext..... More

Print this item

  raspberry pico remapping uart ?
Posted by: trix - Sep-28-2024, 08:40 AM - Forum: General Coding Help - No Replies

hello,

i have a raspberry pico where is 2x a UART on board,.....but i need 3 UART's.
1 - is for the touchscreen (nextion)
2 - is for a home made ..... More

Print this item

  What are the key benefits of using Oracle CPQ for sales processes?
Posted by: saichinnu1852 - Sep-28-2024, 06:23 AM - Forum: News and Discussions - Replies (4)

I am exploring Oracle CPQ (Configure, Price, Quote) and would like to understand how it optimi..... More

Print this item

  where to find current app documentation standards and tools
Posted by: radlyeel - Sep-27-2024, 06:06 PM - Forum: General Coding Help - Replies (2)

Is there a generally recommended standard for Python application documentation? I'm discovering reStructured Text and Sphinx but I'd like to know if ..... More

Print this item

  Pyinstaller and a custom python script
Posted by: mentat - Sep-27-2024, 04:42 PM - Forum: General Coding Help - No Replies

Good day. this is my first time posting. I have a python app that we are using for autonomous guided vehicles obstacle detection. I am trying to get i..... More

Print this item

  send bytearray over UART
Posted by: trix - Sep-27-2024, 02:49 PM - Forum: General Coding Help - Replies (9)

hello,
i thought that i post this question a half hour aggo, but i can not find it back ?

no problem i asked again:

i want to send a bytearray..... More

Print this item

  Trying to Make Steganography Program Work For All Payload Types
Posted by: Stegosaurus - Sep-26-2024, 12:43 PM - Forum: General Coding Help - No Replies

Hi! :)

I have programmed a Steganography app which runs on Python Streamlit.

1. It currently works for if the payload is txt or text file. But ..... More


Attached Files

.py   V4 (1).py (Size: 12.17 KB / Downloads: 129)
Print this item

  Creating tables based on a dictionary of dictionaries
Posted by: Calab - Sep-25-2024, 09:23 PM - Forum: Data Science - Replies (3)

I have a rather large, complicated dictionary structure that I need to duplicate in a Snowflake SQL database. I know that I can iterate through each d..... More

Print this item

  syntax error - repeating error
Posted by: awaugh - Sep-25-2024, 06:34 PM - Forum: Data Science - Replies (1)

Within this code every time I go to run this code through Abaqus i receive the same syntax error within this section

[python]displacement_data[val...... More

Print this item

  Mirroring disk structures in nested dictionaries
Posted by: Curbie - Sep-25-2024, 03:33 PM - Forum: General Coding Help - Replies (16)

I’m trying to learn nested directories, by mirroring an ancient disk structure in nested directories, the nested directory structure is intended to be..... More

Print this item

  QThread Signal is emitted immediately at start of Code
Posted by: Caliban86 - Sep-25-2024, 02:21 PM - Forum: General Coding Help - Replies (3)

Hello, i have a Qestion again regarding QThreading. I wrote a very simple Sample Code for a Thread:

[python]from PySide6 import QtCore
from PySide..... More

Print this item

  pip install paddlepaddle-tiny does not install
Posted by: Pedroski55 - Sep-24-2024, 04:52 AM - Forum: General Coding Help - Replies (4)

I want to use the package jieba to analyse Chinese text.

From PyPI here I should insta..... More

Print this item

  I think I need to delete input data because returning to start fails
Posted by: thelad - Sep-23-2024, 10:46 PM - Forum: General Coding Help - Replies (2)

my messy and badly written code is to activate a 6 channel relay to open solenoids via the raspberry pi on my display cabinet.
it works, sort of. If..... More

Print this item

  Help Scraping web site
Posted by: galletti - Sep-23-2024, 08:44 AM - Forum: General Coding Help - Replies (1)

i'm tryng to scrape a website..

[python]from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui..... More

Print this item

  how can you make a question have more than one awnser
Posted by: pentopdmj - Sep-22-2024, 03:01 PM - Forum: General Coding Help - Replies (2)

print("Do you like christmas")
likes_christmas = input()
if likes_christmas == "Yes":

Print this item

  really new to python want to know how to do a loop
Posted by: pentopdmj - Sep-22-2024, 01:59 PM - Forum: General Coding Help - Replies (6)

want it so when you ask a number that inset 7 it asks you again what your number is and it keeps repeating like this
[python]print("Guess a number b..... More

Print this item

  Code using only bit manupulation
Posted by: Metalione - Sep-22-2024, 08:43 AM - Forum: Code sharing - Replies (3)

HI,

Need advice about my code. I a newbie at this so hope you will be gentle Smile :).

Have I done this correctly?

Print this item

  Nested Lists & Dictionaries
Posted by: Hudjefa - Sep-22-2024, 05:29 AM - Forum: General Coding Help - Replies (5)

So I'm learning about nested dictionaries and loops.
I wrote the following short program:
[python]a_morning = {"Sara": ["dressed", "breakfasted"], ..... More

Print this item

  python read PDF Statement and write it into excel
Posted by: mg24 - Sep-21-2024, 08:58 PM - Forum: General Coding Help - Replies (1)

hi Team,

I have attached bank statement pdf screenshot , I want output it in excels tabular format.




Thanks
mg


Attached Files

Thumbnail(s)
   
Print this item

  For Loop assigns only the latest value from List
Posted by: Caliban86 - Sep-21-2024, 12:41 PM - Forum: General Coding Help - Replies (3)

Hello Guys, im really new here and i am still working on the Basics of Python but i got to a Problem, where i do absolutely have no idea, what is wron..... More

Print this item

Bug hello, need help with basic ML
Posted by: pababam - Sep-21-2024, 09:58 AM - Forum: Data Science - Replies (1)

Hello, i take data from alphavantage for chosen share values for choosen day : Date, Open, High, Low, Close, Volume.
And i try to perform simple comp..... More


Attached Files

.py   ml-002.py (Size: 5.57 KB / Downloads: 1)
Print this item

  IndexError: index 31 is out of bounds for axis 0 with size 31
Posted by: YL789 - Sep-21-2024, 08:29 AM - Forum: General Coding Help - Replies (1)

Hi all,

I try to convert a netCDF to XML with the following lines of code, and I think the code handle the bounds issue. However, it still shows th..... More

Print this item

  pgzrun doesn't work
Posted by: garthE - Sep-21-2024, 03:17 AM - Forum: Game Development - No Replies

I can run pgzero scripts using the Mu editor (in Pygamezero mode). It works, no problem.

BUT, the rest of my system doesn't 'see' pygame zero sinc..... More

Print this item

  JenkinsFile to create a Python venv
Posted by: NikitaMathur - Sep-20-2024, 02:13 PM - Forum: General Coding Help - Replies (2)

Hi, I am working to create a new pipeline to run test cases from my Python repository in Jenkins. have created a 'Jenkinsfile' defining the different ..... More

Print this item

  Help regarding instance segmentation
Posted by: Skp09 - Sep-20-2024, 12:38 PM - Forum: Data Science - No Replies

Hello everyone,
I want to do instance segmentation on a video and track the segmented objects across the video frames. I want to follow this GitHub r..... More

Print this item

  Is there a difference between Python’s time.sleep and win32api.Sleep?
Posted by: phpjunkie - Sep-20-2024, 09:43 AM - Forum: General Coding Help - Replies (4)

I know that win32api.Sleep is related to the windows API, and it is obvious that Python's default time.sleep param is in seconds, and win32api.Sleep i..... More

Print this item

  Trying to open depracated joblib file
Posted by: mckennamason - Sep-19-2024, 03:30 PM - Forum: General Coding Help - No Replies

Hi,

I'm trying to open an old joblib file built by a previous engineer at my work but I have minimal Python experience. I know the model was traine..... More


Attached Files

Thumbnail(s)
   
Print this item

  Selenium- Can't access "Chrome is being controlled by automated test software"
Posted by: Lahva - Sep-19-2024, 11:37 AM - Forum: Web Scraping & Web Development - No Replies

[python]from selenium import webdriver
from selenium.webdriver.chrome.service import Service as ChromeService
from webdriver_manager.chrome import C..... More


Attached Files

Thumbnail(s)
   
Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How To Create A "Birthday... 11 minutes ago unigueco9 jorgeallwin32 General Codin...
  Picamera2 commands betwee... 1 hour ago GigiG GigiG General Codin...
  Automating the CyberGhost... 1 hour ago surendragupta surendragupta General Codin...
  PyVisa Query Command fail... 2 hours ago dazz dazz General Codin...
  where should DEFAULT_CIPH... 4 hours ago Skaperen Larz60+ General Codin...
  what name to give to a ne... 5 hours ago Skaperen Skaperen News and Disc...
  White Screen Issue with T... 6 hours ago evelynfreya encore General Codin...
  Get the string after a sp... 7 hours ago JanJan snl_9527 General Codin...
  Eight Queens Problem, err... 11 hours ago snl_9527 snl_9527 General Codin...
  I am sending messages usi... Yesterday, 09:38 Hendrikb Hendrikb General Codin...
  function arguments Yesterday, 06:48 Curbie Gribouillis General Codin...
Most views
  The best Prog... 557358
  Tutorial Requ... 424385
  Web Scraping ... 422894
  Newbie with P... 350954
  Thread remain... 324888
Most reputation
buran 580
snippsat 506
Larz60+ 452
Gribouillis 362
deanhystad 325
Most replies
  New Users Int... 449
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12035
buran 8165
snippsat 7320
deanhystad 6806
metulburr 5151
Top referrers
Googlepro 22
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
jorgeallwin32 Today
Smitdesuja Today
surendragupta Today
datachennai87 Today
dazz Today

User Panel Messages

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