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,993
» Latest member: lauren557
» Forum threads: 38,736
» Forum posts: 175,580

Full Statistics

Online Users
There are currently 55 online users.
» 1 Member(s) | 49 Guest(s)
Applebot, Bing, AOL, Xuitar

Latest Threads
Weird failure in Selenium
Forum: General Coding Help
Last Post: Larz60+
6 hours ago
» Replies: 1
» Views: 74
print does not open conso...
Forum: General Coding Help
Last Post: Pedroski55
11 hours ago
» Replies: 2
» Views: 98
Fred Economic Data API
Forum: Web Scraping & Web Development
Last Post: Trickety
Yesterday, 03:05 PM
» Replies: 3
» Views: 2,539
create ocr to detect lice...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:58 PM
» Replies: 2
» Views: 102
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:56 PM
» Replies: 6
» Views: 224
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Oct-01-2025, 03:05 AM
» Replies: 4
» Views: 2,051
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Sep-30-2025, 07:43 AM
» Replies: 2
» Views: 465
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Sep-30-2025, 12:21 AM
» Replies: 2
» Views: 1,096
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,172
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 854

 
  Return code when closing the dialog
Posted by: ioprst - Aug-13-2019, 06:50 AM - Forum: GUI - Replies (1)

There is own dialogue which is inherited from wx.Dialog.

There is one button:

button_ok = wx.Button (self, wx.ID_OK, "OK")
Buttons..... More

Print this item

  using a try/except in a conditional expression
Posted by: Skaperen - Aug-13-2019, 02:45 AM - Forum: News and Discussions - Replies (9)

i needed to make a conditional expression that included testing if a file exists. so i wrote a small function to call os.lstat() in a try/except retu..... More

Print this item

  How to open a program with python without freezing
Posted by: LavaCreeperKing - Aug-12-2019, 09:46 PM - Forum: GUI - Replies (9)

Hi, can someone tell me how I can open a program with python without it freezing my program? What I am trying to do is create a program with some quic..... More

Print this item

  Python QGIS tool that replaces layout text labels with attributes from an input table
Posted by: geodenn92 - Aug-12-2019, 07:12 PM - Forum: General Coding Help - Replies (1)

Hello everyone,

I'm writing a QGIS tool and I think I got it but it doesn't work. Maybe someone can help me.

In the Qgs Project is a .csv tabl..... More

Print this item

  Basic one: Aggregating from a dictionary
Posted by: Mustey - Aug-12-2019, 07:00 PM - Forum: General Coding Help - Replies (1)

I am so sorry, that's a stupid mistake (I forgot to return!). Feel free to delete!


Sorry, I haven't coded for 2 years (and I wasn't any good ..... More

Print this item

  Question Regarding the == Operator
Posted by: majorjohnusa - Aug-12-2019, 06:29 PM - Forum: General Coding Help - Replies (4)

Hi, all.
I am a new learner here and have a question regarding the "==" operator, I couldn't find answer in Google, thus, I post here.

Why:
usi..... More

Print this item

  HTML Styling Not Working
Posted by: yoitspython - Aug-12-2019, 06:24 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi,

I am trying to embed an HTML table in an Outlook email using smtplib within Python. I have customized it but am having trouble modifying the ro..... More

Print this item

  python file output to log file
Posted by: Rsh - Aug-12-2019, 04:15 PM - Forum: General Coding Help - Replies (4)

>python logzip.py > /var/cron/log
I need to capture of logzip.py output to /var/cron/log.
Above shows how to do in linux pmpt.
..... More

Print this item

  Detect finger clicks/snaps using Python
Posted by: fwinter102 - Aug-12-2019, 04:02 PM - Forum: General Coding Help - No Replies

I would like a program to detect when someone nearby clicks their fingers using the mic.

I'm not completely sure how to approach this, and am fairl..... More

Print this item

  Send smtp message
Posted by: barry - Aug-12-2019, 02:38 PM - Forum: Networking - Replies (2)

I am stumped with trying to use the Python smtplib module. I have followed the instructions via https://pymotw.com/2/smtplib/. I am using the exampl..... More

Print this item

  TypeError: '>=' not supported between instances of 'str' and 'int'
Posted by: AsadZ - Aug-12-2019, 02:09 PM - Forum: General Coding Help - Replies (8)

num0 = input("Enter a Number: ")
if not(num0>=0):
    print("Please enter a Valid Number >=0.")
else:
    print(num0)
I need..... More

Print this item

  slected points to dataframe in Plotly
Posted by: douwey - Aug-12-2019, 01:42 PM - Forum: General Coding Help - No Replies

Hi,
I'm new to this forum and I hope you can help me with the following:
I'm looking for a way to make an interactive chart with points from a dataf..... More

Print this item

  Working with CSV data and iterating through a file
Posted by: skoobi - Aug-12-2019, 01:01 PM - Forum: General Coding Help - Replies (1)

Hi. Im a complete noob and trying to learn the ropes.

I thought id create a small project for myself that logs the amount of emails and phone call..... More

Print this item

  Trying to run a python2 script
Posted by: dagamer1991 - Aug-12-2019, 12:16 PM - Forum: General Coding Help - Replies (3)

Hello,
im trying to run a script called Ingress-maxfield. It was made on Python 2.7
https://github.com/tvwenger/maxfield/

the script dependencies..... More

Print this item

  I want to check for the smallest value entered by the user
Posted by: Shilpa - Aug-12-2019, 11:54 AM - Forum: General Coding Help - Replies (2)

Below is my code. Instead of getting the smallest value entered by user, i get the last inputted value. I am a beginner so taking baby steps to lean p..... More

Print this item

  class returns NoneType Object
Posted by: istemihan - Aug-12-2019, 11:47 AM - Forum: General Coding Help - No Replies

Hello, I am trying to read PDF file in Gui class and then I will use that read file to do some graphical process.

Here is the Gui class:
[b]Gui.py..... More

Print this item

  Change of mass hexa data
Posted by: kosteloos - Aug-12-2019, 10:04 AM - Forum: General Coding Help - No Replies

hello there to be brief I would like to change 6 hexa characters but in several files

I explain myself I designed this code:

[python]
fichier1 ..... More

Print this item

  Restrict / Limit variable size
Posted by: mln4python - Aug-12-2019, 10:04 AM - Forum: General Coding Help - Replies (4)

Can I restrict / limit a variable size in python ?

For example, I want to use an int variable which can hold ONLY upto 6 digit values, i.e., -999999 ..... More

Print this item

  Problem with Gtk3 and GLArea
Posted by: gsohler - Aug-12-2019, 07:33 AM - Forum: GUI - No Replies

I copied a sample code from stackoverflow, which draws a red triangle using Python, Gtk3, Shaders and OpenGL and it works perfectly fine.

When I tr..... More

Print this item

  file tree walk depth first generator
Posted by: Skaperen - Aug-12-2019, 07:02 AM - Forum: Code sharing - No Replies

this has only been tested in Python3. it does a file tree walk in depth first. it can take keyword argument key= referring to a function to pass to ..... More

Print this item

  reorganize seria data
Posted by: gary - Aug-12-2019, 06:07 AM - Forum: General Coding Help - Replies (1)

I have serial data captured using coolterm. Sample captured data is shown below

09 9F 12 B1 0D 0A DA BC E1 1A 0A 80 14 63 0D 0A
D7 AA DF 69 0B 15 ..... More

Print this item

  How to get the duration of AMR audio file using python
Posted by: Prince_Bhatia - Aug-12-2019, 05:58 AM - Forum: General Coding Help - No Replies

hi,

I have around 1000 of amr files. My task is to get the time duration of those amr audio files.Is there any amr audio file library or code examp..... More

Print this item

  how do i loop a "def ..." when error occurs?
Posted by: Stan2292 - Aug-12-2019, 05:28 AM - Forum: General Coding Help - No Replies

i'm automating some of my website monitoring work with python+selenium. the relevant part of the code looks like this:

[python]
import time
impor..... More

Print this item

  how to download from pip when name matches other
Posted by: Skaperen - Aug-12-2019, 05:22 AM - Forum: News and Discussions - Replies (3)

i am trying to download (not install) package "odns" using the command "pip3 download odns" but i get the error:[output]
lt2a/forums /home/forums 179..... More

Print this item

  Type Error: bad operand type for unary +: 'str'
Posted by: Psypher1 - Aug-12-2019, 04:00 AM - Forum: General Coding Help - Replies (2)

Hello everyone, I'm making a dynamic Tic Tac Toe game, I need to get in the practice.
I'm getting this type error and I am not sure how to resolve it..... More

Print this item

  Terms describing Python Programming language
Posted by: leodavinci1990 - Aug-12-2019, 02:17 AM - Forum: General Coding Help - Replies (3)

So I am trying to understand the classification of Python using the following terms. Can someone point out if I made any mistakes in explaining why Py..... More

Print this item

  Random selection
Posted by: EMarburg - Aug-11-2019, 11:43 PM - Forum: General Coding Help - Replies (6)

I am taking a class and I am having trouble with one line of script. I have my List as follows:
[python]
pirates = [
'Captain William Kidd',
..... More

Print this item

  install python on chromebook
Posted by: phip2014 - Aug-11-2019, 09:01 PM - Forum: General Coding Help - Replies (11)

How can I install python on a chromebook? thanks.

Print this item

  A 4x4 Field in Pygame
Posted by: Piethon - Aug-11-2019, 04:29 PM - Forum: Game Development - Replies (21)

Hello everybody,

I want to make a game in Pygame, where you have a 4x4 squared field and in there are two "cards" (same size as one field) and when..... More

Print this item

  Cannot use speechrecognition Please HELP
Posted by: Simurg - Aug-11-2019, 04:15 PM - Forum: General Coding Help - Replies (1)

I want to use speech to text tutorial however I get a problem related with SpeechRecognition, I installed but problem is still continue, I use Anacond..... More

Print this item

  Import and/or read IMC measurement data
Posted by: Squipy - Aug-11-2019, 02:48 PM - Forum: General Coding Help - No Replies

Hi guys,

I'm just wondering if there is a module for importing and reading IMC measurement data?
I am currently converting the files to MatLab files ..... More

Print this item

  Need help making a sprite
Posted by: GalaxyCoyote - Aug-11-2019, 02:27 PM - Forum: Game Development - Replies (4)

I designed a sprite in a drawing application (bitmap) and I want to get that drawing into my game.

I need some help as the only method I have seen ..... More

Print this item

  Classify URLs
Posted by: Newlearner - Aug-11-2019, 11:02 AM - Forum: Data Science - Replies (8)

Hi there,

I'm starting learning Python to be able to replace excel and be more efficient. I have a dataframe with a column called 'Source' which co..... More

Print this item

  Inserting numbers into entry box in a widget
Posted by: richard13 - Aug-11-2019, 08:55 AM - Forum: GUI - Replies (1)

Hi I am quite new to using python

I have modified and added to a pre-existing script, so there are lots of looses ends to finish.
My question is tha..... More

Print this item

  Design question will __call__
Posted by: rudihammad - Aug-11-2019, 07:51 AM - Forum: General Coding Help - Replies (1)

Hello,
I am currently refactoring my API. I have been reading some because like Robert C. Martin clean code, and I am trying to right a cleaner code...... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Weird failure in Selenium 6 hours ago glestwid Larz60+ General Codin...
  print does not open conso... 11 hours ago Tycho_2025 Pedroski55 General Codin...
  Fred Economic Data API Yesterday, 15:05 warrior42 Trickety Web Scraping ...
  create ocr to detect lice... Yesterday, 13:58 bimosora noisefloor General Codin...
  Parse Markdown / get the ... Yesterday, 13:56 SpongeB0B noisefloor General Codin...
  Error: cannot mix str wit... 10-01, 03:05 ngregistrations Joliekeva General Codin...
  Integer Factorization Too... 09-30, 07:43 fosuwxb buran Code sharing
  My goal to be hired worki... 09-30, 00:21 GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... 09-29, 17:45 llarkin6 noisefloor General Codin...
  Comparing 2 100GB Drives/... 09-29, 12:59 tester_V snippsat General Codin...
  Select Python comment (#)... 09-28, 18:39 SpongeB0B tester_V General Codin...
Most views
  The best Prog... 577483
  Tutorial Requ... 501362
  Web Scraping ... 441106
  Newbie with P... 385164
  New Users Int... 369925
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+ 12093
buran 8178
snippsat 7371
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
lauren557 Today
maribita Today
AnalystRobert Today
Safariscampoea Today
DataAnalytics021 Today

User Panel Messages

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