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,964
» Latest member: Edzed4431
» Forum threads: 38,730
» Forum posts: 175,545

Full Statistics

Online Users
There are currently 38 online users.
» 0 Member(s) | 32 Guest(s)
Google, Bing, AOL, AOL, Apple

Latest Threads
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: tester_V
3 hours ago
» Replies: 2
» Views: 47
My goal to be hired worki...
Forum: News and Discussions
Last Post: Larz60+
8 hours ago
» Replies: 1
» Views: 466
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 06:49 PM
» Replies: 4
» Views: 2,004
My First App
Forum: Code Review
Last Post: carlbidwell
Yesterday, 10:53 AM
» Replies: 8
» Views: 8,565
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 03:54 AM
» Replies: 3
» Views: 467
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 924
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 954
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,218
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
Sep-26-2025, 09:50 AM
» Replies: 1
» Views: 1,834
Using Python to SSH and R...
Forum: Networking
Last Post: SprunkiRetake
Sep-26-2025, 03:53 AM
» Replies: 1
» Views: 2,873

 
  Dynamically add and remove QLineEdit's
Posted by: GMCobraz - Jun-22-2020, 01:59 PM - Forum: GUI - Replies (3)

Dear all,

Anyone got idea how to add complete new blank row as previous row?
Without do it manually or add in GUI first.

For example like fill..... More

Print this item

  "Interactive" figure in a GUI
Posted by: puje - Jun-22-2020, 01:57 PM - Forum: GUI - Replies (2)

Hello

I´ve written the code below, which creates a figure with two subplots. Each subplot has a "draggable line" that returns the x-value when rele..... More

Print this item

  prompt for input in qlineedit
Posted by: GMCobraz - Jun-22-2020, 12:35 PM - Forum: GUI - Replies (3)

Hi all,

May I know how to call for prompt for an input in qlineedit?

For example:
1. User first input a value in qlineedit.
2. I program to ch..... More

Print this item

  How to get unique entries in a list and the count of occurrence
Posted by: james2009 - Jun-22-2020, 12:14 PM - Forum: General Coding Help - Replies (5)

Hello. I have some data such as this.

aaa
bbb
ccc
aaa
ccc
ddd
fff
aaa
ccc
aaa

I know using the set will give the unique values but what..... More

Print this item

  Verify input as integer and not blank
Posted by: GMCobraz - Jun-22-2020, 11:52 AM - Forum: General Coding Help - Replies (3)

parallel = self.gui2.parallel_config()
parallel_text = int("".join(map(str, parallel)))

if parallel_text != int and parallel_text != '':
QMess..... More

Print this item

  Dronekit and mavlink
Posted by: vivekagrey - Jun-22-2020, 10:46 AM - Forum: General Coding Help - Replies (3)

Is there a way to get gps flight logs from the flight controller after the landing/ flight?

[python]
msg = self.vehicle.message_factory.log_reques..... More

Print this item

  Unable to pass date timestamp as Parameters :
Posted by: nagu4651 - Jun-22-2020, 10:36 AM - Forum: General Coding Help - Replies (1)

Hi Team ,

Need small help .. I just want to pass time stamps for end and start . How can I do this in below code
could you please help me with th..... More

Print this item

  How to give a name to function arguments in C-API?
Posted by: WonszZeczny - Jun-22-2020, 10:19 AM - Forum: General Coding Help - No Replies

Hello.
I'm trying to solve this problem but still in pycharm, when i'm looking at my function argument
name i see only "*args" and "**kwargs" despite ..... More

Print this item

  Threading question
Posted by: DPaul - Jun-22-2020, 09:50 AM - Forum: General Coding Help - No Replies

I'm into waiting lines. (Yes i know there are formulas and ready made modules available)

I imagine a bakery with random client arrivals (between x ..... More

Print this item

  Communicating Roblox's Inventory API with python?
Posted by: 4TH4RV - Jun-22-2020, 09:32 AM - Forum: General Coding Help - Replies (1)

Hello,

I am new to python so I dont know how to make http requests.

My goal is to get the json object and covert it to a list.

Roblox Invento..... More

Print this item

  Hold the value or dataframe
Posted by: GMCobraz - Jun-22-2020, 08:34 AM - Forum: General Coding Help - Replies (1)

Dear all,

Good day.
I am new to python.

I am trying to program a software to do some calculation.
I am separating calculation button and expor..... More

Print this item

  Having trouble with passing variables
Posted by: card51shor - Jun-22-2020, 06:53 AM - Forum: Homework - Replies (4)

Hey guys I'm SO close to being done with my project which is due in 9 days. I just need a few final touchups.

I am able to leave reviews on my sit..... More

Print this item

  frequency of largest number group
Posted by: anshumanmuj - Jun-22-2020, 04:14 AM - Forum: General Coding Help - Replies (5)

Hello,

i have a list e.g

a=[112211121112222121122111]
i want to find the frequency of the largest group of '1' and '2'

e...... More

Print this item

  Printing images from a list
Posted by: Heyjoe - Jun-21-2020, 10:55 PM - Forum: General Coding Help - Replies (4)

I am just starting to learn Python. I have written this simple program to print the employee number, employee name and a picture of the employee by g..... More

Print this item

  error zomato scraping data
Posted by: syxzetenz - Jun-21-2020, 10:09 PM - Forum: Web Scraping & Web Development - Replies (3)

hey, i just learned about zomato data scraping. then I practice using one of the codes on github.

[python]
import requests
import csv

with ope..... More

Print this item

  Python, PySide2 and Qt Designer - Toggle Menu / Burguer Menu Animated
Posted by: Wanderson - Jun-21-2020, 08:24 PM - Forum: Tutorial Requests and Submissions - No Replies



A simple project showing how to make an animated menu using Python, Qt Designer ..... More

Print this item

  Tried to create a function in a Datacamp course - why a is not equal to x_copy?
Posted by: danlin123 - Jun-21-2020, 08:12 PM - Forum: General Coding Help - Replies (1)

Can you run this and tell why a is not equal to x_copy?

[python] #Define x,y and swap_inds
x = np.array([1, 2, 3, 4])
y = np.array([4,..... More

Print this item

  Please Help with My First Python Attempt
Posted by: saigwe - Jun-21-2020, 06:29 PM - Forum: Homework - Replies (2)

Google PlaystoreDESCRIPTION
Objective: Make a model to ..... More

Print this item

  Binning data to files
Posted by: Kappel - Jun-21-2020, 06:04 PM - Forum: Data Science - Replies (4)

Hi,
I am trying to develop a Power Curve / Algorithm that can give me a "Possible Max Power" signal when the Solar Panels on my roof are scaled-down..... More

Print this item

  Code errors
Posted by: rhyjom - Jun-21-2020, 04:50 PM - Forum: General Coding Help - No Replies

I have the following Python Script. This is to fetch data from a JSON file.
This JSON file is fetched from Sentinel using API Calls (URL) and APID-u..... More

Print this item

  Need help with this homework for a course ASAP...need solution for completion.
Posted by: SP04123 - Jun-21-2020, 12:29 PM - Forum: Homework - Replies (8)

[b]Hi...I need help for the following task based on classification in python. It is part of an online course and the task details allow me to take hel..... More

Print this item

  Increasing speed while a button is held down?
Posted by: Reldaing - Jun-21-2020, 11:36 AM - Forum: Game Development - Replies (2)

Hi, I'm currently making a game on Pygame, and I want the rectangle to move 40 by 40 while the button is held,and faster and faster while it's pressed..... More

Print this item

  mdo_import_help
Posted by: Mirabelle1998 - Jun-21-2020, 09:27 AM - Forum: General Coding Help - Replies (6)

Hi, all,

I'm a new user, also a python newbie,
hoping to learn here from the wisdom and
experience of other members.

Now, anyone is familiar..... More

Print this item

  PostgreSQL psycopg2.errors.DuplicateColumn: column specified more than once
Posted by: rajnish_nationfirst - Jun-21-2020, 07:40 AM - Forum: General Coding Help - Replies (2)

I am creating dynamically table in PostgreSQL using psycopg2 by passing the below 2 strings as column names:

[inline]'BAF7_X_X_During_soaking-__Tem..... More

Print this item

  Is Python useful for creating a textbook?
Posted by: iwue897s - Jun-21-2020, 06:14 AM - Forum: General Coding Help - Replies (1)

Hi,

I'd like to:

extract the text of a manual which is in PDF file in a minimum of steps and errors of recognition;
add sentence-by-sentence c..... More

Print this item

  lists Name Address Phone
Posted by: Heyjoe - Jun-21-2020, 12:20 AM - Forum: General Coding Help - Replies (2)

Hello all,

I reviewed a couple online courses in Python and wrote a few short programs. So I am very new to Python

As far as lists know. I kno..... More

Print this item

  How do I get attribute XPATHs list ?
Posted by: MDRI - Jun-20-2020, 10:26 PM - Forum: General Coding Help - Replies (3)

How do I get attribute XPATHs list ?
======================================

Thanks for reviewing my 1st thread in this forum.

I am trying to l..... More

Print this item

  Robots! (A game using tkinter)
Posted by: GOTO10 - Jun-20-2020, 08:50 PM - Forum: Code Review - Replies (6)

Hi Python Friends!

This is my homage to (ripoff of) the classic computer game Chase tha..... More

Print this item

  Temporarily storing the value of a function
Posted by: Men - Jun-20-2020, 08:45 PM - Forum: General Coding Help - Replies (6)

Hello everyone,

I'm new here and a newbie to python, my heart is not on my sleeve so whatever comments made i'm cool with it.

What I'm trying to..... More

Print this item

  unique option for sorting?
Posted by: Skaperen - Jun-20-2020, 07:47 PM - Forum: News and Discussions - Replies (1)

is there a way to get the effect of a unique option for sorted() or list.sort() in order to eliminate duplica..... More

Print this item

  Remove elements from lists
Posted by: leemao - Jun-20-2020, 06:58 PM - Forum: General Coding Help - Replies (4)

Hello,

I have some lists:
sp_0 = [1, 0, 3, 395, 399]
sp_1 = [1, 96, 11, 398]
sp_2 = [1, 0, 3, 10, 397]
sp_3 = [1, 0, 96, 130, 396]
sp_4 = [1, ..... More

Print this item

  How to show text in window?
Posted by: wxnerd - Jun-20-2020, 03:23 PM - Forum: GUI - Replies (4)

Hello,
I am looking for help having the text that outputs on the Command Prompt to show on the black box on this program. Any ideas on how to make th..... More

Print this item

  really need assistance with this assignment ASAP due tomorrow
Posted by: mohamedhadi02 - Jun-20-2020, 03:22 PM - Forum: Homework - Replies (8)

you know when you walk in to a hospital or a bank you need to take a ticket and wait until you hear your ticket number in the speaker and the office n..... More

Print this item

  Alternative to dynamic variable names
Posted by: catosp - Jun-20-2020, 12:31 PM - Forum: General Coding Help - Replies (13)

Hello !

This is a clasical example of pyvisa program:
[python]
import pyvisa
rm = pyvisa.ResourceManager()
rm.list_resources()
('ASRL1::INSTR', 'ASRL..... More

Print this item

  Can tkinter monitor dictionary
Posted by: personalt - Jun-20-2020, 12:09 PM - Forum: GUI - Replies (6)

I am new to tkinter and was wondering if there is a way to add a simple block of code to monitor the contents of a dictionary and update a widget when..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Comparing 2 100GB Drives/... 3 hours ago tester_V tester_V General Codin...
  My goal to be hired worki... 8 hours ago GnomeSweetGnome Larz60+ News and Disc...
  what does % stand for in ... Yesterday, 18:49 arbiel Gribouillis General Codin...
  My First App Yesterday, 10:53 BCopeland64 carlbidwell Code Review
  Unable to resolve FileNot... Yesterday, 03:54 llarkin6 Pedroski55 General Codin...
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
  Is the interpreter that c... 09-26, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... 09-26, 13:14 Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... 09-26, 09:50 P212 Biks News and Disc...
  Using Python to SSH and R... 09-26, 03:53 justaguy SprunkiRetake Networking
  extracting data from a us... 09-25, 13:49 Perry DeaD_EyE General Codin...
Most views
  The best Prog... 577193
  Tutorial Requ... 500189
  Web Scraping ... 440895
  Newbie with P... 384907
  New Users Int... 369180
Most reputation
buran 581
snippsat 508
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+ 12089
buran 8176
snippsat 7367
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Edzed4431 Yesterday
chaoh1911 Yesterday
KaydenJonah098 Yesterday
carlbidwell Yesterday
llarkin6 09-26

User Panel Messages

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