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,517
» Latest member: Deisear
» Forum threads: 38,585
» Forum posts: 174,839

Full Statistics

Online Users
There are currently 477 online users.
» 1 Member(s) | 471 Guest(s)
Bing, Google, Apple, Yandex

Latest Threads
Functions: why use a vari...
Forum: General Coding Help
Last Post: Axel_Erfurt
5 hours ago
» Replies: 1
» Views: 96
Best way to pass data to ...
Forum: Game Development
Last Post: RogereK
Today, 06:39 AM
» Replies: 7
» Views: 5,093
Is Python used to make po...
Forum: Game Development
Last Post: RogereK
Yesterday, 04:17 AM
» Replies: 17
» Views: 31,779
Unequal values when added...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 12:24 AM
» Replies: 1
» Views: 213
Call CLI app with input?
Forum: General Coding Help
Last Post: snippsat
May-23-2025, 07:52 PM
» Replies: 5
» Views: 384
backtesting can't optimiz...
Forum: General Coding Help
Last Post: snippsat
May-23-2025, 07:46 PM
» Replies: 1
» Views: 155
Looking for ideas
Forum: Bar
Last Post: Larz60+
May-23-2025, 10:55 AM
» Replies: 2
» Views: 477
How to put my game loop i...
Forum: Game Development
Last Post: RogereK
May-23-2025, 12:35 AM
» Replies: 9
» Views: 2,708
Languages
Forum: General Coding Help
Last Post: Arush
May-22-2025, 06:51 PM
» Replies: 2
» Views: 279
Error on import: SyntaxEr...
Forum: General Coding Help
Last Post: Kiongi
May-21-2025, 07:49 AM
» Replies: 8
» Views: 21,472

 
  [Solved]How to check if row is selected and grab Name from row
Posted by: Extra - Jun-06-2022, 08:14 PM - Forum: GUI - Replies (6)

Hello,

I'm trying to get the Item Name from the currently selected row. I'm also trying to make an if statement that checks to make sure a row is s..... More

Print this item

  How can I add reset button?
Posted by: andrex353 - Jun-06-2022, 06:12 PM - Forum: GUI - Replies (2)

I need to add a reset button/option. Can someone help me?

[python]
import random
import time
from tkinter import Tk, Button, DISABLED, messagebo..... More


Attached Files

.py   non.py (Size: 1.81 KB / Downloads: 279)
Print this item

  why is this not working
Posted by: Mawixy - Jun-06-2022, 03:50 PM - Forum: General Coding Help - Replies (1)

[python]def cos(x):
while x<=0:
print("Podaj prawidłową liczbę\n")
x = int(input("Podaj liczbę większą od zera różną od 0\n")
..... More

Print this item

  Problem in formulating append logic
Posted by: shantanu97 - Jun-06-2022, 02:29 PM - Forum: General Coding Help - Replies (1)

I have a SQL Server table where 3 entries are present. I am passing these values one by one to an API function(Main) and getting Magnetic Declination(..... More

Print this item

  Open a dos shell for ssh command
Posted by: martinmistere - Jun-06-2022, 02:22 PM - Forum: General Coding Help - Replies (6)

Ciao, which is the istruction that allows to open a dos shell in which I can eventually send ssh commands?


EDIT:

with the command os.system("cmd ..... More

Print this item

  Initializing a PRINTDLG structure-how to
Posted by: hammer - Jun-06-2022, 11:48 AM - Forum: General Coding Help - Replies (4)

I am trying to find documentation (in python) on how to initialize windows PRINTDLG and pass the structure to PrintDlg.
Thanks for any help.

Print this item

  Flask: editing a submitted form
Posted by: test - Jun-06-2022, 04:40 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi!
I am making a form which has a many fields. Some are radio buttons and dropdowns. Once i store the value of the input in my database, how can i ma..... More

Print this item

  Understanding parentage in environment diagrams
Posted by: Clunk_Head - Jun-05-2022, 11:02 PM - Forum: General Coding Help - Replies (1)

I'm confused about defining the parent of a function as the frame in which the function is defined as it pertains to a HOF that defines a function and..... More

Print this item

  compiling but not running source code
Posted by: Skaperen - Jun-05-2022, 10:17 PM - Forum: News and Discussions - Replies (1)

if it's a function i can just run the "python3" command on that source file and i will get a failure and a message if there is a syntax error. but fo..... More

Print this item

  Update old Python version because of security threads
Posted by: SanderV - Jun-05-2022, 09:40 PM - Forum: General Coding Help - Replies (2)

Hello,

I am an IT System Engineer. IT Security department asked me to update all old Python versions on our PC's because of security threads.
The ..... More


Attached Files

Thumbnail(s)
   
Print this item

  Multiplication Table code
Posted by: alexsendlegames100 - Jun-05-2022, 08:36 PM - Forum: General Coding Help - Replies (3)

Hello guys I need some help with my code.
I tried to do a multiplication table.
But I have no idea how do I move a table from the bottom to the side..... More


Attached Files

Thumbnail(s)
       
Print this item

  Help with Integration Pandas excel - Python
Posted by: Gegemendes - Jun-05-2022, 05:23 PM - Forum: General Coding Help - Replies (5)

I'm fascinated with the programming area and yesterday I started to study Python on Youtube.

I started to make a video class, I had some setbacks, ..... More


Attached Files

Thumbnail(s)
       
Print this item

Sad Python help
Posted by: cagueca - Jun-05-2022, 01:59 PM - Forum: General Coding Help - No Replies

Hello :

im new to python and i need a bit of help ..

im trying to build one password finder but im stuck .

Here is the code i have .

* proble..... More

Print this item

  Returning to coding after >1 year
Posted by: micseydel - Jun-05-2022, 12:59 PM - Forum: News and Discussions - Replies (8)

I posted to the mods forum recently about returning after my long break but thought I'd post here too. I took a break from the forum because of mental..... More

Print this item

Star Infinity loop
Posted by: edek121 - Jun-05-2022, 12:47 PM - Forum: General Coding Help - No Replies

Hello.

Good morning everyone :)

I warn you in advance that this is just the beginning of my adventure with "programming", so I ask for understandin..... More

Print this item

  Headfirst Python Exercise
Posted by: GeorgeSears - Jun-05-2022, 10:27 AM - Forum: General Coding Help - Replies (3)

Hi guys, I have a question. I'm currently working my way through the Headfirst Python book. And there is an exercise where you create an app based a..... More

Print this item

  How do loop over curl and 'put' different values in API call?
Posted by: onenessboy - Jun-05-2022, 05:24 AM - Forum: General Coding Help - No Replies

Hi

Objective: How to loop through over curl statement and 'put' key and value into curl put statement

Input: This is my sql query output in json..... More

Print this item

  [solved thanks]hey need help for jupyter
Posted by: irisislearning - Jun-05-2022, 01:42 AM - Forum: General Coding Help - Replies (1)

i’m working with jupyter in anaconda lab.
arithmetic operation doesn’t work after i assign value to parameters.
e.g.
when i input :
`
(12-10)/1..... More

Print this item

  supported backslash escapes
Posted by: Skaperen - Jun-05-2022, 12:02 AM - Forum: News and Discussions - Replies (8)

in this:

Output:
>>> repr('\n') "'\\n'" >>> repr('\b') "'\\x08'" >>>
you can used either backslash escape in source code but [inlin..... More

Print this item

  Regex higher IR library
Posted by: DreamingInsanity - Jun-04-2022, 11:37 PM - Forum: General Coding Help - Replies (6)

Before I delve into making my own module, I was wondering if there already exists a regex higher IR (intermediary representation) of regex tokens for ..... More

Print this item

  space–time correlations
Posted by: MMAS - Jun-04-2022, 11:35 PM - Forum: Data Science - Replies (2)

Is their any library in python to calculate space time correlation function.

Print this item

  Django: Adding Row Data To Existing Model Instance Question/Problem.
Posted by: Steven_Pinkerton - Jun-04-2022, 12:25 PM - Forum: General Coding Help - Replies (1)

Hello. So my problem is quite simple and I suspect the answer is also quite simple. I'm doing a project in Django and I've a Database with three model..... More

Print this item

  Pyinstaller error
Posted by: amdi40 - Jun-04-2022, 09:10 AM - Forum: General Coding Help - Replies (7)

Hello, I have created a program for which I want to create an exe. file for.
But I keep getting an error, and I have no clue how to fix it.
The pro..... More

Print this item

  Python code keeps duplicating information - OOP ( Could be related to shallow copy? )
Posted by: ben1122 - Jun-04-2022, 08:33 AM - Forum: Homework - Replies (1)

never mind, asked a friend.

Print this item

  Code lines implementation
Posted by: mirjam - Jun-04-2022, 08:01 AM - Forum: Homework - Replies (2)

Hi,

I am kindly asking to help me with the implementation of each line of the following python code. Thank you very much.

[python]
sum = 0
for..... More

Print this item

  Sorting numerical values provided by QAbstractTableModel
Posted by: BigMan - Jun-04-2022, 12:32 AM - Forum: General Coding Help - No Replies

Hi,

I have subclassed QAbstractTableModel, and overwrote its data method like this:
[python]
def data(self, index, role):
if role ==..... More

Print this item

  front-end js and back-end python
Posted by: 3lnyn0 - Jun-03-2022, 08:49 PM - Forum: General Coding Help - No Replies

Hi!
Can you guide me how can I link pycharm with intellij?

I worked at an app for an interview, I made the back-end part in pycharm with python and f..... More

Print this item

  Post request not saving in DRF
Posted by: Dexty - Jun-03-2022, 12:35 PM - Forum: Web Scraping & Web Development - No Replies

Anytime I try to post a request in Django-Rest-Framework view, it returns an empty array. This looks like a DRF issue and not a Django one but I don't..... More

Print this item

  any cron job equivalent in windows
Posted by: saisankalpj - Jun-03-2022, 12:13 PM - Forum: Web Scraping & Web Development - Replies (2)

I am implementing cron job in django to schedule a task.But when i run the command ,

python manage.py crontab add
, I am getting the er..... More

Print this item

  All product links to products on a website
Posted by: MarionStorm - Jun-02-2022, 11:17 PM - Forum: Web Scraping & Web Development - No Replies

Hello,

would like to scrape all product links from the website www.otto.de. Is this possible?
So not only the links on the page you are on, but al..... More

Print this item

  Hello World!
Posted by: rufenghk - Jun-02-2022, 09:48 PM - Forum: General Coding Help - No Replies

I love Python

Print this item

  [Solved]Add a SpinBox to MsgBox or Carry Variable Over?
Posted by: Extra - Jun-02-2022, 07:53 PM - Forum: GUI - Replies (6)

Hello,

I'm trying to build my Checkout function which when an Item/row is selected and the 'Checkout' button is clicked a spinBox pops up asking th..... More

Print this item

  ESPtools... how to install?
Posted by: bwanna - Jun-02-2022, 07:14 PM - Forum: General Coding Help - Replies (1)

Hi,
Newbie here to Python and can't find simple COMPLETE instructions for installation, etc.

I was able to install Python on my Win10 PC, but tha..... More

Print this item

  Need help with PEG Grammar
Posted by: pptx704 - Jun-02-2022, 06:45 PM - Forum: News and Discussions - Replies (2)

Hello, I am an undergraduate student who's doing undergrad research on language grammars. My specific task is to convert different language grammars t..... More

Print this item

  [Solved]Display Search Results in QTable
Posted by: Extra - Jun-02-2022, 06:00 PM - Forum: GUI - Replies (5)

Hello,

I'm trying to get my search bar working on my GUI, so when the user searches for a part, the results are shown to the screen.

Right now ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Functions: why use a vari... 5 hours ago MMartin71 Axel_Erfurt General Codin...
  [PyGame] Best way to pass... Today, 06:39 Milosz RogereK Game Developm...
  Is Python used to make po... Yesterday, 04:17 ironsheep RogereK Game Developm...
  Unequal values when added... Yesterday, 00:24 Azdaghost deanhystad General Codin...
  Call CLI app with input? 05-23, 19:52 Winfried snippsat General Codin...
  backtesting can't optimiz... 05-23, 19:46 Running_Code snippsat General Codin...
  Looking for ideas 05-23, 10:55 Azdaghost Larz60+ Bar
  How to put my game loop i... 05-23, 00:35 temlotresid6 RogereK Game Developm...
  Languages 05-22, 18:51 Azdaghost Arush General Codin...
  Error on import: SyntaxEr... 05-21, 07:49 kirkwilliams2049 Kiongi General Codin...
  Wish to write a code for ... 05-21, 06:08 Hasan2025 DeaD_EyE General Codin...
Most views
  The best Prog... 568446
  Tutorial Requ... 469104
  Web Scraping ... 433211
  Newbie with P... 372347
  Thread remain... 344312
Most reputation
buran 580
snippsat 506
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 449
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12053
buran 8171
snippsat 7328
deanhystad 6828
metulburr 5151
Top referrers
Googlepro 22
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
Deisear Today
MMartin71 Today
lele2405 Today
ntalieyandextz4427 Today
Timpo Today

User Panel Messages

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