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,968
» Latest member: Seu12Jorge
» Forum threads: 38,730
» Forum posts: 175,551

Full Statistics

Online Users
There are currently 42 online users.
» 1 Member(s) | 36 Guest(s)
Bing, Google, Apple, AOL, Xuitar

Latest Threads
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: Pedroski55
11 minutes ago
» Replies: 7
» Views: 346
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
10 hours ago
» Replies: 7
» Views: 2,793
My goal to be hired worki...
Forum: News and Discussions
Last Post: Larz60+
Sep-27-2025, 11:58 PM
» Replies: 1
» Views: 657
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,192
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 8,753
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
Sep-27-2025, 03:54 AM
» Replies: 3
» Views: 646
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,140
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,120
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,407
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
Sep-26-2025, 09:50 AM
» Replies: 1
» Views: 1,969

 
  Plotting pixels
Posted by: Pete2112 - May-14-2020, 06:01 PM - Forum: GUI - No Replies

The last time I did any programming was over 25 years ago using Quickbasic 4.5. Does anyone remember that? Rolleyes I messed about with graphics ..... More

Print this item

  os.sched_setaffinity/os.sched_getaffinity
Posted by: pejohnson - May-14-2020, 05:36 PM - Forum: General Coding Help - Replies (3)

I am new to Python and am using Version 3.8.
The documentation shows there to be os.sched_setaffinity and os.sched_getaffinity. but I get the error t..... More

Print this item

  python 3 find difference between 2 files
Posted by: pd007 - May-14-2020, 04:24 PM - Forum: General Coding Help - Replies (2)

Hi,
I'm working a file system monitoring script. When I compare two files in the below script, it's returning non-zero value even though both files a..... More

Print this item

  Python clock
Posted by: menator01 - May-14-2020, 03:33 PM - Forum: GUI - Replies (2)

I'm trying my luck with a clock
Just can't seem to get it to update.
I've tried with the both the after method and while loops.
It would appear tha..... More

Print this item

  Pip dependency install problems
Posted by: amos446 - May-14-2020, 02:58 PM - Forum: Data Science - No Replies

Hello everyone,
I hope I am in the right forum for this kind of question.
As a developer I am used to C# as of now, but I am intrigued by Python.
C..... More

Print this item

  Remove escape characters / Unicode characters from string
Posted by: DreamingInsanity - May-14-2020, 02:54 PM - Forum: General Coding Help - Replies (5)

I retrieve some JSON from a web page. It is real JSON, however due to all the backslash escape characters it doesn't want to format correct.
There's ..... More

Print this item

  How to get the value of a checkbox
Posted by: scratchmyhead - May-14-2020, 02:07 PM - Forum: GUI - Replies (4)

I have a checkbutton in my program but when I click the checkbox, it gives me the following error: TypeError: get() missing 1 required positional argu..... More

Print this item

  How to aling the printing statements
Posted by: Mekala - May-14-2020, 01:23 PM - Forum: General Coding Help - Replies (4)

Hi,
I have below code to print matching start index and end index with aligned columns.
I use below code:

import re
pattern = re.compile('ab')
..... More

Print this item

  HELP: collect path name
Posted by: mart79 - May-14-2020, 01:03 PM - Forum: General Coding Help - Replies (1)

Hi all,

I have a project with several folders with .py files. I also have some .png files which are used by open-cv.
Currently I use the following..... More

Print this item

  unable to generate authentication key
Posted by: lokamaba - May-14-2020, 12:33 PM - Forum: General Coding Help - No Replies

Hi Team,

I am new to python.
By using web API trying get the authentication key. Could you please please me on this.
Request type is post
Respo..... More

Print this item

  Running this script on Windows?
Posted by: Winfried - May-14-2020, 11:45 AM - Forum: General Coding Help - Replies (2)

Hello,

I need to run a Python script that contains the following lines :

[python]#! /usr/bin/env nix-shell
#! nix-shell -i python3 -p "python3...... More

Print this item

  Read data from a CSV file in S3 bucket and store it in a dictionary in python
Posted by: Rupini - May-14-2020, 10:04 AM - Forum: Homework - Replies (3)

I am trying to read a csv file from S3 bucket and store its content into a dictionary. Sample csv file data. I want to use my first row as key and sub..... More

Print this item

  GUI Threading
Posted by: Mad0ck - May-14-2020, 09:50 AM - Forum: GUI - No Replies

Hello,

Since I also dealt with the gui freezing issue, i found the thread from Yoriz
(..... More

Print this item

  Can I develop a live video streaming application using python?
Posted by: mtrkhan - May-14-2020, 09:39 AM - Forum: Web Scraping & Web Development - Replies (4)

If yes then what should I need to know before starting, please specify

Live video and text Streaming Application (Web & Mobile)

I want to use Te..... More

Print this item

  Bad input
Posted by: Impropabletank - May-14-2020, 07:40 AM - Forum: General Coding Help - Replies (4)

[python]
def __init__(self, name, gender, hp,attack, mp,exp,level):
'''Use double underscores'''
#This method initializes the attibute..... More

Print this item

  Bad input
Posted by: Impropabletank - May-14-2020, 07:35 AM - Forum: General Coding Help - Replies (1)

[python]def __init__(self, name, gender, hp,attack, mp,exp,level):
'''Use double underscores'''
#This method initializes the attibutes ..... More

Print this item

  Pygame mixer and tkinter music player
Posted by: Kumarkv - May-14-2020, 07:02 AM - Forum: General Coding Help - Replies (1)

Hi,

I want to implement music player in tkinter gui. For some reasons I am not able to use python musicplayer library which needs vc++ environment...... More

Print this item

  function/method help
Posted by: myv5285 - May-14-2020, 02:47 AM - Forum: General Coding Help - Replies (3)

I am new to python, trying to work on requests module

Need to use get and post method. But not sure what arguments are needed to be passed - Can yo..... More

Print this item

  Coding caesar's cipher
Posted by: drewbty - May-14-2020, 02:18 AM - Forum: General Coding Help - Replies (3)

Hi

I am starting off in python and as part of my learning I'm attempting to code a simple caeser's cipher.

I have figured out how to get this w..... More

Print this item

  CookBook Project on github
Posted by: menator01 - May-14-2020, 12:02 AM - Forum: Code sharing - Replies (4)

I've added my guestbook project to github. I'm not sure how github works as this is my first time trying.
I've added some bells and whistles so to spe..... More

Print this item

  Python 2 to 3 dict sorting
Posted by: joshuaprocious - May-13-2020, 11:24 PM - Forum: General Coding Help - Replies (2)

Hello,

We have an app that provides a list of searchable multi-layered items originally written in 2.7 and we're converting to 3.8.2. It is hosted ..... More

Print this item

  A strange list, how does this work?
Posted by: Pedroski55 - May-13-2020, 10:52 PM - Forum: General Coding Help - Replies (1)

I'm just an amateur at Python.

I'm reading a book called Python Automation Cookbook. The text contains some numbers to be replaced with X.

The book ..... More

Print this item

  crontab on RHEL7 not calling python script wrapped in shell script
Posted by: benthomson - May-13-2020, 10:20 PM - Forum: General Coding Help - Replies (1)

Hi I have a Python3 script wrapped in a shell script (needs to be for the moment) which executes fine when running from command line, but doesn't exec..... More

Print this item

  How to disable focus on Frame in Tkinter?
Posted by: szafranji - May-13-2020, 09:57 PM - Forum: GUI - Replies (1)

Hello. I have a question. I have one frame in the program(the lower rectangle in the image), which contains the LabelBox widget. When I click Tab to g..... More

Print this item

  Installation troubles on Win 10
Posted by: peringek - May-13-2020, 09:34 PM - Forum: General Coding Help - Replies (1)

Hi all,
I have very little experience with Python but hope to use it for an ESP project running MicroPython. This requires installation of Python and..... More

Print this item

  Append JSON's and write to file
Posted by: faqsap - May-13-2020, 09:25 PM - Forum: General Coding Help - Replies (4)

I have a Sample JSON record in a file as below
{ "name":"John", "age":30, "car":"BMW" }

I want to create more JSON records out of it and i want to..... More

Print this item

  Finding Duplicate in CSV file
Posted by: bond009 - May-13-2020, 08:17 PM - Forum: General Coding Help - Replies (3)

I have CSV with entries like below. I want to generate the CSV file which merge the location into rows if the string before the ',' matches like sho..... More

Print this item

  Help: Replace widgets in a QFrame on Combobox change
Posted by: mart79 - May-13-2020, 07:50 PM - Forum: GUI - Replies (2)

Hi all,

I have the following problem which I do not seem to get solved:

  • My aim is that I want to have a single QFrame in which QWidgets..... More

Print this item

  Whats Wrong!?
Posted by: rjay81 - May-13-2020, 07:42 PM - Forum: General Coding Help - Replies (3)

Hello, I am new to programming. I need help in understanding what i am doing wrong or what is the error in this code.
Basically the program is an el..... More

Print this item

  file with option
Posted by: afang_ndong - May-13-2020, 07:35 PM - Forum: General Coding Help - Replies (2)

H,
how to run a python file on the command line with a " - quick " option for example.
Indeed I have created two typ functions in my code to sort..... More

Print this item

  TDD/CSS & HTML testing - CSS selector (.has-error)
Posted by: makoseafox - May-13-2020, 07:34 PM - Forum: Web Scraping & Web Development - No Replies

Hello everyone - I am doing TDD book, so I got stuck at this point for a while when I was trying to get functional test to pass. But I couldnt. Here's..... More

Print this item

  python comobject
Posted by: keuninkske - May-13-2020, 06:45 PM - Forum: General Coding Help - Replies (2)

hello,

i am learning about comobject in python
but the internet seems not to have so many clear information about it
does somebody know a clear e..... More

Print this item

  Accepting inputs str vs int
Posted by: lbtdne - May-13-2020, 06:14 PM - Forum: General Coding Help - Replies (2)

Hi all,

I'm defining a small function as part of a larger project. This function should prompt the user for an input of the format "number number"..... More

Print this item

  Str int error
Posted by: canatilaa - May-13-2020, 06:11 PM - Forum: General Coding Help - Replies (4)

[python]f = open("testSEt.txt")
for sayi in f :

can=sayi.split(",")
ati=random.sample(can,3)
x=0
print((ati[1]))
olasilik=0
if ati[1]>=5:
olas..... More

Print this item

  Any suggestions to improve BuySell stock problem efficiency?
Posted by: mrapple2020 - May-13-2020, 05:52 PM - Forum: General Coding Help - No Replies

I resolved the problem below. It seems this is (O(n)) = n^2.
In case you have a more efficient way to resolve it, kindly let me know. Thanks.
#####..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Comparing 2 100GB Drives/... 11 minutes ago tester_V Pedroski55 General Codin...
  Select Python comment (#)... 10 hours ago SpongeB0B tester_V General Codin...
  My goal to be hired worki... 09-27, 23:58 GnomeSweetGnome Larz60+ News and Disc...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  Unable to resolve FileNot... 09-27, 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
Most views
  The best Prog... 577282
  Tutorial Requ... 500407
  Web Scraping ... 440963
  Newbie with P... 384990
  New Users Int... 369375
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 7369
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Seu12Jorge Yesterday
seomelbourneaustralia Yesterday
Jacobjoift Yesterday
zalexstolzeoz5360 Yesterday
Edzed4431 09-27

User Panel Messages

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