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,959
» Latest member: lawwriters
» Forum threads: 38,729
» Forum posts: 175,530

Full Statistics

Online Users
There are currently 42 online users.
» 1 Member(s) | 36 Guest(s)
Google, Bing, AOL, Apple, DeaD_EyE

Latest Threads
Law Assignment Help
Forum: News and Discussions
Last Post: lawwriters
17 minutes ago
» Replies: 0
» Views: 5
Using Python to SSH and R...
Forum: Networking
Last Post: SprunkiRetake
3 hours ago
» Replies: 1
» Views: 2,449
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
6 hours ago
» Replies: 0
» Views: 125
extracting data from a us...
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 01:49 PM
» Replies: 2
» Views: 287
how to export a dictionar...
Forum: GUI
Last Post: Pedroski55
Yesterday, 03:45 AM
» Replies: 3
» Views: 346
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
Yesterday, 01:04 AM
» Replies: 0
» Views: 469
pip install requests does...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-24-2025, 02:48 PM
» Replies: 10
» Views: 29,622
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
Sep-23-2025, 12:00 PM
» Replies: 4
» Views: 9,546
IBKR Purchasing code issu...
Forum: General Coding Help
Last Post: compuman145
Sep-23-2025, 09:08 AM
» Replies: 0
» Views: 414
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
Sep-23-2025, 03:29 AM
» Replies: 2
» Views: 887

 
  syntactic sugar
Posted by: Skaperen - Sep-04-2018, 07:11 PM - Forum: News and Discussions - Replies (11)

so, Python has some syntactic sugar. if that, then why not other things, such as a case statement, or an until clause, or a do ..... More

Print this item

  Creating Disassembler for a bin file(total beginner)
Posted by: SoulsKeeper - Sep-04-2018, 03:20 PM - Forum: Homework - Replies (1)

Hello, I have a reverse engineering assignment which I need to understand the Stack data structure and thus find a flag within a Bin file

The probl..... More

Print this item

  unable to run unix command using spur
Posted by: purnima1 - Sep-04-2018, 01:43 PM - Forum: General Coding Help - Replies (11)

Hi Experts ,
I am trying to run simple command but getting an error
[python]

import spur
import spur.ssh

try:
shell = spur.SshShell(hostna..... More

Print this item

  Single line intermitant inputs to an array
Posted by: Astrikor - Sep-04-2018, 01:25 PM - Forum: Data Science - Replies (10)

I am having trouble trying to input values into an array in which I want to change only some of them. (the array shown is a very much abbreviated vers..... More

Print this item

  How to know modules contained by python3 library
Posted by: sylas - Sep-04-2018, 08:46 AM - Forum: General Coding Help - Replies (3)

Hi all ! I try to import 'msvcrt'. Impossible. I am using python 3.7. On Linux.
[error]>>> import msvcrt
... import sys
...
... while True:
........ More

Print this item

  shell script inside python
Posted by: pannis - Sep-04-2018, 08:43 AM - Forum: General Coding Help - Replies (6)

Hi,
I am trying to generate a shell script inside the python script and then planning to execute it. I know that this is a very naive way. This snipp..... More

Print this item

  While loop with condition that a list of strings contain a substring
Posted by: SnowingSilently - Sep-04-2018, 07:51 AM - Forum: General Coding Help - Replies (4)

Let's say that I have

li = ['A1','B','A2','C']
How would I go about coding a while loop that runs while [font=Courier New, Courie..... More

Print this item

  Ping Code Problem
Posted by: MTom5 - Sep-04-2018, 06:33 AM - Forum: General Coding Help - Replies (1)

I have the following block of code which i use to Ping multiple addresses

[python] AN_Sel_State = var4.get()
if (AN_Sel_State == 1)..... More

Print this item

  Compass Calibrate
Posted by: Hendra84 - Sep-04-2018, 06:08 AM - Forum: General Coding Help - Replies (1)

Hello guys, i need somebody who can explain how to use compass CMPS with python on raspi3 . I have compass module CMPS-12 but i dont have the library ..... More

Print this item

  subprocess in thread python to check reachability
Posted by: anna - Sep-04-2018, 06:03 AM - Forum: General Coding Help - Replies (3)

Hi All,

I would like to put subprocess in thread to check reachability in less time. Below is the my code. First its check reachability and put ali..... More

Print this item

  PyQt5 can't load video
Posted by: DecaK - Sep-03-2018, 07:29 PM - Forum: GUI - Replies (6)

Hello, I'm using Python 3.6 and PyQt5 and I tried few programs I found on internet, but always same problem: PyQt5 Video Widget is just black and noth..... More

Print this item

  Printing lists in a table, rows and columns
Posted by: randy_shooflay - Sep-03-2018, 04:42 PM - Forum: General Coding Help - Replies (6)

I'm using python3.7.
In this first example it runs without errors.
My goal is to print the numbers in one row and the letters on the second row (or ..... More

Print this item

  Code not working
Posted by: Luzaich - Sep-03-2018, 03:57 PM - Forum: GUI - Replies (2)

[python]
import random
from PyQt5 import QtCore, QtGui, QtWidgets

class Ui_MainWindow(object):
def setupUi(self, MainWindow):

Mai..... More

Print this item

  Image detection.
Posted by: ThNera - Sep-03-2018, 03:52 PM - Forum: General Coding Help - Replies (1)

I would like to know if there is any way you can use python in order to detect images in a live game that you play. For example, detecting head/player..... More

Print this item

  Armstrong in minimum lines
Posted by: Gaurav - Sep-03-2018, 03:38 PM - Forum: General Coding Help - Replies (1)

Hey guys. I've just started learning python. Made a simple armstrong program and need help on it.
Basically I wanna know how to nest for loops.
Here..... More

Print this item

  Python catch mouse click in pure text, no graphics
Posted by: samtal - Sep-03-2018, 03:18 PM - Forum: General Coding Help - Replies (7)

Hi,
I wish to catch mouse click (all buttons) in a pure text, non-graphic program.
Example: I have a While loop that prints a list. I wish to exit ..... More

Print this item

  string to list and back again as same type
Posted by: Skaperen - Sep-03-2018, 02:25 PM - Forum: General Coding Help - Replies (10)

i need to do some processing on a string that requires temporarily putting its contents into a list. then it needs to be made back into a string. bu..... More

Print this item

  If statement variable not defined
Posted by: MTom5 - Sep-03-2018, 01:52 PM - Forum: General Coding Help - Replies (3)

I cannot get this bit of code working

if ({Status} == "Y"):
    Online_Status = 1
elif ({Status} == "N"):
    Online_Status = 0
..... More

Print this item

  Program slows my mac down
Posted by: bobsmith76 - Sep-03-2018, 01:43 PM - Forum: General Coding Help - No Replies

I'm running a program that counts each keystroke I make. I'm trying to find some way to measure my productivity. The problem is that after 15 minutes ..... More

Print this item

  Looping problem
Posted by: IMissedTheBus - Sep-03-2018, 11:43 AM - Forum: General Coding Help - Replies (3)

I'm trying to make a little game for my wife start off small and work my way up. but i cant loop the question if she gets it wrong.

I would like it..... More

Print this item

  Subprocess command prompt (Windows)
Posted by: arnaur - Sep-03-2018, 08:51 AM - Forum: General Coding Help - Replies (6)

Hello,
I'm making a little program that runs a cmd command on Windows. That command needs a password and a verification of the password from the user..... More

Print this item

  Newbie, looking for advices.
Posted by: stambus - Sep-03-2018, 05:43 AM - Forum: Web Scraping & Web Development - Replies (2)

Hello community,
I am just starting to code. I have watched all the basic tutorials and stuff, have no problems of finding specific error related qu..... More

Print this item

  Help with 'while' loop! Python 3
Posted by: rafaelssouzza - Sep-03-2018, 03:42 AM - Forum: Homework - Replies (2)

Good night, mates. I need some help

I need to develop an algorithm that generates a number between 1 and 10, asks me to try to guess it and tells me ..... More

Print this item

  Creating a program to look for the largest prime number of a number
Posted by: Wikki14 - Sep-02-2018, 11:53 PM - Forum: General Coding Help - Replies (4)

So I'm creating a code that will take on number look for all the factors of that number and then tell me what factors are prime and which ones are not..... More

Print this item

  Storing the result of a input field
Posted by: MTom5 - Sep-02-2018, 10:04 PM - Forum: Data Science - Replies (2)

I have an input field for a filepath in my script so the user can direct the script to a required spreadsheets location.

As this filepath is differ..... More

Print this item

  is this a bug or not with if...else...?
Posted by: meokey - Sep-02-2018, 09:29 PM - Forum: General Coding Help - Replies (4)

platform.python_version()
'3.5.1'
a=None; b='abc'; c = b if a == None else a + ' & ' + b
Traceback (most recent c..... More

Print this item

  Power phase question.
Posted by: Sleeper - Sep-02-2018, 08:29 PM - Forum: Bar - Replies (4)

I've had this question for a while. I'm fairly sure I am correct but wanted to ask anyway.

Most homes run on single phase power, and many industria..... More

Print this item

  tkinter listbox problem
Posted by: edoardo5782 - Sep-02-2018, 08:28 PM - Forum: GUI - Replies (5)

Hi
i have a problem with the Listbox on Tkinter.
When i select with mouse one word in the Listbox, the program give me the relative code.
If i sele..... More

Print this item

  subcommands as functions
Posted by: Skaperen - Sep-02-2018, 08:23 PM - Forum: General Coding Help - Replies (12)

it make sense to implement each subcommand as a function. but i want to be able to easily add more subcommands. i'm thinking that i would name the f..... More

Print this item

  10x10 Array of Prime Numbers
Posted by: smfox2 - Sep-02-2018, 07:56 PM - Forum: Homework - Replies (1)

I am trying to construct a 10 by 10 array of prime numbers. I am able to construct an array of prime numbers but do not understand how to restrict th..... More

Print this item

  for/else ... for/elif?
Posted by: Skaperen - Sep-02-2018, 06:39 PM - Forum: General Coding Help - Replies (2)

an else: can follow a loop to handle the case of no break statements being done in that loop. but if the first thing that needs to be d..... More

Print this item

  Infinite # of inputs
Posted by: Hermann_Fegelein - Sep-02-2018, 06:30 PM - Forum: General Coding Help - Replies (1)

Hi everybody,
How can I put an indefinite number of inputs in a program?
Let me explain myself better: (here is the code)
[python]'''ex 8
def mult..... More

Print this item

  Slicing String cell by cell
Posted by: Vigneshkumarsakthivel - Sep-02-2018, 05:59 PM - Forum: Data Science - No Replies

Hi I am absolute beginner. I have a problem in slicing string in a excel file using python.
My excel file contains the following info:
[output]
order..... More

Print this item

  Python database application
Posted by: SimonU - Sep-02-2018, 05:39 PM - Forum: News and Discussions - Replies (1)

Hi everyone,
I am very new to Python, hope you share your knowledge with me.

I need to develop an accounting application(database) with Python for..... More

Print this item

  Make my code more pythonic
Posted by: aug828 - Sep-02-2018, 04:37 PM - Forum: General Coding Help - Replies (5)

Hi,

I am a beginner in python. I've read the Fluent in Python book, and I am trying to dive deeper.
Here is a file based merge sort. I have a fi..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Law Assignment Help 17 minutes ago lawwriters lawwriters News and Disc...
  Using Python to SSH and R... 3 hours ago justaguy SprunkiRetake Networking
  My goal to be hired worki... 6 hours ago GnomeSweetGnome GnomeSweetGnome News and Disc...
  extracting data from a us... Yesterday, 13:49 Perry DeaD_EyE General Codin...
  [Tkinter] how to export a... Yesterday, 03:45 RonR Pedroski55 GUI
  Is the interpreter that c... Yesterday, 01:04 helendamdam helendamdam 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...
  A coding beginner needs h... 09-23, 03:29 Littlefish Littlefish General Codin...
  Using a For Loop to subtr... 09-22, 20:56 Anunderling deanhystad General Codin...
Most views
  The best Prog... 576939
  Tutorial Requ... 499578
  Web Scraping ... 440710
  Newbie with P... 384686
  New Users Int... 368689
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 6895
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
lawwriters Today
SprunkiRetake Today
GnomeSweetGnome Yesterday
alxpetrovo2272 Yesterday
Jamirul Yesterday

User Panel Messages

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