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

Full Statistics

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

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

 
  Displaying ComboBoxDialog Widget in a Class
Posted by: Vicolas - Feb-02-2019, 12:22 AM - Forum: GUI - Replies (3)

[python]
from tkinter import *
import Pmw

class Combobox:
def __init__(self):
self.root = Tk()
self.root.title('ComboBoxDi..... More

Print this item

  Clicking a RadioButton in a for Loop & Getting the Appropriate Return
Posted by: Vicolas - Feb-02-2019, 12:08 AM - Forum: GUI - Replies (1)

[python]
from tkinter import *
root = Tk()
root.title('Register')

def status():
word = varr.get()
gender = var.get()
if gender ==..... More

Print this item

  Catching exceptions in embedded code no longer works on 3.7.2?
Posted by: FFMG - Feb-01-2019, 08:42 PM - Forum: General Coding Help - Replies (5)

In an older project of mine I used to catch exceptions in the code by doing ...

[python]
// simplified code ...
PyObject * PyRes = PyRun_String( ..... More

Print this item

  Script to do the following
Posted by: timc - Feb-01-2019, 08:17 PM - Forum: General Coding Help - No Replies

Hi,

I would like a py script that does this by reading TFS (MS Team Foundation Server) and

Reads the incoming email (xyz@ABC.com) address and i..... More

Print this item

  how to load large data into dataframe.
Posted by: sandy - Feb-01-2019, 06:19 PM - Forum: General Coding Help - No Replies

Hi All,

I am working on 1 GB Data pulling from database .I want to bring this data into dataframe and do some analysis. Due to huge data ,python ..... More

Print this item

  Timer class not working as expected.
Posted by: MuntyScruntfundle - Feb-01-2019, 06:04 PM - Forum: General Coding Help - Replies (4)

Hi folks.

From what I can find on how to compare dates, basically use the < and >, and how to put a class structure together, the following should ..... More

Print this item

  Class example -i don't understand the error
Posted by: sonedap - Feb-01-2019, 04:24 PM - Forum: Homework - Replies (9)

[python]class SuperClass:
def __init__(self, a1, a2):
self.attribute1 = a1
self.attribute2 = a2
def getAttribute1(self):
..... More

Print this item

  Importing module error
Posted by: walernor - Feb-01-2019, 04:16 PM - Forum: General Coding Help - Replies (5)

Hi everyone,

I stuck at a point in my code.

I have two files in a folder named gaming.py and char.py

These are some codes in gaming.py
[pyth..... More

Print this item

  run setup.exe from python script with special parameters
Posted by: asheru93 - Feb-01-2019, 03:11 PM - Forum: General Coding Help - No Replies

So I have an setup.exe that I want to execute from a python script. If i run it outside a python script so directly in the command line it works as ex..... More

Print this item

  Replacing list items
Posted by: dan789 - Feb-01-2019, 02:15 PM - Forum: General Coding Help - Replies (3)

Hello, this is what I have so far:

[python]value = 0.1
for k in range(len(self.my_list)):
self.my_list[k][1] = value * self.my_list[k][1][/python..... More

Print this item

  Getting a matolo
Posted by: gehrenfeld - Feb-01-2019, 01:23 PM - Forum: General Coding Help - Replies (2)

When I run this script everything works great.
When I change line glucose.append(row.scan) to glucose.append(row.hist)
I get the error..... More

Print this item

  Acessing USB HUB
Posted by: Crespo94 - Feb-01-2019, 12:27 PM - Forum: Networking - Replies (1)

Hey guys!

I am working on a project which deals with coupling oscillator circuits and I'm connecting 2 Arduinos to a USB Hub and each of them are r..... More

Print this item

  how to filter data in below code
Posted by: gauravji - Feb-01-2019, 11:46 AM - Forum: General Coding Help - Replies (1)

TRACK_ID 3
POINT_NUM 43
372 216.535095 45.401947 9.129066e+00
373 219.860291 46.022030 9.161662e+00
374 223.982086 47.413708 8.663594e+00
37..... More

Print this item

  Import Library but Download first?
Posted by: OscarBoots - Feb-01-2019, 10:10 AM - Forum: General Coding Help - Replies (15)

Hi,

Please help a newbie to understand how to access libraries.

I've practised with some code & used the import 'xxxxx'.

I'm curious to know ..... More

Print this item

  How to ignore - ERROR: The system was unable to find the specified registry key or va
Posted by: asheru93 - Feb-01-2019, 10:04 AM - Forum: General Coding Help - Replies (9)

[python]
def isAlreadyInstalled(lookupRegistryKey):
consoleLines = os.popen('reg query "' + APP_REGISTRY_KEY + "\\" + VERSION_SYSTEM_NAME + '"')..... More

Print this item

  Pasting multiple images on to one image with a for loop.
Posted by: DreamingInsanity - Feb-01-2019, 09:55 AM - Forum: General Coding Help - Replies (2)

Using PIL I want to paste multiple images (currently the same, later all different) on to a single image.

I have tried this:
[python]import PIL
..... More

Print this item

  assign the variable to every value received serial from Arduino
Posted by: barry76 - Feb-01-2019, 07:07 AM - Forum: General Coding Help - Replies (4)

Hi, I am continuously getting the output of the temperature sensor from Arduino is like

28.92
64.26
93.77
and I want to assig..... More

Print this item

  testing if open to a terminal
Posted by: Skaperen - Feb-01-2019, 04:48 AM - Forum: General Coding Help - No Replies

the "test" command on Unix/Linux/Posix systems does have a means to test if a specified file descriptor is is open to a terminal or not. it does it l..... More

Print this item

  Pthyon 3 question (newb)
Posted by: bennylava - Feb-01-2019, 01:00 AM - Forum: General Coding Help - Replies (11)

This is something from my python 3 lessons at CodeAcademy. As you can see there are two print functions. But if you remove the indentation from the se..... More

Print this item

  Tkinter grid columnspan being ignored
Posted by: mntfr - Feb-01-2019, 12:41 AM - Forum: GUI - Replies (6)

Hi so I am trying to create a table using grids and entrys in tkinter but my columnspan option is being ignored
[python]def table(list, system):
wi..... More

Print this item

  builtins.TypeError: a bytes-like object is required, not 'str'
Posted by: BigOldArt - Jan-31-2019, 10:46 PM - Forum: General Coding Help - No Replies

I am just getting started with python. Apologies if this is awkwardly presented

The syntax below worked in the python 2 embedded in SPSS. I am tryi..... More

Print this item

  loop to compare lists
Posted by: KHas - Jan-31-2019, 09:42 PM - Forum: General Coding Help - Replies (1)

Hello all,
I am trying to make a loop that compares many different lists to see if there is any overlap/matching elements in them. Once a match is ide..... More

Print this item

  XML file to multiple txt files in PYTHON
Posted by: ayjay516 - Jan-31-2019, 08:57 PM - Forum: Web Scraping & Web Development - Replies (1)

I have an XML document that I want to separate into separate .TXT files using Python and BeautifulSoup. The XML file has 99 sections that need to be s..... More

Print this item

  Talking Weather
Posted by: b4iknew - Jan-31-2019, 08:42 PM - Forum: Code sharing - No Replies

Hello all, just wanted to post my script. This is the first one I've written and I made it to use the system default voice to speak the weather info t..... More

Print this item

  Popen does not show part of the data
Posted by: Arkantr - Jan-31-2019, 08:29 PM - Forum: General Coding Help - Replies (6)

Hi! It's my code
[python]ommand_line = 'git log --oneline'
process = subprocess.Popen(command_line, shell=True, stdout=subprocess.PIPE, stderr=subproc..... More

Print this item

  Python Modules and Tutorials
Posted by: marienbad - Jan-31-2019, 07:58 PM - Forum: General Coding Help - Replies (1)

I would like to learn some more python beyond just pygame. Which modules would you recommend a beginner/intermediate learner learn, and which tutoria..... More

Print this item

  time counter
Posted by: Muhammad - Jan-31-2019, 07:31 PM - Forum: General Coding Help - No Replies

hi guys, please I need help on how I can count time on a video output.
im using:
opencv python
raspberry pi3b+

a sample of what I want is someth..... More

Print this item

  accessing Sybase (ASE and/or Anywhere) via ODBC... on Linux
Posted by: zatlas1 - Jan-31-2019, 06:48 PM - Forum: General Coding Help - No Replies

We have many Sybase databases of both flavors (ASE and Anywhere). For some reason, my boss insists on accessing them via ODBC (on Linux). I am able ..... More

Print this item

  Min/Max From Nested List
Posted by: snowman24 - Jan-31-2019, 05:03 PM - Forum: General Coding Help - Replies (7)

I have searched and found similar request but not able to nail it down. I have a nested list such as:

[python][[12, 16], [0, 18], [12, 20], [12, 24..... More

Print this item

  why my method doesn't find my List in the same class?
Posted by: Scorpio - Jan-31-2019, 04:59 PM - Forum: General Coding Help - Replies (2)

hello everybody,

I am begginner in python. I wrote the code under and I don't understand why I have the error you can find under

[python]from ra..... More

Print this item

  Ball bouncing down a ramp
Posted by: Envyiae - Jan-31-2019, 04:58 PM - Forum: Homework - Replies (2)

Hello, this is a homework assignment and I just dont understand much about python. If anyone can help get me in the right direction that would help a ..... More

Print this item

  Fixing indentation issues.
Posted by: MuntyScruntfundle - Jan-31-2019, 04:50 PM - Forum: General Coding Help - Replies (9)

Hi there.

I know this is an editor problem, not Python itself, but it's driving me nuts, it have have cropped up with other people and I'm interest..... More

Print this item

  Where can I find a quality game development company involved in the develolment of st
Posted by: Vandatra - Jan-31-2019, 04:33 PM - Forum: Jobs - Replies (1)

I am looking for a good game development company for my rts project. Any info and names are welcome.

Print this item

  iterate through a list with comparison of expression
Posted by: Alexandro - Jan-31-2019, 04:08 PM - Forum: General Coding Help - Replies (6)

Hello everybody,

I have a question about the lists.

How can I go through a list and compare the contents of the list and if it is correct then i..... More

Print this item

  File read right
Posted by: dew924 - Jan-31-2019, 03:38 PM - Forum: General Coding Help - Replies (2)

I want to print 1 to 10 numbers in console and write it in a file then read half of them and print it in console. Please help

Dew

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Comparing 2 100GB Drives/... 5 hours ago tester_V Pedroski55 General Codin...
  Select Python comment (#)... Yesterday, 18:39 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... 577288
  Tutorial Requ... 500449
  Web Scraping ... 440966
  Newbie with P... 384997
  New Users Int... 369399
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
samuelshlzeo7159 Today
Seu12Jorge Yesterday
seomelbourneaustralia Yesterday
Jacobjoift Yesterday
zalexstolzeoz5360 Yesterday

User Panel Messages

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