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,013

Full Statistics

Online Users
There are currently 42 online users.
» 2 Member(s) | 32 Guest(s)
Bing, Mojeek, Google, Facebook, AOL, snippsat, buran

Latest Threads
IP address for users
Forum: Networking
Last Post: itx_sumeet
3 hours ago
» Replies: 4
» Views: 7,054
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
8 hours ago
» Replies: 5
» Views: 9,870
Calling python from anoth...
Forum: General Coding Help
Last Post: bowlofred
10 hours ago
» Replies: 4
» Views: 125
[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: 131
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

 
  python-docx regex : Browse the found words in turn from top to bottom
Posted by: Tmagpy - Jun-27-2022, 08:19 AM - Forum: General Coding Help - No Replies

I'm trying to finalize my personal project and i'm having a new problem which is matching top to bottom positions in and out of the board to change wo..... More

Print this item

  Extract text
Posted by: rektcol - Jun-27-2022, 07:52 AM - Forum: General Coding Help - Replies (6)

Hello everyone,
I hope it will be comprehensible.

I have to extract text from file in repository. These files are like :

"
titi
titi
titi
yes
ok
o..... More

Print this item

  Insert into SQL Table only when Table is First Created?
Posted by: Extra - Jun-26-2022, 10:41 PM - Forum: General Coding Help - Replies (4)

Hello,

I'm trying to add default values to my SQLite table when it first gets created using and INSERT statement.
Right now, every time I run the..... More

Print this item

  In consistency in code execution
Posted by: Led_Zeppelin - Jun-26-2022, 08:45 PM - Forum: General Coding Help - Replies (1)

The following piece of code does not produce the output that I am seeking.

[code]
df.head()

df1 = df

df.drop(["timestamp","time_period","mac..... More

Print this item

  find some word in text list file and a bit change to them
Posted by: RolanRoll - Jun-26-2022, 12:40 PM - Forum: General Coding Help - Replies (3)

hi
I need to find some word in my text list file for example V_20220412 in
S1A_IW_SLC__1SDV_20220412T022912_20220412T022940_042734_05197D_3860..... More

Print this item

  Merge video with subtitles
Posted by: Pavel_47 - Jun-26-2022, 10:57 AM - Forum: General Coding Help - Replies (26)

Hello,
I'm looking for a solution allowing to merge video file (.mp4) with subtitles file (.vtt).
Any suggestions ?
Thanks

Print this item

  Connect to HC-05 Bluetooth (NOT BLE)
Posted by: korenron - Jun-26-2022, 09:06 AM - Forum: General Coding Help - No Replies

Hello,
I'm trying to connect to a HC05 Bluetooth and send it "0"\"1"

in the scan I can see the device , but I'm unable to connect to it
when I t..... More

Print this item

  Shopping cart program
Posted by: Tofuboi03 - Jun-26-2022, 06:11 AM - Forum: Homework - Replies (7)

#This is a shopping cart program that I am doing for school. I've managed to store the item and price. But can't get to do it the total or remove. I'm..... More

Print this item

  why /local?
Posted by: Skaperen - Jun-26-2022, 04:13 AM - Forum: News and Discussions - Replies (2)

Python 3.8.10 on Xubuntu (Ubuntu) 20.04.4

when i install a package using pip, it creates directory /local (not /usr/local) and instal..... More

Print this item

  I'm getting a String index out of range error
Posted by: debian77 - Jun-26-2022, 12:37 AM - Forum: General Coding Help - Replies (7)

This function returns True if the first letter of the string is the same as the last letter of the string and False if they’re different.

I'm havin..... More

Print this item

  The Text in the Label widget Tkinter cuts off the Long text in the view
Posted by: malmustafa - Jun-25-2022, 02:46 PM - Forum: GUI - Replies (4)

Hi all,

I'm using Windows 10 and Anaconda Jupyter. I'm trying to build a GUI with one button that randomly picks up a question from an Excel file ..... More


Attached Files

Thumbnail(s)
   
Print this item

  Matplotlib example nodes available
Posted by: KennedyRichard - Jun-25-2022, 01:31 PM - Forum: Data Science - No Replies

Nodezator is out since last weekend! Install instructions on https://github.com/KennedyRichard/nodezator and manual on https://manual.nodezator.com
..... More

Print this item

  select files such as text file
Posted by: RolanRoll - Jun-25-2022, 12:56 PM - Forum: General Coding Help - Replies (2)

Hi I want to find and select files that has the same word in my text list for example choose and select
S1A_OPER_AUX_POEORB_OPOD_20190122T120724_V..... More

Print this item

Question Export Python output to Excel
Posted by: skyline1397 - Jun-25-2022, 10:02 AM - Forum: General Coding Help - Replies (1)

Hi,
I am trying to get Python outputs to be in Excel.
The code is:
[python]import xlwings as xw
import time
import schedule
from yahoo_fin.stock..... More


Attached Files

Thumbnail(s)
                   
Print this item

  Importing modules from different folders
Posted by: Tomli - Jun-25-2022, 04:44 AM - Forum: General Coding Help - Replies (3)

My program has the following structure:

Program
├── src
    ├── <classes>
├── test
    ├── <myTests>
I'm trying to use un..... More

Print this item

  Display value in the another entry field instead of message box
Posted by: adisc - Jun-24-2022, 09:21 PM - Forum: General Coding Help - Replies (6)

Hello,

I do have a code where after pasting value into entry field number 1 and after clicking button Generate, functions re-organizes previosuly p..... More

Print this item

  Passing a int into the query
Posted by: devilonline - Jun-24-2022, 08:34 PM - Forum: General Coding Help - Replies (3)

Hi, i have an input on my code and I want that this input pass a int to the query.
For example I type ‘1’ and it search by the number typed.

the c..... More

Print this item

  Accessing Python code & SQL datbase from other pc's
Posted by: Extra - Jun-24-2022, 07:36 PM - Forum: News and Discussions - Replies (1)

Hello,

I programed a simple inventory system and I'm trying to run it on 3 PC's. The inventory items are stored on an SQLite Database (inventory.db..... More

Print this item

  [Solved]Help displaying a table with QSqlTableModel
Posted by: Extra - Jun-24-2022, 05:21 PM - Forum: GUI - Replies (10)

Hello,

I'm trying to display a different database on my CategoryTableView Widget but I can't seem to get the database to display on it?

This is..... More

Print this item

  A loop for autocompile LaTeX file takes high CPU
Posted by: meknowsnothing - Jun-24-2022, 12:29 PM - Forum: General Coding Help - Replies (1)

I tried to make a program to autocompile a LaTeX document on Linux Mint whenever the file changes. My effort is as follows:
[python]
import subproce..... More

Print this item

  Check if clients are online with ips stored in json [SOLVED]
Posted by: AlphaInc - Jun-24-2022, 11:29 AM - Forum: General Coding Help - Replies (6)

Hello everybody,

I have a script which should do something (to make an example, I let it create a folder). Therefore I defined a function which doe..... More

Print this item

  Changing a column header in QTreeView
Posted by: DrakeSoft - Jun-24-2022, 11:21 AM - Forum: GUI - Replies (4)

Hi,

I have a QTreeView which uses QFileSystemModel.

[python]

# import necessary modules
import sys
from PyQt5.QtGui import *
from PyQt5.Q..... More

Print this item

  [Solved]Help Adding results from for loop
Posted by: Extra - Jun-23-2022, 11:19 PM - Forum: GUI - Replies (2)

Hello,

I'm trying to multiply the Quantity*Price for each row then add them all up to get the total value of all the items I have.

This is what..... More

Print this item

  why I dont get any output from this code
Posted by: William369 - Jun-23-2022, 09:00 PM - Forum: General Coding Help - Replies (2)

Hi

I am trying to execute this code in repl.it but I dont get any result can you please advise what is wrong ?

https://replit.com/@MartinAdams2/..... More

Print this item

  Adding to python environment in pyenv virtual project
Posted by: Larz60+ - Jun-23-2022, 07:58 PM - Forum: Bar - Replies (4)

I have a virtual environment that uses pyenv python 3.10.4.

Gnu radio is installed in /usr/.../gnuradio

Normally, you would export the PYTHONPAT..... More

Print this item

Star Nodezator (free Python node editor) released to the public domain!
Posted by: KennedyRichard - Jun-23-2022, 07:57 PM - Forum: News and Discussions - Replies (4)

Nodezator is a multi-purpose visual editor to connect Python functions (and callables in general) visually in order to produce flexible parametric beh..... More

Print this item

  For loop + add something
Posted by: Matheus - Jun-23-2022, 07:34 PM - Forum: General Coding Help - Replies (10)

Hello,

I am relevant new to the language Python. However, I can code in PHP and VBA and other languages so I am not a total beginner.


I am won..... More

Print this item

  matching a repeating string
Posted by: Skaperen - Jun-23-2022, 06:23 PM - Forum: General Coding Help - Replies (2)

i have a single character (such as ".") in variable foo and another variable bar with a one or more repeat of a single character (such a..... More

Print this item

  using StandardScaler on a heterogenous matrix.
Posted by: Led_Zeppelin - Jun-23-2022, 05:24 PM - Forum: General Coding Help - No Replies

I am trying to use StandardScaler on a dataset that is but not all numbers.

The way to do that is now shown.


[code]
from sklearn.preprocessin..... More

Print this item

  Splitting code into several files
Posted by: TLammert - Jun-23-2022, 04:04 PM - Forum: General Coding Help - Replies (4)

Hi Everyone ..
I am trying to split a large .py program into a number of smaller .py files to make maintenance and editing easier ..
I have moved ..... More

Print this item

  Split Arguments ?
Posted by: jesse68 - Jun-23-2022, 03:16 PM - Forum: General Coding Help - Replies (3)

Hi, trying to understand these arguments to this split command which I can't find documented. They may not be related to the split command.

Adding ..... More

Print this item

  freelance Python jobs
Posted by: Tigran_Petrosyan93 - Jun-23-2022, 01:46 PM - Forum: News and Discussions - No Replies

Hi guys!
Is it possible to work as a freelancer using Python being entry level coder? And where? Are there websites where people do that?
Thanks.

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  IP address for users 3 hours ago Robots itx_sumeet Networking
  Lottery generator (beginn... 8 hours ago Hullari Pedroski55 General Codin...
  Calling python from anoth... 10 hours ago eedjsa bowlofred 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... 580339
  Tutorial Requ... 518881
  Web Scraping ... 442761
  Newbie with P... 386944
  New Users Int... 386072
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