Welcome, Guest
You have to register before you can post on our site.



Search Forums

(Advanced Search)

Forum Statistics
» Members: 7,393
» Latest member: Donald
» Forum threads: 13,405
» Forum posts: 66,928

Full Statistics

Online Users
There are currently 129 online users.
» 2 Member(s) | 127 Guest(s)
chrismc, perfringo

Latest Threads
Forum: General Coding Help
Last Post: Donald
10 minutes ago
» Replies: 2
» Views: 23
Compare words Python
Forum: General Coding Help
Last Post: perfringo
13 minutes ago
» Replies: 3
» Views: 40
one line if else
Forum: Bar
Last Post: perfringo
29 minutes ago
» Replies: 1
» Views: 27
Log WSGI directly to stdo...
Forum: Web Development
Last Post: ThomasT
48 minutes ago
» Replies: 4
» Views: 49
Genetic Algorithm
Forum: General Coding Help
Last Post: rajeev1729
58 minutes ago
» Replies: 3
» Views: 494
API -> pandas -> database
Forum: Data Science
Last Post: chrismc
1 hour ago
» Replies: 0
» Views: 8
unexpected sub result aft...
Forum: General Coding Help
Last Post: buran
2 hours ago
» Replies: 1
» Views: 40
TypeError: __str__ return...
Forum: General Coding Help
Last Post: jolinchewjb
3 hours ago
» Replies: 5
» Views: 75
I need help with loop one...
Forum: General Coding Help
Last Post: buran
3 hours ago
» Replies: 3
» Views: 111
TypeError: __init__() mis...
Forum: Homework
Last Post: Pythonhelp82
6 hours ago
» Replies: 6
» Views: 156

  for loop just work one
Posted by: Faruk - Jan-19-2019, 01:05 PM - Forum: General Coding Help - Replies (1)

Hello guys. I have a python script for run omxplayer. My purpose this: I have four .mp4 file. I want run these one by one. This fr loop in my script ..... More

Print this item

  problem returning values
Posted by: Naito - Jan-19-2019, 12:47 PM - Forum: General Coding Help - Replies (7)

Hi, i made iam a total beginner and i made this code for learning purposes, this code let you calculate your IQ out of 5 (n/5) by the average marks yo..... More

Print this item

  Occasional error when taking an item off a queue
Posted by: Wiggy - Jan-19-2019, 12:34 PM - Forum: General Coding Help - Replies (1)

I am using a queue to send commands to a GPS module. The commands are AT codes with 0,1 or 2 parameters. The command causing the problem is the +CCLK?..... More

Print this item

  Gui -> Dateime -> grid
Posted by: pynewby - Jan-19-2019, 10:52 AM - Forum: GUI - Replies (1)

Hello all:

I've spent a better part of two days before coming here..
I'm just trying to put the current date in a .grid

I'm wondering if ther..... More

Print this item

  How to fill empty values with mean
Posted by: SriRajesh - Jan-19-2019, 09:19 AM - Forum: General Coding Help - Replies (4)

I have below DataFrame,

1.0  2.1
1.7  9.0
2.0  1.0

8.7  2.9
1.8  1.1
2.0  3.2
I wa..... More

Print this item

  ProbEnthought Canopylems with
Posted by: kendias - Jan-19-2019, 02:36 AM - Forum: General Coding Help - Replies (3)

I am having problems with Enthought Canopy, whatever my code I get error e.g. for this program I get
return [l]
IndentationError: unexpected ind..... More

Print this item

  Framework Selection
Posted by: magikarp45 - Jan-19-2019, 01:03 AM - Forum: Web Development - Replies (1)

I am wanting to create a website that can run a python file and display the code and output from a file uploaded to the site. What web frameworks shou..... More

Print this item

  Extending my text file word count ranker and calculator
Posted by: Drone4four - Jan-19-2019, 12:50 AM - Forum: General Coding Help - Replies (7)

I am playing with large plain text files like Alice and Wonderland and trying to rank most commonly occurring words. Naturally, you’d expect to encoun..... More

Attached Files
.txt   Alice.txt (Size: 159.97 KB / Downloads: 4)
Print this item

  help needed with python launcher
Posted by: fallenlight - Jan-19-2019, 12:36 AM - Forum: General Coding Help - Replies (3)

i need help with python launcher on the latest version when i try to run any script it just open the python terminal and close it immediately ..... More

Print this item

  pip install xlrd error
Posted by: sandy - Jan-18-2019, 11:50 PM - Forum: General Coding Help - Replies (3)

Hi, I am trying to install XLRD PACKAGE but I am getting below error plz can you help me in troubleshooting:

C:\>pip install xlrd
Collecting xlr..... More

Print this item

  How's my list comprehension?
Posted by: Clunk_Head - Jan-18-2019, 09:59 PM - Forum: Completed Scripts/Snippets - Replies (4)

I'm just having fun, but can it be done better?
[python]oob = lambda name: ''.join([letter if letter not in "aeiouAEIOU" else "oob" for letter in nam..... More

Print this item

  pyenv Simple Python Version Management
Posted by: snippsat - Jan-18-2019, 08:24 PM - Forum: Python Installation and Execution - No Replies

Here gone look at setting up pyenv.
Will be using for Mint 19,work same for Ubuntu 18,for other look at [ur..... More

Print this item

  assigning index
Posted by: 3Pinter - Jan-18-2019, 07:04 PM - Forum: General Coding Help - Replies (6)

Basicly I have a certain amount of positions (1-3) which can be either True or False.

I want the function I use to get the decent index value.

..... More

Print this item

  Manipulating an Excel Workbook
Posted by: Stanimal - Jan-18-2019, 06:49 PM - Forum: General Coding Help - Replies (4)

Hello! I currently have an excel spreadsheet that is showing me data but I need to be able to manipulate that data, find exceptions, and suggest corre..... More

Print this item

  list problem
Posted by: nouk4 - Jan-18-2019, 06:29 PM - Forum: General Coding Help - Replies (1)

I have this task that I have a list A and a list B and I have to make a list C that would have the thinks that A has but if B has them so I should not..... More

Print this item

Posted by: arsenal58 - Jan-18-2019, 06:11 PM - Forum: General Coding Help - Replies (1)

So I was wondering what sort of things I can do with Python. I have Pycharm and have read quite a few things on how to use programming. I was just won..... More

Print this item

  Getting started
Posted by: mba_110 - Jan-18-2019, 05:23 PM - Forum: General Coding Help - No Replies

Hi everyone,

Hope you guys are doing fine

I am trying to develop desktop application for (HR & Accounting combined) I want help on following stu..... More

Print this item

  QTableWidget cell validation
Posted by: littleGreenDude - Jan-18-2019, 03:52 PM - Forum: GUI - Replies (1)

Recommended approach for cell validation on dynamic table.

The scenario: I have a QDialog where based on different dropdown selections 1 or more ..... More

Print this item

  In place of py2exe (for GNU/Linux systems) and MultiOS executables (Yes)
Posted by: Lachu - Jan-18-2019, 03:46 PM - Forum: News and Discussions - Replies (5)

Windows have py2exe, but no other OSes. Recently, I discovered how to create hybrid Windows 10/Linux scripts. In fact, It's cmd/bash scripts. Way to a..... More

Print this item

  pyjama - frame every x seconds?
Posted by: MuntyScruntfundle - Jan-18-2019, 03:41 PM - Forum: General Coding Help - Replies (2)

Hi folks.

I've worked with a couple of game engines before where this would be pretty easy, but I can't find a good example of updating the display..... More

Print this item

  Exception has occurred error
Posted by: jamshaid1997 - Jan-18-2019, 03:01 PM - Forum: Homework - Replies (1)

I am trying to create a disk image analyzer one of the things i want to do is be able to print the product image name however i seem to have come acro..... More

Print this item

  Cant seem to load my image file
Posted by: jamshaid1997 - Jan-18-2019, 02:54 PM - Forum: General Coding Help - No Replies

im trying to load a image file so that my program could outout he results of the last logon timeand date but i seem to be getting a error

..... More

Print this item

  showing results in TKInter as Vertical List
Posted by: diegoctn - Jan-18-2019, 01:59 PM - Forum: GUI - Replies (4)

Hi guys, I am trying to put the result in a label in TKInter but, I am an absolute beginner, I can find the rught way. Practically I'd like to have a ..... More

Print this item

  Accessing Files via Mobaxterm
Posted by: Omer123 - Jan-18-2019, 01:40 PM - Forum: General Coding Help - Replies (1)

[align=left]Hello, I have problems with accessing files through a code via mobaxterm:
The code takes a txt file as an input, and outputs an output tx..... More

Print this item

  __init__ function arguments
Posted by: CoderMan - Jan-18-2019, 12:41 PM - Forum: General Coding Help - Replies (2)


I am trying to make an __init__ function's argument be the previous argument of that function divided by 2.

class item:
d..... More

Print this item

  Alias names
Posted by: dukbilt - Jan-18-2019, 11:53 AM - Forum: General Coding Help - Replies (1)


Hello everyone,

I have a 1-wire temperature sensor network running off a Raspberry Pi. The temperature from..... More

Print this item

  Start learning GUI Programming python
Posted by: sumandas89 - Jan-18-2019, 11:44 AM - Forum: GUI - Replies (1)

I want to learn gui programming using python, let me know that from where I have to start and also let me know if there are any good documentation/tut..... More

Print this item

  tkinter and asyncio
Posted by: jeuvrey - Jan-18-2019, 11:11 AM - Forum: GUI - No Replies

this topic has been ever discuted on differents forums but i don't ever understand how to associate tkinter and an asyncio task without freezi..... More

Print this item

  Error is wave file processing
Posted by: vipinv23 - Jan-18-2019, 10:56 AM - Forum: General Coding Help - Replies (1)


I am executing the following program for SE32_LE wave file format:

[python]import wave
import matplotlib.pyplot as plt
import numpy as ..... More

Print this item

  nframes = params[:4]
Posted by: vipinv23 - Jan-18-2019, 10:22 AM - Forum: General Coding Help - Replies (5)


I am using the following code in wave file processing:

f = wave.open("file.wav", "rb")
params = f.getparams()
nchannels, sampwidth, fra..... More

Print this item

  Creating GUI Applications with wxPython by Mike Driscoll on Kickstarter
Posted by: buran - Jan-18-2019, 10:03 AM - Forum: News and Discussions - No Replies

I received an email announcing a campaign on Kickstart[url=https://python-forum.io/Thread-Creating-GUI-Applications-with-wxPython-by-Mike-Driscoll-on-Kickstarter]..... More

Print this item

  [split] sqlite3 detect IntegrityError
Posted by: YASHNIT - Jan-18-2019, 09:44 AM - Forum: General Coding Help - Replies (1)

How do I get the (extended) result/error code from an SQLite query in Python? For example:

con = sqlite3.connect("mydb.sqlite")
cur = con.cursor()
s..... More

Print this item

  beginner questions
Posted by: Naito - Jan-18-2019, 09:33 AM - Forum: Homework - Replies (4)

hello, i have to create a code that makes a user input a password that have at least 10 "symbols", have 1 uppercase , one lowercase , and one digit
i ..... More

Print this item

  Encrypt email message and forward
Posted by: entlearn - Jan-18-2019, 12:59 AM - Forum: General Coding Help - Replies (1)

Hi there,

I am new to this forum. Hope, i get guidance/advise from any one of you on my requirement. My req. is, I need to develop a python script..... More

Print this item

  Using xpath to get value of a nested element name using tag named
Posted by: xq1xq1xq1 - Jan-17-2019, 10:40 PM - Forum: General Coding Help - Replies (3)

I have a nested XML tag file that parses correctly with elementtree.

I have been unable to find a method of getting the text value for an element n..... More

Print this item