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,935
» Latest member: Diyaseating
» Forum threads: 38,722
» Forum posts: 175,507

Full Statistics

Online Users
There are currently 43 online users.
» 2 Member(s) | 37 Guest(s)
Bing, AOL, Google, Mojeek, CaptainNewb, snippsat

Latest Threads
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
22 minutes ago
» Replies: 4
» Views: 433
Why Do Students Prefer As...
Forum: News and Discussions
Last Post: tobey12
51 minutes ago
» Replies: 0
» Views: 7
set -x shell equivalent o...
Forum: General Coding Help
Last Post: pbo75715
2 hours ago
» Replies: 2
» Views: 939
403 Error
Forum: Web Scraping & Web Development
Last Post: CaptainNewb
Sep-17-2025, 05:56 PM
» Replies: 9
» Views: 3,464
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 1,862
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 808
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,052
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,097
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,158
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 724

 
  Simple "Slot" Machine (Python 3)
Posted by: Prrz - Nov-08-2017, 04:45 AM - Forum: Code sharing - Replies (3)

Hello Python Forum, as a learning experience I created a very basic "Slot" machine. It's far from perfect and could definitely use many upgrades, more..... More

Print this item

  Website Javascript
Posted by: drunkenneo - Nov-08-2017, 04:26 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi,

I am new to python,

There is a website where two text box are given, where you need to enter the start date and end date, and on clicking d..... More

Print this item

  NameError mlab not defined
Posted by: PythonAndArduino - Nov-08-2017, 04:04 AM - Forum: Data Science - Replies (5)

I wrote a program to analyze ECG rhythms. It works on my computer, but I emailed it to a friend for them to run it and suddenly it's saying that mlab ..... More

Print this item

  Can I upload a new version without previously deleting ancient version
Posted by: sylas - Nov-08-2017, 03:48 AM - Forum: General Coding Help - Replies (6)

Hi all ! Let us take two examples: Pycharm (versions 3.3 and 3.2) and python (version 3.3 and 3.2). Pycharm was installed passing via "software center..... More

Print this item

  Time limit and Score not working Coding help
Posted by: Kingrocket10 - Nov-08-2017, 02:46 AM - Forum: Game Development - Replies (1)

Hello I would like some help on my game. My Score and Time limit do not work at all so I would like help fixing that. The digits underneath the Time l..... More

Print this item

  Using asyncio to read text file and load GUI
Posted by: QueenSvetlana - Nov-08-2017, 02:39 AM - Forum: General Coding Help - Replies (1)

Goal: Using wxPython, load a combo box and read in a potentially huge text file to add to the list.

I have a text file with the names parsed..... More

Print this item

  Problem with "while and a string of characters
Posted by: Faosry - Nov-07-2017, 09:35 PM - Forum: General Coding Help - Replies (4)

Hi !

My python code :
[python]ligne1 = [2,0,1,5,1,1,5,1,4,0,1,1,2,4,5,3,1,4] # creation des tableaux
ligne2 = [0,0,0,5,1,2,3,..... More

Print this item

  What is wrong with code? Bin. Tree counting
Posted by: Peter_EU - Nov-07-2017, 09:17 PM - Forum: General Coding Help - Replies (3)

Hallowings,

I am having following code giving me errors. I see everything is all right and don't know why it does. Says smt. about formating, butt ..... More

Print this item

  Searching a text file to find words matching a pattern
Posted by: Micael - Nov-07-2017, 06:37 PM - Forum: General Coding Help - Replies (3)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  Need Help With Python RPG Battle System
Posted by: SBanya - Nov-07-2017, 06:05 PM - Forum: General Coding Help - Replies (1)

Hello everyone,

I've been working on the StackSkills Python video course, and completed the RPG system video tutorial a while back. I have one part..... More

Print this item

  Need help in selenium
Posted by: Lizard - Nov-07-2017, 03:14 PM - Forum: Web Scraping & Web Development - Replies (1)

I need help
I want to scroll down my page so the page can be sumbitted
It seems that the page cannot view submit_input_id = "side-contact-submit" so..... More

Print this item

  Can't get .py to run on Win10 command line
Posted by: jonesin1974 - Nov-07-2017, 02:36 PM - Forum: General Coding Help - Replies (3)

Hi,

I'm trying to run my python script from a Windows 10 command prompt (batch file).

It works if I'm in the correct directory of where my pytho..... More

Print this item

  get positive number from a list if there's the same number but negative
Posted by: haye - Nov-07-2017, 02:28 PM - Forum: General Coding Help - Replies (14)

list_one = [-8, 8, 144, 17]

def test(lis):
    return min(lis, key=abs)

print test(list_one)
Output:
-8
i want to print..... More

Print this item

  django rest framework - custom routes
Posted by: SparrowhawkMMU - Nov-07-2017, 11:36 AM - Forum: Web Scraping & Web Development - Replies (2)

Hi there,

Firstly, I hope that this query is in the correct format, apologies if it breaks any forum guidelines - let me know and I'll amend it.
..... More

Print this item

  Unable to delete duplicates in excel with Python
Posted by: tysondogerz - Nov-07-2017, 07:13 AM - Forum: General Coding Help - Replies (2)

I am trying to delete duplicates but the job just finishes with an exit code 0 and does not delete any duplicates.

I have attempted to do this wit..... More

Print this item

  In Search of 3rd Party Proxy / IP Address Rotation Software
Posted by: bmccollum - Nov-07-2017, 05:12 AM - Forum: Web Scraping & Web Development - Replies (3)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  applying 2 conditions to a loop
Posted by: Pedroski55 - Nov-07-2017, 04:38 AM - Forum: General Coding Help - Replies (1)

SOLVED: I was trying
if maxScore == 'None':
continue

I needed to write

if str(maxScore) == 'None':
continue

The situation is this:

1. I am..... More

Print this item

  Can't change Right to left id spawning/ movement to top to bottom
Posted by: Kingrocket10 - Nov-07-2017, 03:58 AM - Forum: General Coding Help - Replies (3)

Ive been trying to change the way my yblocks in my game move, they go (right to left) at this point but I want them to move (top to bottom) but I can'..... More

Print this item

  Failed attempt to install pyserial
Posted by: skeeve - Nov-07-2017, 03:09 AM - Forum: General Coding Help - Replies (4)

I got pyserial-3.4.tar.gz from https://pypi.python.org/pypi/pyserial .
I untarred it.
As root, I changed to its directory and ran
python setup.py i..... More

Print this item

  on a system w/o python3
Posted by: Skaperen - Nov-07-2017, 01:29 AM - Forum: News and Discussions - Replies (23)

lots of my scripts work fine on python3.  a few even work better when run on python3.  only a few others need python2 and i hope to eventually recode ..... More

Print this item

  sniffing real time with pyshark or scapy
Posted by: jeanapala - Nov-06-2017, 11:43 PM - Forum: Networking - Replies (2)

Hello , i'am looking for a way to sniff the traffic in real time and save it on a cap file or csv so i can load it in logstash .
(i tried pyshark but..... More

Print this item

  Raspberry Pi 3 Machine output log
Posted by: Jordancantcode - Nov-06-2017, 10:49 PM - Forum: General Coding Help - No Replies

So far this is the code I've attempted
[python]
#!/usr/bin/python
import RPi.GPIO as g
import csv
import datetime
import time
output1 = '/home/..... More

Print this item

  Extracting random word from list
Posted by: zykbee - Nov-06-2017, 10:08 PM - Forum: General Coding Help - Replies (13)

I created a little program here, and I'm having trouble with this part ---
[python]
var1 = random.choice(ggg[0])
var2 = rando..... More

Print this item

  Issue with my first Python test.
Posted by: MattH - Nov-06-2017, 10:08 PM - Forum: Web Scraping & Web Development - Replies (1)

I apologise for asking silly questions. I should think I will look at this in a couple of months and laugh at myself.

So here it goes: I've starte..... More

Print this item

  List problem
Posted by: mp3909 - Nov-06-2017, 09:59 PM - Forum: General Coding Help - Replies (2)

Hi,

I need to write a program that will reverse the first k characters for every 2k characters.
If there are less than k characters left, reverse ..... More

Print this item

  How to call subprocess after for loop
Posted by: viru - Nov-06-2017, 07:45 PM - Forum: Data Science - No Replies

I have pyspark script like below. In this script, I am collecting stdout and stderr of the script in a file and storing in local.

In ..... More

Print this item

  How to measure an inclined beam width and height in image using python?
Posted by: zyb1003 - Nov-06-2017, 07:35 PM - Forum: General Coding Help - Replies (1)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  New to Python, what now?
Posted by: MattH - Nov-06-2017, 07:02 PM - Forum: Web Scraping & Web Development - Replies (6)

Hey guys. I'm new to Python and this forum. I've been an SEO Expert for the past five years, but I want to spread my wings and make something beautifu..... More

Print this item

  SMBUS Support
Posted by: RWP - Nov-06-2017, 05:59 PM - Forum: General Coding Help - Replies (1)

I would like to transfer five integer values from Python to an Arduino using SMBus, but I have run into a lack of useful documentation on SMBus. The ..... More

Print this item

  [split] New at Python programming
Posted by: Akash - Nov-06-2017, 05:23 PM - Forum: GUI - Replies (1)

from tkinter import *
import random
import time

class val:
def __init__(self):
self.values=
self.index=0
def assign(self):
self.values.appen..... More

Print this item

  Login System
Posted by: ItsBlueey - Nov-06-2017, 04:57 PM - Forum: General Coding Help - Replies (1)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  need help in optionMenu using tkinter
Posted by: Lizard - Nov-06-2017, 02:24 PM - Forum: GUI - Replies (4)

HI..I need help
I got a code which use optionMenu tkinder
the list is too long..It stretch from the full height of the screen

May i know how to l..... More

Print this item

  Extract value
Posted by: Schwarzschild - Nov-06-2017, 12:43 PM - Forum: General Coding Help - Replies (2)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  Use of Globals
Posted by: CWatters - Nov-06-2017, 12:07 PM - Forum: General Coding Help - Replies (5)

Looking for some clarification on the use of global variables.

Suppose I need a single variable called "Logged_In" that's available everywhere in ..... More

Print this item

  python pip - V points to old version of python
Posted by: metalray - Nov-06-2017, 10:04 AM - Forum: General Coding Help - Replies (5)

Dear Python Experts,

When I run pip -V in my virtual environment I read:

(env_python36) C:\Users\myuser\Downloads\iwt_django36\iwt_django\iwt_dj..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  C++ program embedding Pyt... 22 minutes ago Alexandros Alexandros General Codin...
  Why Do Students Prefer As... 51 minutes ago tobey12 tobey12 News and Disc...
  set -x shell equivalent o... 2 hours ago ggpf900 pbo75715 General Codin...
  403 Error 09-17, 17:56 CaptainNewb CaptainNewb Web Scraping ...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
Most views
  The best Prog... 576165
  Tutorial Requ... 497760
  Web Scraping ... 440108
  Newbie with P... 383925
  New Users Int... 366522
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 8174
snippsat 7367
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Diyaseating Today
pbo75715 Today
marineoman Today
marineservice Today
bennyanderson482 Yesterday

User Panel Messages

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