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,261
» Latest member: SledgeNE
» Forum threads: 38,786
» Forum posts: 175,844

Full Statistics

Online Users
There are currently 36 online users.
» 0 Member(s) | 30 Guest(s)
Google, Bing, Facebook

Latest Threads
PermissionError: [Errno 1...
Forum: GUI
Last Post: Tuurbo46
18 minutes ago
» Replies: 0
» Views: 13
How to make ball stay wit...
Forum: General Coding Help
Last Post: SledgeNE
5 hours ago
» Replies: 1
» Views: 58
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: Skaperen
10 hours ago
» Replies: 4
» Views: 291
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
11 hours ago
» Replies: 0
» Views: 30
PyQt6 QWidgets and system...
Forum: GUI
Last Post: stevecoh1
Yesterday, 06:38 PM
» Replies: 0
» Views: 63
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 06:02 PM
» Replies: 10
» Views: 242
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 03:33 PM
» Replies: 3
» Views: 121
New to python and coding
Forum: Homework
Last Post: jefsummers
Nov-13-2025, 07:58 PM
» Replies: 6
» Views: 205
Backward compatibility qu...
Forum: News and Discussions
Last Post: noisefloor
Nov-13-2025, 11:52 AM
» Replies: 6
» Views: 391
why is the image not show...
Forum: General Coding Help
Last Post: deanhystad
Nov-12-2025, 07:26 PM
» Replies: 2
» Views: 134

 
  Dice and Random Variables
Posted by: isuckatcoding - Dec-01-2017, 08:30 PM - Forum: Homework - Replies (3)

Hello! I am taking a combinatorics and probability course and the final project requires us to use python. I am a complete newb and have no idea where..... More

Print this item

  newbie in python. odd ,even & Zero counter. output not crrect
Posted by: khan001 - Dec-01-2017, 06:45 PM - Forum: Homework - 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

  How can i store a refreshing data
Posted by: Rius2 - Dec-01-2017, 06:41 PM - Forum: General Coding Help - Replies (2)

I am scraping the number of a counter from a website, my code will check the counter every 30 sec or so, what i want to do is check if the current val..... More

Print this item

  help with While method
Posted by: brawdhampshire - Dec-01-2017, 06:32 PM - Forum: General Coding Help - Replies (5)

EXAMPLE AS FOLLOWS:

Program: print each word in a quote...
start = 0
space_index = quote.find(" ")
while space_index != -1:
# code to print w..... More

Print this item

  Unable to create vtu file from python
Posted by: tady57 - Dec-01-2017, 04:47 PM - Forum: Data Science - 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

  xxxxxxx to date/time
Posted by: MuntyScruntfundle - Dec-01-2017, 04:26 PM - Forum: General Coding Help - Replies (7)

Hi folks.

I'm just getting used to Python, I've been looking through the strp/strf date functions, but I can't find exactly what I need.

I have ..... More

Print this item

  Passing soapAction false to suds
Posted by: PeppePegasus - Dec-01-2017, 04:22 PM - Forum: Web Scraping & Web Development - Replies (1)

I have a SOAP webservice wrote in Java and I call it with suds library:

[code]
def soapclient(request):

username='user'
password='pw..... More

Print this item

  write data each second into file with timestamp
Posted by: br0ken - Dec-01-2017, 03:06 PM - Forum: General Coding Help - Replies (8)

[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

  problem with button events
Posted by: Lubik_ - Dec-01-2017, 02:35 PM - Forum: GUI - Replies (4)

Hi,
I have a part of code, that creates 10 buttons:

[python]
for i in range(10):
    b = tkinter.Button(root,text = i, command = lambda: click(i..... More

Print this item

  [split] Locate and open csv file
Posted by: agocomp - Dec-01-2017, 11:25 AM - Forum: Data Science - Replies (3)

Hello somebody, i am runung a code using anaconda the code is as follows:
[python]
import pandas as pd
import numpy as np
import random

from sk..... More

Print this item

  [Solved]Detecting key press in gui
Posted by: Barrowman - Dec-01-2017, 10:20 AM - Forum: GUI - Replies (5)

I am having trouble with this code:
[python]from tkinter import *

root = Tk()

def key(event):
    kp = repr(event.char)
    print ("pressed",..... More

Print this item

  Use correct language on the console
Posted by: sylas - Dec-01-2017, 06:43 AM - Forum: Bar - Replies (3)

Hi all! After a windows+x I have in the "Administrator Command Prompt": C:\Windows\system32> but he understands only "echo". It is a language even dif..... More

Print this item

  How to print number from user
Posted by: Rehan11 - Dec-01-2017, 05:59 AM - Forum: General Coding Help - Replies (5)

I am newbie here. I don't have knowledge of python program. after some reading I tried to write one program I just want to write simple program that w..... More

Print this item

  Help Newbie Please
Posted by: JJG - Dec-01-2017, 05:12 AM - Forum: General Coding Help - Replies (7)

Hi all, nice to be here, Sorry but I'm a total newbie and I'm stuck on this program. I need help with it. I would just love to have a 'clue' to make t..... More

Print this item

  Procedure Not Executing
Posted by: jge047 - Dec-01-2017, 04:51 AM - Forum: General Coding Help - Replies (1)

Question - "Write code that draws a pattern with the turtle with at least 3 different colors used. The code must have a for loop and must have a if st..... More

Print this item

  Variable Scope for Scripts
Posted by: QueenSvetlana - Dec-01-2017, 03:34 AM - Forum: General Coding Help - Replies (6)

I just came across the book ..... More

Print this item

  Watch SFTP Folder
Posted by: torz - Nov-30-2017, 11:23 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

  Requesting feedback on this learning script
Posted by: I_love_py - Nov-30-2017, 11:02 PM - Forum: Code sharing - Replies (2)

Hello,
I'm just beginning to teach myself python. This is one of my toy programs for learning and I would really appreciate feedback to gauge things ..... More

Print this item

  Possible to RDP onto a remote machine?
Posted by: jonesin1974 - Nov-30-2017, 10:47 PM - Forum: General Coding Help - Replies (5)

Hi,

Struggling to find any help with this online.

For a bit of background, I'm deploying server instances on AWS via a Python script.  Thing is,..... More

Print this item

  How do you compute tf-idf from a list without using the counter class
Posted by: syntaxkiller - Nov-30-2017, 10:30 PM - Forum: Homework - Replies (8)

I have a bit of code that works well in calculating term frequency using the counter class import.


[python]from collections import Counter

ter..... More

Print this item

  Error in code
Posted by: kikoko_2 - Nov-30-2017, 10:06 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

  Automate Config Changes [Security]
Posted by: surveymonkeycisco - Nov-30-2017, 09:43 PM - Forum: Networking - Replies (2)

I'm trying to write a script that will log into each switch via SSH, run a show run, create a txt file that says "All good, no changes", and save it o..... More

Print this item

  Need help importing stuff that python says it cant open
Posted by: Tiaan - Nov-30-2017, 09:18 PM - Forum: General Coding Help - Replies (2)

I type in the following: player = pygame.image.load("resources/image/dude.png") and it keeps on saying this : pygame.error: Couldn't open resources/im..... More

Print this item

  How do i run the code?
Posted by: kikoko_2 - Nov-30-2017, 09:05 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

  timeout value in subprocess
Posted by: jonesin1974 - Nov-30-2017, 08:34 PM - Forum: General Coding Help - Replies (2)

Hi,

The timeout works a treat if I hard code a value as such:[python]try: subprocess.run(['notepad.exe'], stdout=subprocess.PIPE, stderr=subprocess..... More

Print this item

  Converting an 8-bit binary to decimal WITHOUT the shortcuts
Posted by: EIA - Nov-30-2017, 06:00 PM - Forum: General Coding Help - Replies (5)

Hey everyone, I am trying to self-teach myself in python and I was wondering. Is there a way to convert an 8-bit binary to decimal without using the s..... More

Print this item

  why does the list of list replicate this way?
Posted by: hshivaraj - Nov-30-2017, 05:36 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

  Python 3.6 and 2003 Domain
Posted by: ajaccard - Nov-30-2017, 05:13 PM - Forum: General Coding Help - Replies (1)

Thank you in advance for any help you can offer. I apologize if this is posted under the wrong topic.

We are beginning a project in 2018 using P..... More

Print this item

  tweepy:invalid or expired token
Posted by: weareux - Nov-30-2017, 03:38 PM - Forum: General Coding Help - Replies (2)

Hello, thanks for your help, I want to find a twitter user thanks to tweepy, I have already tried to generate a new key, I've also tried with a token,..... More

Print this item

  Tic Tac Toe Game!
Posted by: lgalan90 - Nov-30-2017, 03:33 PM - Forum: Game Development - Replies (1)

I am new to python and am currently taking an online bootcamp. I am having trouble with the random input where it would not input "o", usually on my t..... More

Print this item

  error in python script (for energy meter)
Posted by: br0ken - Nov-30-2017, 02:08 PM - Forum: General Coding Help - Replies (9)

[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

  if statement and in operator problem
Posted by: bobger - Nov-30-2017, 01:08 PM - Forum: General Coding Help - Replies (5)

can i use a if statement and in operator to trigger the code [python]corb = random.randrange(3)
print('talks about it with ' + talks[corb] + ' about ..... More

Print this item

  Can't get call or subprocess functions to use space in path.
Posted by: jonesin1974 - Nov-30-2017, 01:04 PM - Forum: General Coding Help - Replies (2)

Hi there,

I'm having issues with both subprocess and call functions to accept spaces in the the file path.

I'm runni..... More

Print this item

  Trying to create a python exe for an addition problem with an odd variable
Posted by: Python_Newb - Nov-30-2017, 12:18 PM - Forum: General Coding Help - No Replies

Good morning,
New to Python for sure, but I do have VERY limited experience with it. I am trying to write a short program that solves a short simple ..... More

Print this item

  Machine learning SQL injection detection
Posted by: agocomp - Nov-30-2017, 12:13 PM - Forum: Data Science - Replies (3)

Good day, i am a post graduate student working on "Detecting and preventing SQL injection attack on a database using machine learning approach". My Ma..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  PermissionError: [Errno 1... 18 minutes ago Tuurbo46 Tuurbo46 GUI
  How to make ball stay wit... 5 hours ago nathanael SledgeNE General Codin...
  sorting a lisr of file pa... 10 hours ago Skaperen Skaperen News and Disc...
  conditional nested loops 11 hours ago Skaperen Skaperen News and Disc...
  PyQt6 QWidgets and system... Yesterday, 18:38 stevecoh1 stevecoh1 GUI
  [solved] re.split issue Yesterday, 18:02 paul18fr deanhystad General Codin...
  Please guide me to comple... Yesterday, 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...
  why is the image not show... 11-12, 19:26 sarbogast deanhystad General Codin...
  Help with Serial.write in... 11-12, 10:11 racingsubby Larz60+ General Codin...
Most views
  The best Prog... 578979
  Tutorial Requ... 510555
  Web Scraping ... 441997
  Newbie with P... 386023
  New Users Int... 377143
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 8195
snippsat 7388
deanhystad 6910
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
SledgeNE Today
nathanael Yesterday
JamesFalkner Yesterday
stevecoh1 Yesterday
Bamboo Yesterday

User Panel Messages

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