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,964
» Latest member: Edzed4431
» Forum threads: 38,729
» Forum posts: 175,542

Full Statistics

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

Latest Threads
My goal to be hired worki...
Forum: News and Discussions
Last Post: Larz60+
15 minutes ago
» Replies: 1
» Views: 448
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
5 hours ago
» Replies: 4
» Views: 1,978
My First App
Forum: Code Review
Last Post: carlbidwell
Yesterday, 10:53 AM
» Replies: 8
» Views: 8,553
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 03:54 AM
» Replies: 3
» Views: 452
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 908
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 938
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,208
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
Sep-26-2025, 09:50 AM
» Replies: 1
» Views: 1,823
Using Python to SSH and R...
Forum: Networking
Last Post: SprunkiRetake
Sep-26-2025, 03:53 AM
» Replies: 1
» Views: 2,859
extracting data from a us...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-25-2025, 01:49 PM
» Replies: 2
» Views: 738

 
  Test http requests
Posted by: JohnnyCoffee - Jul-06-2020, 09:46 PM - Forum: Networking - Replies (2)

I'm using the wsgiref module to handle http requests. How could you make request tests until overloaded in order to be able to identify the request ca..... More

Print this item

  [Django] Getting exception: "no such table: auth_user"
Posted by: SheeppOSU - Jul-06-2020, 09:27 PM - Forum: Web Scraping & Web Development - Replies (3)

I get this exception when I try to login to the admin site. I've been trying to figure out why this exception was occurring and I can't seem to fix it..... More

Print this item

  Checkbuttons always come up as black boxes regardless of the state
Posted by: kenwatts275 - Jul-06-2020, 09:13 PM - Forum: General Coding Help - Replies (5)

Hello all,
I am writing a program that utilizes a large array of checkbuttons.
When run, the user clicks on the checkbuttons that they want to select,..... More

Print this item

  Python Export Question Below
Posted by: samlee916 - Jul-06-2020, 08:45 PM - Forum: General Coding Help - Replies (1)

Any ideas on how to put the printed results in a CSV, JSON, or Excel format/file?

[python]
import requests
from parsel import Selector

#GET r..... More

Print this item

  hex to int convertion
Posted by: ebolisa - Jul-06-2020, 07:38 PM - Forum: General Coding Help - Replies (2)

Hi,

Why isn't the date printed correctly?

[python]
from datetime import datetime as dt

now = dt.now()

print(hex(now.second)) #return 0x0..... More

Print this item

  storing datime on rtc
Posted by: ebolisa - Jul-06-2020, 05:40 PM - Forum: General Coding Help - Replies (1)

Hi,

I'm trying to store the actual datetime onto a RCT device, but I just cannot get the time format correct.

Any help is appreciated.
TIA

..... More

Print this item

  Building a team quickly
Posted by: zeekie22 - Jul-06-2020, 05:23 PM - Forum: News and Discussions - Replies (3)

I am a developer who recently started working on my own, and I've come across some projects that I can't handle by myself (mostly in Python or React f..... More

Print this item

  Installation of Jupyter Notebook in Windows 10
Posted by: darksoulzz - Jul-06-2020, 04:16 PM - Forum: Bar - No Replies

Hi Dev Peeps, If you are familiar with data science we guess you already know Jupyter Notebook. If not, I will give you complete info on the [url=http..... More

Print this item

  Guietta – Python module to create simple GUIs
Posted by: alfiopuglisi - Jul-06-2020, 03:19 PM - Forum: Code sharing - Replies (1)

This module in on github: https://github.com/alfiopuglisi/guietta

It's a wrapper over QT with an extremely compact syntax:

[img]http://guietta.c..... More

Print this item

  Multiple Timers
Posted by: SenselessScott - Jul-06-2020, 02:17 PM - Forum: General Coding Help - Replies (3)

Hello,

I am currently in the design phase of a app that will be used to time the start, stop and elapsed time of certain events as they are trigger..... More

Print this item

  Flatten list sublists
Posted by: chesschaser - Jul-06-2020, 01:07 PM - Forum: General Coding Help - Replies (8)

Hi guys! I have this list:

 mylist = ["Hello", ["Hello2", "Hello3"], "Hello4"]
However, I want the list to be this instead (don't s..... More

Print this item

  why in Python some time "n += 1" not like "n = n + 1" ?
Posted by: M83Linux - Jul-06-2020, 10:28 AM - Forum: General Coding Help - Replies (4)

Hi All,

In the below example, why the result is different?
what the different between "n += [4, 5]" AND "n = n + [4, 5]"?

[python]
list1 = [1,..... More

Print this item

  SIGWINCH ignored when trying to start a screen with the pexpect module
Posted by: StatTark - Jul-06-2020, 10:12 AM - Forum: General Coding Help - No Replies

I made an application with Python's flask module. I used the pexpect module in some functions but I get the SIGWINCH ignored error. The function does ..... More

Print this item

  read and extract entries in python
Posted by: RRR - Jul-06-2020, 09:43 AM - Forum: General Coding Help - Replies (3)

Hi,

I have a file with below sample entries.

2282:depth=3 hl=4 l=12096 cons: start_indi
2286:depth=4 hl=4 l=5321 cons: next ..... More

Print this item

  Validating user input
Posted by: WJSwan - Jul-06-2020, 07:03 AM - Forum: General Coding Help - Replies (2)

I am new to Python and do not know how to do the following:

I have an input statement asking the user to enter 4 values. I then validate these valu..... More

Print this item

  Help finishing my Wikipedia page
Posted by: card51shor - Jul-06-2020, 05:31 AM - Forum: Homework - Replies (8)

My issue right now is getting the view to complete both the rendering of the function that edits the entry but then also redirect the user back to the..... More

Print this item

  python loop in subprocess
Posted by: vinothkumargomu - Jul-06-2020, 05:15 AM - Forum: General Coding Help - Replies (6)

Hi All,

I was trying to use a config ini file in one of the script. Below is my config file looks like

[DEV]
APPNAME = APP1 APP2

I was tryin..... More

Print this item

  pygame in MacOS Catalina
Posted by: ScottB - Jul-06-2020, 04:50 AM - Forum: Game Development - Replies (2)

Hi, not sure of this is in the right place, so bear with me.

I have installed Python 3.8.3 on my Macbook Air running MacOS Catalina and installed p..... More

Print this item

  Need help (mastermind game)
Posted by: sseansssean - Jul-06-2020, 04:02 AM - Forum: Homework - Replies (2)

Here is a part of my code for one of my assignment in programming.
When I try the program I run into a certain problem, when the answer contains (for..... More

Print this item

  Am trying to use speech_recognition module but getting error
Posted by: NagaphaniKonaknchi - Jul-05-2020, 09:56 PM - Forum: General Coding Help - No Replies

Hi Guys,
Am using Ubuntu 20.04 OS, Phython 3.8
While am running below basic program am getting error. Could you please some one guide me to fix this..... More

Print this item

  The making of marketing clichés
Posted by: Larz60+ - Jul-05-2020, 09:36 PM - Forum: Bar - No Replies

Someone asked what was needed to create a full-stack application, here's what I think (this is a story):

A marketing whiz accepts a job with ABC So..... More

Print this item

  Check all input, easy way! Help pls!
Posted by: bntayfur - Jul-05-2020, 09:00 PM - Forum: General Coding Help - Replies (2)

[python]

while True:
try:
midterm_1= float(input('Please enter your first midterm: '))
midterm_2= float(input('Please enter ..... More

Print this item

  How to fix it?
Posted by: Prezes - Jul-05-2020, 08:57 PM - Forum: General Coding Help - Replies (1)

[python]import os
import random
import time
import datetime
from subprocess import call

var_0 = 'w'
var_1 = 's'
var_2 = 'a'
var_3 = 'd'

..... More

Print this item

  outcome 0 but impossiblenumbers change
Posted by: bntayfur - Jul-05-2020, 08:52 PM - Forum: General Coding Help - Replies (1)

[python]

i= 1
top_hat= []
while i<=5:
try:
top_hat.append(int(input('Please enter your top hat score: ')))
i+=1

..... More

Print this item

  Outputting Sorted Text files Help
Posted by: charlieroberrts - Jul-05-2020, 07:56 PM - Forum: General Coding Help - Replies (1)

Hello,
I am currently making a music quiz game and I need to store the top 5 high scores the players of the game achieve.
Currently my code is this..... More

Print this item

  Simple code help
Posted by: bntayfur - Jul-05-2020, 07:22 PM - Forum: General Coding Help - Replies (2)

[python]
def is_integer_num(n):
if isinstance(n,float):
print(input(n))
else:
print("not a number")

n=input(..... More

Print this item

  Clear Cache Path
Posted by: sportcardinal - Jul-05-2020, 05:10 PM - Forum: General Coding Help - No Replies

How do I clear my cache path? I have a few API calls to get price data, but even though I am specifying to get data up until today, it seems like it o..... More

Print this item

  subprocess
Posted by: vinothkumargomu - Jul-05-2020, 04:38 PM - Forum: General Coding Help - Replies (3)

I want to execute below ansible playbook using python, can some one help me with subprocess for a variable? Basically am trying to achieve executing t..... More

Print this item

  drawing concentric circles with changing color animation
Posted by: CatherineKan - Jul-05-2020, 03:30 PM - Forum: GUI - No Replies

Hello,

I am quite new to python, and would like to try to make a project of 200 shells of concentric circles.

The circles radii change over time..... More

Print this item

  Automate process _ 2 cvs files
Posted by: Python_Fatli - Jul-05-2020, 02:21 PM - Forum: General Coding Help - Replies (1)

I’m new to python / pandas and wanted to see if its possible to automate our existing manual; process using python.

File1 (resource allocations). ..... More

Print this item

  insert more data at once in MongoDB
Posted by: Leon79 - Jul-05-2020, 12:42 PM - Forum: General Coding Help - Replies (2)

Hello Coders!

I'm trying to upload data with Python to MongoDB from a form in HTML.

I can do it with no problem if I upload only the form, but I..... More

Print this item

  Trouble getting pyuic5 to work
Posted by: RileyGH - Jul-05-2020, 12:27 PM - Forum: GUI - No Replies

Hi there. I just joined. I’m teaching myself some Python. My coding skills are OK, but my understanding of the inside of the OS etc is not (and I’m to..... More

Print this item

  What all do I need for a full stack web application?
Posted by: volunteers72 - Jul-05-2020, 07:52 AM - Forum: News and Discussions - Replies (7)

I realize this may not be the best place for this question, and I also know that there are many answers but I just want a definitive one for the momen..... More

Print this item

  read individual nodes from an xml url using pandas
Posted by: mattkaplan27 - Jul-05-2020, 12:49 AM - Forum: General Coding Help - Replies (5)

I am trying to read an XML file and access one specific attribute, in this case the DisplayName attribute, and use it to create a dataframe in Panda..... More

Print this item

  how to count a retransmission packets from pcap file?
Posted by: salwa17 - Jul-04-2020, 11:22 PM - Forum: General Coding Help - No Replies

How can count the retransmission packets from a pcap file without using pyshark please ?

I use this code with pyshark :


[python]def p..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  My goal to be hired worki... 15 minutes ago GnomeSweetGnome Larz60+ News and Disc...
  what does % stand for in ... 5 hours ago arbiel Gribouillis General Codin...
  My First App Yesterday, 10:53 BCopeland64 carlbidwell Code Review
  Unable to resolve FileNot... Yesterday, 03:54 llarkin6 Pedroski55 General Codin...
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
  Is the interpreter that c... 09-26, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... 09-26, 13:14 Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... 09-26, 09:50 P212 Biks News and Disc...
  Using Python to SSH and R... 09-26, 03:53 justaguy SprunkiRetake Networking
  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...
Most views
  The best Prog... 577188
  Tutorial Requ... 500125
  Web Scraping ... 440891
  Newbie with P... 384902
  New Users Int... 369143
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 8176
snippsat 7367
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Edzed4431 Yesterday
chaoh1911 Yesterday
KaydenJonah098 Yesterday
carlbidwell Yesterday
llarkin6 09-26

User Panel Messages

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