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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,266
» Latest member: tlandr02
» Forum threads: 38,788
» Forum posts: 175,853

Full Statistics

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

Latest Threads
Access keys and values fr...
Forum: General Coding Help
Last Post: buran
1 hour ago
» Replies: 3
» Views: 53
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 04:07 PM
» Replies: 2
» Views: 116
PermissionError: [Errno 1...
Forum: GUI
Last Post: deanhystad
Yesterday, 02:42 PM
» Replies: 1
» Views: 73
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 01:54 PM
» Replies: 1
» Views: 70
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Yesterday, 01:00 PM
» Replies: 5
» Views: 327
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 49
PyQt6 QWidgets and system...
Forum: GUI
Last Post: stevecoh1
Nov-14-2025, 06:38 PM
» Replies: 0
» Views: 85
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 298
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
Nov-14-2025, 03:33 PM
» Replies: 3
» Views: 165
New to python and coding
Forum: Homework
Last Post: jefsummers
Nov-13-2025, 07:58 PM
» Replies: 6
» Views: 265

 
  local variable 'option' referenced before assignment
Posted by: RedSkeleton007 - Jan-22-2018, 06:07 AM - Forum: General Coding Help - Replies (11)

As an example of what my program is supposed to do, lets say, for example, that the user's name was John, and he chose option 0, and then chose option..... More

Print this item

  background sessions
Posted by: Skaperen - Jan-22-2018, 06:04 AM - Forum: News and Discussions - Replies (2)

i have written a set of (5) scripts to use and manage background sessions based on the screen command.

Print this item

  semaphores
Posted by: Skaperen - Jan-22-2018, 05:35 AM - Forum: General Coding Help - Replies (1)

i would like to have a pair of cli scripts in Python3, where one of the scripts will be run given a name and it will wait for a semaphore of that name..... More

Print this item

  Obtaining values from columns
Posted by: oncebuddy - Jan-22-2018, 04:24 AM - Forum: Homework - Replies (1)

I want to obtain the top 3 cities and items based on their sales, but the only thing I can do now is return the all cities and items with their respec..... More

Print this item

  compacting a mutable sequence
Posted by: Skaperen - Jan-22-2018, 03:44 AM - Forum: General Coding Help - Replies (6)

i am looking for some already existing implementation of this logic i am ready to implement for myself, if necessary. i want to "compact" a mutable s..... More

Print this item

  Is ::= a typo or actually an operator?
Posted by: Regulus - Jan-22-2018, 03:35 AM - Forum: General Coding Help - Replies (1)

I am running python 3.4, and trying to learn how to use the keyword assert. It's featured on the Pythong docs page https://docs.python.org/3/reference..... More

Print this item

  Re. Substring counting
Posted by: Mekire - Jan-22-2018, 02:56 AM - Forum: Homework - Replies (9)

This would normally go in homework discussions, but as the user has already solved their problem there is no reason to not post publicly.

Original ..... More

Print this item

  loop until user enters no
Posted by: JohnnyFobby - Jan-22-2018, 02:39 AM - Forum: General Coding Help - Replies (4)

I started learning python 3 days ago and needed some help on my code...
[python]#Basic calculator
#First python calculator
#How to improve this???..... More

Print this item

  parsing comment tag
Posted by: ian - Jan-22-2018, 02:39 AM - Forum: Web Scraping & Web Development - Replies (2)

I am trying to parse a webpage with python 3.6.2 with BeautifulSoup4.
What I need is to retrieve the text of news headlines that are in comment tags (..... More

Print this item

  Repeat last command in pdb mode
Posted by: lylylytc - Jan-22-2018, 02:23 AM - Forum: General Coding Help - No Replies

Hi,

I wonder how can I repeat the last command I type in last pdb mode that I just quited. In the pdb mode, I can only use the up arrow to select t..... More

Print this item

  "if statement" and downloading a dataset
Posted by: Alberto - Jan-21-2018, 11:42 PM - Forum: General Coding Help - Replies (1)

Dear Python Users,

I have the code below (attach). What I want to do is to prompt a user to enter a ticker from Quandl website (financial/economic ..... More

Print this item

  Feedback on AI QA Triage Automation
Posted by: adrianqs - Jan-21-2018, 10:59 PM - Forum: News and Discussions - Replies (2)

Hi everyone Smile
I am working on building an AI defect triage system that analyzes patterns in defect reports/issue tickets to automate triage..... More

Print this item

  select Data input from csv file
Posted by: SeanBassett - Jan-21-2018, 08:48 PM - Forum: General Coding Help - Replies (6)

I need to get data from a csv (text) file.
I only need to read one piece of data from the csv file.

I am using Python in Blender 2.79 to control t..... More

Print this item

  PyCharm Early Release 2018.1 EAP now available
Posted by: Larz60+ - Jan-21-2018, 08:46 PM - Forum: News and Discussions - No Replies

I have only been playing with this for a few hours, but like some things
very much already, specifically the new project Virtual Environment setup wh..... More

Print this item

  Validate string using Regex
Posted by: rahul_raj1981 - Jan-21-2018, 07:28 PM - Forum: Homework - Replies (2)

hi,

I want to validate that the below string should only contain 0-9A-Za-z. Not sure how the space can be ignored and through the invalid message i..... More

Print this item

  Neural Network for Handwriting sample
Posted by: akashvuyyuru - Jan-21-2018, 07:24 PM - Forum: Code sharing - Replies (4)

Hello, I am creating a neural network for identifying handwriting samples. I wanted to alter it to achieve a 97+% success rate. Here is the code [pyth..... More

Print this item

  Finding nested delimiters
Posted by: wfsteadman - Jan-21-2018, 07:24 PM - Forum: General Coding Help - Replies (4)

Greetings all,
I have a configuration file and after much reviewing I found there is some structure to it, but not sure how to reach in and get the..... More

Print this item

  Class Struggle: Connecting a Method to an Outside Variable
Posted by: vulpesVelox - Jan-21-2018, 06:40 PM - Forum: Web Scraping & Web Development - Replies (7)

First off, be warned: I am a hopeless newbie within the realms of python with just shy of two months of experience thus far.

I am making slow progr..... More

Print this item

  define methods in another file
Posted by: bb8 - Jan-21-2018, 06:34 PM - Forum: General Coding Help - Replies (13)

hi forum! i'm pretty new to python, i just wrote some simple codes in python.

the examples i have seen and written define the method in the class ..... More

Print this item

  GPIO output timing help needed
Posted by: skid - Jan-21-2018, 02:50 PM - Forum: General Coding Help - Replies (5)

Greetings to the Group

I am a beginner to python so be nice to me.
I am trying to control a GPIO output from a HIGH input and have the output stay..... More

Print this item

  encoding issiue using requests
Posted by: dmbest - Jan-21-2018, 02:25 PM - Forum: General Coding Help - Replies (5)

Hi all,
I'm trying to get info from site with following code. I'm getting this:
['Gesellschafter/in', u'Vorsitzende/r der Gesch\xe4ftsf\xfchrung']
..... More

Print this item

  turtle module
Posted by: kalamarovskycom - Jan-21-2018, 11:10 AM - Forum: General Coding Help - Replies (1)

Hi;

Can you please help me eith the code in below? I want to draw five square that touch to each other on their upper-right corners, but I am n..... More

Print this item

  opencv help
Posted by: tony1812 - Jan-21-2018, 06:54 AM - Forum: General Coding Help - No Replies

Hello, I compiled opencv successfully, so I thought, but when I run a script, I got this opencv error:
[python]
OpenCV Error: Unspecified error (The..... More

Print this item

  numeric string sort
Posted by: Skaperen - Jan-21-2018, 04:53 AM - Forum: News and Discussions - Replies (6)

the numeric string sort is a sort based on numeric string compare. this compare works like a normal string compare until it encounters ..... More

Print this item

  Sub slicing in a dataframe
Posted by: akshit2291 - Jan-21-2018, 04:12 AM - Forum: General Coding Help - No Replies

I have a dataframe. I extracted a particular value say 19990102 using df2.iloc[0,2].

However, I want to make a loop to check the month in the above..... More

Print this item

  Deploying SSL for my Django 2.0.1 server with Apache on Ubuntu 16.04 (droplet)
Posted by: Drone4four - Jan-21-2018, 03:45 AM - Forum: Web Scraping & Web Development - Replies (2)

I’ve played with a little Django (v2.0.1) locally. Now I am trying to implement a test case on my production Apache web server. I’m running an Ubuntu ..... More

Print this item

  Python code example site
Posted by: Larz60+ - Jan-21-2018, 02:22 AM - Forum: News and Discussions - Replies (2)

Recently i was looking for some examples of requests.request api for files method.
Found this site
home URL: https://www.programcreek.com/python/
S..... More

Print this item

  Pygame typewriter class
Posted by: Windspar - Jan-21-2018, 02:09 AM - Forum: Code sharing - No Replies

It render text once. Uses clip rect for animations.

[python]import os
import pygame

class TypeWriterText:
def __init__(self, text, font, c..... More

Print this item

  Please help with code below!
Posted by: PyCoder - Jan-21-2018, 01:47 AM - Forum: General Coding Help - Replies (3)

[python]from time import sleep
print("Welcome to my first game")
char_name = ""
def choosingname(name):
name = input("What is your charactar's nam..... More

Print this item

  Sqlite3 user input
Posted by: Barnettch3 - Jan-21-2018, 01:12 AM - Forum: General Coding Help - Replies (3)

Hi everyone, Im just learning how use the SQlite3 and everything seems
pretty straight forward, but I'm having trouble getting it to SELECT from a gi..... More

Print this item

  Final problem
Posted by: Truman - Jan-21-2018, 12:02 AM - Forum: Homework - Replies (4)

My task is to write a code that will add integers until user decides to quit the program with "Q". The program has two modules that user can choose - ..... More

Print this item

  Documentation for crypt function
Posted by: n3ver - Jan-20-2018, 09:23 PM - Forum: News and Discussions - Replies (1)

While it is possible that I didn't understand it because I am a newbie, it seems to me that the documentation page about the crypt module could be imp..... More

Print this item

  What could work a Python developer?
Posted by: cpuin - Jan-20-2018, 08:59 PM - Forum: Jobs - Replies (1)

Hi everybody.
Python is my favourite language, because of the simplicity and great modules.
I like it a lot, I'd like to work something as developer..... More

Print this item

  Looping script and writing to Excel in Python
Posted by: Rolflund - Jan-20-2018, 07:54 PM - Forum: Data Science - Replies (2)

m used to program in statistical programs like Stata and R but I’ve recently picked up on Python and I’m trying to teach myself. One thing that puzzle..... More

Print this item

  Variable Resetting Issue
Posted by: Niicollas__ - Jan-20-2018, 07:00 PM - Forum: General Coding Help - Replies (8)

I ran into some issues here, when i typed 'back' to return to the main menu of my program it reset my credits. it does this every time and i can't see..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Access keys and values fr... 1 hour ago Winfried buran General Codin...
  How to make ball stay wit... Yesterday, 16:07 nathanael deanhystad General Codin...
  PermissionError: [Errno 1... Yesterday, 14:42 Tuurbo46 deanhystad GUI
  Graph Interpolate Difficu... Yesterday, 13:54 Tuurbo46 deanhystad General Codin...
  sorting a lisr of file pa... Yesterday, 13:00 Skaperen DeaD_EyE News and Disc...
  conditional nested loops 11-14, 23:31 Skaperen Skaperen News and Disc...
  PyQt6 QWidgets and system... 11-14, 18:38 stevecoh1 stevecoh1 GUI
  [solved] re.split issue 11-14, 18:02 paul18fr deanhystad General Codin...
  Please guide me to comple... 11-14, 15:33 pbkurd Larz60+ General Codin...
  New to python and coding 11-13, 19:58 lary_p jefsummers Homework
  Backward compatibility qu... 11-13, 11:52 yutaozhou noisefloor News and Disc...
Most views
  The best Prog... 579032
  Tutorial Requ... 510932
  Web Scraping ... 442036
  Newbie with P... 386074
  New Users Int... 377520
Most reputation
buran 581
snippsat 511
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12108
buran 8196
snippsat 7389
deanhystad 6913
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
tlandr02 Today
Rerus3700 Today
pas88 Today
aanthonymaaleyo3938 Today
chuhlowe Yesterday

User Panel Messages

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