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,960
» Latest member: llarkin6
» Forum threads: 38,729
» Forum posts: 175,537

Full Statistics

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

Latest Threads
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: deanhystad
9 hours ago
» Replies: 2
» Views: 204
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
10 hours ago
» Replies: 4
» Views: 645
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:17 PM
» Replies: 1
» Views: 742
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:14 PM
» Replies: 6
» Views: 4,976
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
Yesterday, 09:50 AM
» Replies: 1
» Views: 1,633
Using Python to SSH and R...
Forum: Networking
Last Post: SprunkiRetake
Yesterday, 03:53 AM
» Replies: 1
» Views: 2,676
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Yesterday, 12:32 AM
» Replies: 0
» Views: 306
extracting data from a us...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-25-2025, 01:49 PM
» Replies: 2
» Views: 527
pip install requests does...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-24-2025, 02:48 PM
» Replies: 10
» Views: 29,967
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
Sep-23-2025, 12:00 PM
» Replies: 4
» Views: 9,753

 
  pyaudio sound output producing strange errors on linux mint
Posted by: NeilUK - Oct-06-2018, 03:39 PM - Forum: Data Science - Replies (1)

I'm using linux Mint 18 (well, probably misusing, I'm an XP refugee linux noob), and trying to get a beep from a python 3.5 program. Lots of suggestio..... More

Print this item

  Values not storing in dictonary
Posted by: rtbr17 - Oct-06-2018, 03:23 PM - Forum: General Coding Help - Replies (2)

[python]
def make_album(arist_name, album_title, album_tracks= ""):
"""Album and arist"""
album = {
'name' : 'arist_name',
'album_nam..... More

Print this item

  are these equation to PyOpenCV API function conversions correct?
Posted by: jasper13 - Oct-06-2018, 03:03 PM - Forum: Data Science - No Replies

We wanted to try out the idea from this research paper:
http://faculty.ucmerced.edu/mhyang/paper...17_pen.pdf

A bit too math heavy for me.
The g..... More

Print this item

  Why does this elif_statement not work?
Posted by: Placebo - Oct-06-2018, 03:00 PM - Forum: General Coding Help - Replies (3)

Hi!

My code:
[python]feeling = input('How are you?\n')
if feeling.lower() == 'great':
print('I feel great too.')
elif feeling.lower ..... More

Print this item

  Tuple no attribute error
Posted by: oldcity - Oct-06-2018, 02:51 PM - Forum: General Coding Help - Replies (3)

Linux Mint 18.2 Python 3.5. Am old time BASIC person.
Help. Have no understanding how to deal with this.
An example please.


[python]
#!/usr/b..... More

Print this item

  Help with code
Posted by: carlk2018 - Oct-06-2018, 02:13 PM - Forum: General Coding Help - Replies (9)

Hello wondering if someone could help, I'm kinda new to the whole coding thing and can't work out what I've done wrong. The code below should allow a ..... More

Print this item

  Help with Cython in Win 10
Posted by: jarrod0987 - Oct-06-2018, 12:16 PM - Forum: General Coding Help - No Replies

Trying to get it up and running so I can learn it.
I am pretty sure Cython and miniGW are installed. They seemed to match the demo video's process.
I ..... More

Print this item

  StaticBitmap: unexpected behaviour
Posted by: giu88 - Oct-06-2018, 10:09 AM - Forum: GUI - No Replies

Hello everybody,

I am having a little issue with wx.StaticBitmap. I made a program using WxPython where i have several gadgets. At some point, i n..... More

Print this item

  get email text body: very close but I can't get it [SOLVED}
Posted by: Pedroski55 - Oct-06-2018, 09:23 AM - Forum: General Coding Help - Replies (5)

I'm trying to get the text body of emails. To that end I have this code:

[python]def read(username, password, sender_of_interest=None):
# Logi..... More

Print this item

  Multi dimensions list.
Posted by: voidptr - Oct-06-2018, 06:58 AM - Forum: Data Science - Replies (2)

hi from a noob Tongue

I needed a way to create multi dimensions list...
Didn't find any in the 'native' python ...
So here my first draft, ..... More

Print this item

  Grid geometry doesnt work as expected
Posted by: Sigmiami - Oct-06-2018, 02:30 AM - Forum: GUI - Replies (3)

Python : The grid geometry manager in tkinter doesnt function as it should, i have to code padding to push widgets around... I hate doing work arounds..... More

Print this item

  Need assistant!
Posted by: JM3D12019 - Oct-05-2018, 10:41 PM - Forum: Homework - Replies (5)

So I was tasked to create a Card Comparison Game, named 'Celebrity Dogs' (Funny name right?), I've so far used my basic knowledge on Python, I'm not v..... More

Print this item

  [split] Looping a Program
Posted by: volcano63 - Oct-05-2018, 09:26 PM - Forum: General Coding Help - Replies (7)

[quote='perfringo' pid='59914' dateline='1538768211']

One way of doing it:

[python]
while True:
print("Enter the name..... More

Print this item

  Brute Force Password Guesser
Posted by: 2skywalkers - Oct-05-2018, 06:55 PM - Forum: General Coding Help - Replies (1)

I've look around for answers for it before but Im having trouble finding a good explination. What I want to do is make a guesser that goes a, b, c, ....... More

Print this item

  Dictionary or Numpy Array?
Posted by: jarrod0987 - Oct-05-2018, 06:18 PM - Forum: Data Science - Replies (2)

First, can someone please show the proper code for creating a 5 row 2 column numpy array with type python object?
I see a lot of info online but none..... More

Print this item

  Compare all words in input() to all words in file
Posted by: Trianne - Oct-05-2018, 05:41 PM - Forum: General Coding Help - Replies (1)

Hi everyone,

So I have revised my code and hope you guys can help me out. My intention is to compare each words from user input to words in a file ..... More

Print this item

  I have no idea
Posted by: tjnichols - Oct-05-2018, 05:01 PM - Forum: Web Scraping & Web Development - Replies (3)

Ok - I'm trying (and failing) to write my version of what I want my download file to obtain completion files from our oil and gas commission. I admit ..... More

Print this item

  Python debugging hw
Posted by: John0895 - Oct-05-2018, 04:53 PM - Forum: Homework - Replies (10)

[python]
### Debug this simple game program. The game should generate a random number between 0 and 100
### when the user hits Enter. The user can sto..... More

Print this item

  Help getting PIP working
Posted by: jarrod0987 - Oct-05-2018, 04:35 PM - Forum: Data Science - Replies (1)

DELETED BY OP

How do I make PIP install NUMPY please?

Print this item

  XML Parsing - Find a specific text (ElementTree)
Posted by: TeraX - Oct-05-2018, 03:55 PM - Forum: Web Scraping & Web Development - Replies (3)

Hi all,

I have a problem to parse a specific text from a xml file.

What I need is the Value (BB001234) of the IDTAG but I didn't know how to gra..... More

Print this item

  Exception Handling
Posted by: grkiran2011 - Oct-05-2018, 01:54 PM - Forum: General Coding Help - Replies (3)

Hi,

There are two constructs that Python offers on exceptions. One is try-except-finally and the other is try-finally.

I am trying to understa..... More

Print this item

  Help to arrange correct input array structure
Posted by: mogensen24 - Oct-05-2018, 11:26 AM - Forum: Data Science - Replies (1)

Hi All...

I am trying to test out this script from Github.
https://github.com/TickTack-z/dynamic_pr..._demand.py

Bu..... More

Print this item

  Looping a Program
Posted by: DavidRobinsons - Oct-05-2018, 09:55 AM - Forum: General Coding Help - Replies (4)

I am new in Python, however I am not a student learning programming. I just thought that learning how to code is a fun thing to do. I have the latest ..... More

Print this item

  action on MQTT while long loop is running
Posted by: runboy - Oct-05-2018, 08:17 AM - Forum: General Coding Help - Replies (4)

I am in the process of coding a pool controller (Pi 0 W) that accepts MQTT commands in order to fire up the SPA, change pool light color etc. My funct..... More

Print this item

  layout with dash
Posted by: brecht83 - Oct-05-2018, 08:08 AM - Forum: Web Scraping & Web Development - No Replies

I'm trying to create a layout with dash in python but I'm having some difficulties.
I have a dropdown menu and next to dropdown menu I want an input ..... More

Print this item

  Nesting loops more than 20
Posted by: RtjShreyD - Oct-05-2018, 07:28 AM - Forum: General Coding Help - Replies (2)

I am upto creating a lookup table for a Human modelling software, Makehuman I have to translate its scale into real world metric scale for that I am c..... More

Print this item

  Creating list out of the first letter of every word in a string
Posted by: Drone4four - Oct-05-2018, 02:20 AM - Forum: General Coding Help - Replies (5)

I’m trying to create a list for every first letter in the given string.

Here is my script:
[python]
mystring = "Secret agents are super good at stayi..... More

Print this item

  reading from 2 pipes
Posted by: Skaperen - Oct-04-2018, 11:46 PM - Forum: General Coding Help - Replies (2)

i want to write a script that runs a command and reads both its stdout and its stderr (via separate pipes) to prefix each line with a timestamp. then..... More

Print this item

  Giving class multiple arguments
Posted by: AndyArsalan - Oct-04-2018, 09:57 PM - Forum: General Coding Help - Replies (1)

I'm trying to create a simple class that accepts 2 args.

It routinely responds:
TypeError: Restaurant() takes 1 positional argument but 2 were giv..... More

Print this item

  Multiplicate several numbers
Posted by: Student0 - Oct-04-2018, 09:13 PM - Forum: General Coding Help - Replies (5)

Hello!

I have this function:
1 + 1/x^2

I want to get the product of this function from n = 1 to n = 19
(1 + 1/1^2) * (1 + 1/2^2) * (1 + 1/3^2..... More

Print this item

  Files handling and lists
Posted by: gonzo620 - Oct-04-2018, 07:51 PM - Forum: General Coding Help - Replies (12)

im creating a program that will tell me what the climate is in a city in the summer and in the winter based on it's latitude. I'm doing this by adding..... More

Print this item

  writing user exceptions
Posted by: ccm1776 - Oct-04-2018, 07:05 PM - Forum: Homework - Replies (1)

hi guys. I would like to know how to reject invalid user inputs, or write exceptions in this loop. Ive never done it in a for loop, but I have to use ..... More

Print this item

  #python .... Need to develop a if condition from two lists
Posted by: ginu - Oct-04-2018, 06:02 PM - Forum: Homework - Replies (2)

I need to solve a problem could anyone help me with the same. Below is the detailed description of my problem
I have two list , lets says
[python]..... More

Print this item

  Best way to append data frame?
Posted by: WuchaDoin - Oct-04-2018, 05:11 PM - Forum: Data Science - Replies (1)

I read by accident, somewhere online, recently that it is highly unsought to append/insert a data frame either row by row, or cell by cell (for iloc)...... More

Print this item

  Formatting floats
Posted by: Irhcsa - Oct-04-2018, 03:49 PM - Forum: General Coding Help - Replies (6)

For year 5 I need it to format to the 12th decimal place. I have tried reading the documentation, but it isn't working.
I need str(yearFiveTest) to e..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Unable to resolve FileNot... 9 hours ago llarkin6 deanhystad General Codin...
  [Tkinter] how to export a... 10 hours ago RonR noisefloor GUI
  Is the interpreter that c... Yesterday, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... Yesterday, 13:14 Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... Yesterday, 09:50 P212 Biks News and Disc...
  Using Python to SSH and R... Yesterday, 03:53 justaguy SprunkiRetake Networking
  My goal to be hired worki... Yesterday, 00:32 GnomeSweetGnome GnomeSweetGnome News and Disc...
  extracting data from a us... 09-25, 13:49 Perry DeaD_EyE General Codin...
  pip install requests does... 09-24, 14:48 misodca DeaD_EyE General Codin...
  Creating a Mindmap progra... 09-23, 12:00 J_Miller Pedroski55 General Codin...
  IBKR Purchasing code issu... 09-23, 09:08 compuman145 compuman145 General Codin...
Most views
  The best Prog... 577066
  Tutorial Requ... 499860
  Web Scraping ... 440812
  Newbie with P... 384799
  New Users Int... 368916
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+ 12088
buran 8176
snippsat 7367
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
llarkin6 Yesterday
Xuitar Yesterday
SprunkiRetake Yesterday
GnomeSweetGnome 09-25
alxpetrovo2272 09-25

User Panel Messages

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