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,237
» Latest member: alexmaarley8855
» Forum threads: 38,776
» Forum posts: 175,791

Full Statistics

Online Users
There are currently 40 online users.
» 1 Member(s) | 31 Guest(s)
Bing, Google, Applebot, Facebook, kshahzad1985

Latest Threads
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
1 hour ago
» Replies: 4
» Views: 91
Backward compatibility qu...
Forum: News and Discussions
Last Post: buran
Yesterday, 10:39 AM
» Replies: 3
» Views: 96
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Nov-07-2025, 07:29 PM
» Replies: 0
» Views: 70
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 106
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,065
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,364
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,555
Code runs perfectly and j...
Forum: General Coding Help
Last Post: noisefloor
Nov-05-2025, 05:56 PM
» Replies: 2
» Views: 186
Natural language processi...
Forum: Homework
Last Post: offsoar
Nov-05-2025, 02:03 PM
» Replies: 2
» Views: 3,196
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-05-2025, 08:31 AM
» Replies: 5
» Views: 7,442

 
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

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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Two arguments in input fu... 1 hour ago Alfredd Pedroski55 General Codin...
  Backward compatibility qu... Yesterday, 10:39 yutaozhou buran News and Disc...
  [Tkinter] I’m building a ... 11-07, 19:29 tsgiannis tsgiannis GUI
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
  Code runs perfectly and j... 11-05, 17:56 compuman145 noisefloor General Codin...
  Natural language processi... 11-05, 14:03 maaaa2401 offsoar Homework
  Can I develop a live vide... 11-05, 08:31 mtrkhan ankitsharma32 Web Scraping ...
  [SOLVED] Linefeed when wr... 11-04, 11:51 Winfried buran General Codin...
Most views
  The best Prog... 578684
  Tutorial Requ... 509129
  Web Scraping ... 441840
  Newbie with P... 385793
  New Users Int... 375065
Most reputation
buran 581
snippsat 510
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+ 12102
buran 8194
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 24
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
alexmaarley8855 Yesterday
Cristiano Yesterday
Alfredd Yesterday
clayote Yesterday
yutaozhou 11-07

User Panel Messages

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