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,289
» Latest member: J2M
» Forum threads: 38,793
» Forum posts: 175,881

Full Statistics

Online Users
There are currently 63 online users.
» 1 Member(s) | 53 Guest(s)
Applebot, Bing, Google, Mojeek, Facebook Dev, lovedeep

Latest Threads
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
1 hour ago
» Replies: 5
» Views: 33
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 12:05 PM
» Replies: 5
» Views: 145
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 56
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,489
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 151
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 68
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,083
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:46 AM
» Replies: 2
» Views: 4,303
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 393
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Nov-19-2025, 05:03 AM
» Replies: 1
» Views: 224

 
  How to create a basic grid with functions
Posted by: trousers1 - Nov-22-2019, 03:10 PM - Forum: General Coding Help - Replies (2)

I'm looking to create something like this

thisA funct..... More

Print this item

  Free ebook "Deep Learning with PyTorch"
Posted by: ThomasL - Nov-22-2019, 02:50 PM - Forum: Data Science - No Replies

Deep Learning with PyTorch provides a detailed, hands-on introduction to building and training neural networks with PyTorch,
a popular open source ma..... More

Print this item

  Flask not running python interpreter from virtual env
Posted by: Charles1 - Nov-22-2019, 02:35 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi,

I started learning Flask development on Windows 10.

After a bug crept in I noticed that the debugger was showing that files were coming
fr..... More

Print this item

  Extract text from tag content using regular expression
Posted by: Pavel_47 - Nov-22-2019, 02:20 PM - Forum: Web Scraping & Web Development - Replies (8)

Hello,

Here is the tag from where I want to extract text fragment (in bold):
<a class="a-link-normal a-text-normal" href="[b]/Cybersecurity-Intell..... More

Print this item

  The subprocess doesn't complete on its own.
Posted by: GBLightning - Nov-22-2019, 01:26 PM - Forum: General Coding Help - Replies (5)

Hello there.
I've got a problem with the python library "subprocess" and a ffprobe.
Environment:
OS - Ubuntu 18
RTSP link - rtsp://wowzaec2demo.stream..... More

Print this item

  Strange Characters in JSON returned string
Posted by: fioranosnake - Nov-22-2019, 01:12 PM - Forum: General Coding Help - Replies (4)

Hi,

I'm getting some strange characters at the beginning of an string that I am setting up for a request payload.

In this example I am trying to..... More

Print this item

  GUI Development using python
Posted by: vajra11kumar - Nov-22-2019, 11:53 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi

I want to make web application using python programming. I don't want to use htmls css and java script to create UI for web application. I use w..... More

Print this item

  Problem with number of rows containing null values
Posted by: PythonSpeaker - Nov-22-2019, 11:37 AM - Forum: Homework - Replies (3)

After cleaning all the rows that has null values, why do I still have a row count that is uneven ?

The data set and my code can be found here: http..... More

Print this item

  Migrating to Mysql from SQlite
Posted by: atari400 - Nov-22-2019, 10:57 AM - Forum: General Coding Help - Replies (10)

Hello, As the subject of this message implies, the following code:
[python]
#imports
from tkinter import *
from tkinter import messagebox as ms
i..... More

Print this item

  want same code in python
Posted by: deepakkr3110 - Nov-22-2019, 05:44 AM - Forum: General Coding Help - Replies (1)

[python]
date_default_timezone_set('UTC');
while(1){
$seconds=date('s');
if($seconds ==' 00'){
while(1){
echo date("..... More

Print this item

  Python C API Forum
Posted by: JRHeisey - Nov-22-2019, 02:28 AM - Forum: News and Discussions - No Replies

I'm looking for an active forum dedicate to asking questions about the Python C API.

Any suggestions?

J.R.

Print this item

  Need help with a few things as a beginner
Posted by: Kanashi - Nov-22-2019, 02:08 AM - Forum: Game Development - Replies (1)

Well being new to coding I'm having quite a rough time, I followed a tutorial on how to make an EXTREMELY simple text based game, which is the only ga..... More

Print this item

  Building a class for polygons and triangles in 2-space
Posted by: crosshairpvp - Nov-22-2019, 02:04 AM - Forum: General Coding Help - No Replies

Im trying to build a class for polygons and triangle in 2-space. I have test calls which have the parameters set in them. Im writing code to grab any ..... More

Print this item

  Making several POST requests
Posted by: RayeEThompson507 - Nov-22-2019, 02:04 AM - Forum: Web Scraping & Web Development - Replies (1)

Hello!

I'm attempting to stage some data for testing purposes via API.
I've written a script that essentially does 2 things:
A) Generate n unique..... More

Print this item

  iterating sets and frozensets
Posted by: Skaperen - Nov-22-2019, 01:11 AM - Forum: News and Discussions - No Replies

i have been creating then iterating some large sets. i created them by filling a set with a large sequence of numbers from range() using a comprehens..... More

Print this item

  Tkinter button in for
Posted by: Simpsunt - Nov-21-2019, 11:56 PM - Forum: GUI - Replies (3)

Hello,

First of all, i'm new here !

Then, I wasn't sure if this post belongs to GUI or general coding issue, kind of both.

I'm creating a GUI..... More

Print this item

  Output to a json file problem
Posted by: Netcode - Nov-21-2019, 10:29 PM - Forum: General Coding Help - Replies (3)

I am fairly new to programming and still getting to know python.
So I am trying to pull information from a Cisco switch output using show commands an..... More

Print this item

  change array elements dependent on index
Posted by: SchroedingersLion - Nov-21-2019, 09:52 PM - Forum: General Coding Help - Replies (1)

Greetings,

is there an easier way to write the following with some kind of slicing arithmetics?

[python]
for k in range(1, N-1):
A[k] = so..... More

Print this item

  IDE suggestion
Posted by: JackMack118 - Nov-21-2019, 09:16 PM - Forum: News and Discussions - Replies (5)

Hello everyone, my first post here and hopefully many more.

I'm a beginner, I do have coding experience in C# and JavaScript, but honestly not a to..... More

Print this item

  Functions returns content of dictionary as sorted list
Posted by: kyletremblay15 - Nov-21-2019, 08:11 PM - Forum: Homework - Replies (1)

I am trying to create a function in python 3.6 that returns a dictionary with count being the key and list being the value to gather all items with th..... More

Print this item

  While 2 mouse conditions
Posted by: tom1901 - Nov-21-2019, 07:40 PM - Forum: General Coding Help - Replies (7)

Hi guys!

Im trying to do the script do a sequence of acts while both left and right mouse buttons are pressed

[python]while script2019 is True:..... More

Print this item

  Pygame Help - Pydraw
Posted by: Corp_Shepherd - Nov-21-2019, 07:16 PM - Forum: Homework - Replies (2)

Hello everyone,

I am taking an introductory Python class and have actually been doing pretty well so far. The assignment I have to turn in this wee..... More

Print this item

  Capture grep output to a variable which includes another variable
Posted by: kdefilip2 - Nov-21-2019, 06:51 PM - Forum: General Coding Help - Replies (4)

I have set a variable strFileExt to a file path/name: /var/log/error.log.112119

I would now like to grep that file, capturing output to a second vari..... More

Print this item

  Help with Class
Posted by: pdub787 - Nov-21-2019, 05:40 PM - Forum: Homework - Replies (3)

Hi...just looking for assistance with this simple class with functions:

The class is located in a separate file "survey.py"

The program that use..... More

Print this item

  Tkinter & matplotlib
Posted by: PillyChepper - Nov-21-2019, 05:18 PM - Forum: GUI - Replies (9)

Hey!

I've been trying to solve a problem with matlib and Tkinter where i am unable to assign a number to points in a subplot. I'm trying to make a..... More

Print this item

  boolean
Posted by: bloomyhood - Nov-21-2019, 04:35 PM - Forum: General Coding Help - Replies (2)

Can anybody explain why:

'b' in 'abc' == 'a' in 'abc'

is

False

Thank you

Print this item

  How do I add an element to a dic and increase an existing value
Posted by: Kanashi - Nov-21-2019, 01:09 PM - Forum: General Coding Help - Replies (2)

Hello

I'm extremely new to coding, I started learning Python two days ago. And I'm working on a simple text based battle game, while following a tu..... More

Print this item

  accéder à une page web ouverte
Posted by: thino - Nov-21-2019, 11:54 AM - Forum: General Coding Help - Replies (1)

Hello I have a little problem, I developed a small data extraction application and I wanted to know how to access the content of a web page opened und..... More

Print this item

  Adding items in a list (using loops?)
Posted by: Seneca260 - Nov-21-2019, 11:44 AM - Forum: General Coding Help - Replies (6)

Hi,

Sorry if this is a dumb question, but I am only a week into coding. I have a list that is comprised of integers. I would like to add these all ..... More

Print this item

  time issue
Posted by: deepakkr3110 - Nov-21-2019, 10:26 AM - Forum: General Coding Help - Replies (1)

this is my python code
dateTimeObj = datetime.now()
timestampStr = dateTimeObj.strftime("%d/%b/%Y:%H:%M:%S")
print'Today Current Timestamp : ', tim..... More

Print this item

  ERROR NoneType object has no attribute content
Posted by: denizkb - Nov-21-2019, 10:21 AM - Forum: Homework - Replies (1)

We are creating a Virtual Scanner using Kali Linux, Metasploitable and PyCharm. I have been having problems with this code and the error message will ..... More

Print this item

  Please help me to create company budget
Posted by: mad_accountant - Nov-21-2019, 09:14 AM - Forum: General Coding Help - Replies (3)

Hi.

I am an accountant and new to programming.

I wanted to know whether I should create a budget for the company I work at in Python. It is a ma..... More

Print this item

  How does this RLE code work?
Posted by: sik - Nov-21-2019, 08:40 AM - Forum: General Coding Help - Replies (1)

There's this RLE code my teacher showed the class and I've tried to make sense of it but struggling. Could anyone explain to me how the code works, ma..... More

Print this item

  Can I evaluate a Chebyshev polynomial using a function
Posted by: player1681 - Nov-21-2019, 08:19 AM - Forum: Data Science - Replies (1)

Hello everyone. I need to evaluate an arbitrary Chebyshev polynomial of order n at a po..... More

Print this item

  How to use subprocess send commands to windows shell
Posted by: hlhp - Nov-21-2019, 08:08 AM - Forum: General Coding Help - Replies (3)

I want to send multiple commands to a shell program depends on the output.
But I can not figure out how to send multiple commands.

Python ver 3.6.8
W..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  PyQt5 - Get a parameter f... 1 hour ago Ninja2112 deanhystad GUI
  data fetching for indian ... Yesterday, 12:05 drakhsin snippsat Web Scraping ...
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
  My goal to be hired worki... 11-21, 06:15 GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... 11-20, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... 11-20, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... 11-20, 04:59 temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... 11-20, 04:46 Barber532 SledgeNE Game Developm...
  Graph Interpolate Difficu... 11-19, 20:34 Tuurbo46 deanhystad General Codin...
  link variable to exc bloc... 11-19, 05:03 Astrobert Gribouillis General Codin...
  PyQt6 QWidgets and system... 11-18, 18:47 stevecoh1 Axel_Erfurt GUI
Most views
  The best Prog... 579291
  Tutorial Requ... 512153
  Web Scraping ... 442197
  Newbie with P... 386306
  New Users Int... 379762
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+ 12109
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
J2M Today
jackhunter Today
EmilyCarter Today
xdimbah Today
IsmaelSlalk Today

User Panel Messages

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