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,303
» Latest member: IFDA123
» Forum threads: 38,798
» Forum posts: 175,906

Full Statistics

Online Users
There are currently 33 online users.
» 1 Member(s) | 26 Guest(s)
Applebot, Bing, Mojeek, Google, AOL, snippsat

Latest Threads
No new line from print in...
Forum: General Coding Help
Last Post: snippsat
Less than 1 minute ago
» Replies: 4
» Views: 98
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
7 hours ago
» Replies: 4
» Views: 143
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Today, 04:44 AM
» Replies: 8
» Views: 665
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Yesterday, 04:48 AM
» Replies: 6
» Views: 7,811
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 143
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 125
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
Nov-26-2025, 08:47 AM
» Replies: 3
» Views: 208
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Nov-26-2025, 04:40 AM
» Replies: 6
» Views: 3,217
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Nov-25-2025, 02:50 AM
» Replies: 6
» Views: 317
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 209

 
  Disk usage stats.
Posted by: MuntyScruntfundle - Jan-22-2019, 08:47 PM - Forum: General Coding Help - Replies (2)

Hi folks.

I'm using all the usual code to get the main disk usage info, how big is the disk, how much available etc. but how can I get a current ov..... More

Print this item

  Is this even possible? Advanced ML
Posted by: Devilish - Jan-22-2019, 08:44 PM - Forum: Data Science - Replies (6)

Lets see if I can describe this in words... I guess this is best described as a time series, so I have this "event" that randomly occurs. I can easil..... More

Print this item

  Confused by order of operations
Posted by: ward - Jan-22-2019, 08:08 PM - Forum: General Coding Help - Replies (4)

I'm doing a seminar to learn Python, and I've been asked to predict the result of this code:

print ( 5*2 - 3+4/2 )
The lesson expla..... More

Print this item

  Log WSGI directly to stdout
Posted by: ThomasT - Jan-22-2019, 06:36 PM - Forum: Web Scraping & Web Development - Replies (4)

Hello

How can I log from wsgi_script directly to stdout?
We are using it in a docker container. httpd writes to stdout. But any logs from wsgi a..... More

Print this item

  QScrollArea with a gridlayout
Posted by: littleGreenDude - Jan-22-2019, 05:57 PM - Forum: GUI - Replies (2)

I have a form that grows in height as the user provides information. Currently this occurs by dynamically adding tables and other widgets to a grid l..... More

Print this item

  enumeration code help
Posted by: sar - Jan-22-2019, 04:56 PM - Forum: General Coding Help - Replies (5)

Hi there, I am a new user of python and just want to know if there is anyway to shorten by below code in a way that I can multiply all records with a ..... More

Print this item

  Cannot use function with timer/clock
Posted by: theangryprogrammer - Jan-22-2019, 02:59 PM - Forum: General Coding Help - Replies (1)

I have been working for days now trying to implement a timer, which would take 5 minutes in any other language. I have tried every tutorial in existen..... More

Print this item

  how can I initialize this code ?
Posted by: grandpapa10 - Jan-22-2019, 12:57 PM - Forum: General Coding Help - Replies (4)

Hey there !

Im having trouble with this code:
[python]class Graph:
def __init__(self):
self.graph = {
'A': {'B': 10, 'D'..... More

Print this item

  Delete multiple files using file extention
Posted by: sumncguy - Jan-22-2019, 12:28 PM - Forum: General Coding Help - Replies (2)

I script in bash and some expect and I am trying to make the move to python.
I have taken a beginner class at a local community college and am now t..... More

Print this item

  Looping with Beautifulsoup
Posted by: CaptainCsaba - Jan-22-2019, 11:55 AM - Forum: Web Scraping & Web Development - Replies (8)

Hi!

This is my very first python script, I will probably make some noob mistakes and I apologise for that.
So I have a txt file that is full of URLS,..... More

Print this item

  How to Host a REST API that executes a PYTHON script on the WEB SERVER
Posted by: rahul4data - Jan-22-2019, 10:39 AM - Forum: Web Scraping & Web Development - Replies (4)

Hi Python Gurus,
I have Python installed on my machine.
I have created a python script my_python_script.py that executes locally.
Now, I am trying ..... More

Print this item

  class program no output under python 3.5.1
Posted by: jolinchewjb - Jan-22-2019, 09:43 AM - Forum: General Coding Help - Replies (1)

my python profram is as follows:
[python]
class logent(object):
def __init__(self, s):
self.line=s
self.info=s.split('',5)

def printli..... More

Print this item

  Help : Inserting records into MySQL workbench
Posted by: Aresden - Jan-22-2019, 06:36 AM - Forum: Homework - Replies (1)

Hi all, this is my first time and I am new here. With that being said, I have read the guidelines. First and foremost, this is a project homework rela..... More

Print this item

  How to work with json?
Posted by: manhsv - Jan-22-2019, 04:38 AM - Forum: Web Scraping & Web Development - Replies (2)

As I mentioned above, I want to simplify a json string. An example for more details: I have a json string:
[python]
{"name":"erik","name_sanitized":..... More

Print this item

  Help learning a concept
Posted by: Ccjake - Jan-22-2019, 01:20 AM - Forum: Homework - Replies (2)

I have this project I have to do by wednesday, (here are the instructions https://imgur.com/WAWpWdt), but I have no idea how to do this, could anyone ..... More


Attached Files

Thumbnail(s)
   
Print this item

  %d %m %y dont match my dates
Posted by: PythonSnake - Jan-22-2019, 12:55 AM - Forum: GUI - Replies (5)

Ive made a code and i need help i have python 3.4 and i made a game using a guide that said to use python 3.6 heres my code
it says that %d %m %y do..... More

Print this item

  Basic Dijkstras Implementation
Posted by: grandpapa10 - Jan-22-2019, 12:09 AM - Forum: Homework - Replies (7)

Hey there,


I m trying to run a code for a basic Dijkstra s Algo Implementation...
Unfortunately it s to no avail…
Whenever I try to run my code on t..... More

Print this item

  Turning Robot towards goal, comparison of angles
Posted by: SpaceTime - Jan-21-2019, 10:26 PM - Forum: General Coding Help - No Replies

Hey there,

I'm currently working on a project about navigating a robot to a goal point.

I use some basics from ROS but as the code is in python ..... More

Print this item

  instance of a class in different files
Posted by: DionisiO - Jan-21-2019, 08:53 PM - Forum: General Coding Help - Replies (2)

Hello All!

I'm new to Python Smile

Trying to understand how classes work around, i'm trying to use a method that is in another class from..... More

Print this item

  comparing two lists
Posted by: Siylo - Jan-21-2019, 07:20 PM - Forum: Homework - Replies (19)

I am trying to compare two lists. The first list is a constant of "correct answers". The second list is the "answers from a student". How would I chec..... More

Print this item

  UNable to install plivoxml module
Posted by: deepakdeshp - Jan-21-2019, 06:58 PM - Forum: Homework - Replies (1)

Hello,
I am trying to install plivoxml but no successful.
[python]sudo pip3 install plivoxml
The directory '/home/uma/.cache/pip/http' or its paren..... More

Print this item

  Parsing XML with lxml
Posted by: temic - Jan-21-2019, 06:07 PM - Forum: Homework - Replies (4)

Hello Smile ,
I need to parse XML file.
For example, my XML file looks like this:[python]
<root>
<child1 attr1="value1" attr2="value2"/>
<..... More

Print this item

  'str' object has no attribute 'getfo' (Paramiko)
Posted by: lateublegende - Jan-21-2019, 06:00 PM - Forum: General Coding Help - Replies (2)

Hi, I use paramiko on python 3.7.1 for simple file manipulation between a Raspberry pi with SSH.
the connection work, I can open my file and I have no..... More

Print this item

  QMenu tearoff and questions
Posted by: kiteh - Jan-21-2019, 05:44 PM - Forum: GUI - No Replies

Hi all, I am just starting out in the use of PyQt and already I am having some issues and questions about QMenu. Hoping someone could shed share light..... More

Print this item

  How to schedule independent processes
Posted by: vaeVictis - Jan-21-2019, 05:40 PM - Forum: Web Scraping & Web Development - Replies (5)

Hi all.

I'm coding a little routine whose job I am going to explain in a very simplified fashion.

I have a list of "hours" and "tags", on a txt ..... More

Print this item

  why is this not filling my empty list?
Posted by: Siylo - Jan-21-2019, 05:03 PM - Forum: Homework - Replies (4)

Could someone tell me why this isn't filling my empty list?
[python]
# creating empty list to read in file
responses = []

file = open("8..... More

Print this item

  How to turn screen output into clickable hyperlinks
Posted by: windros - Jan-21-2019, 04:47 PM - Forum: General Coding Help - Replies (5)

Hello, I am writing a program that will output a list of song titles. I want a user to be able to click a song title and then display the particular s..... More

Print this item

  Matplotlib is all messed up!
Posted by: 64humans - Jan-21-2019, 02:54 PM - Forum: General Coding Help - Replies (1)

Hi! I created a convex hull algorithm in c and it outputs all the points and the convex hull into datapoints.txt and convexhull.txt.
However, when I ..... More

Print this item

  Python Library to parse RAML 1.0
Posted by: sameekb - Jan-21-2019, 01:51 PM - Forum: General Coding Help - Replies (1)

Dear All,

Is anybody aware of a python library to parse RAML 1.0?

I found the below libraries in Github but they not fit for my use case.

[b]..... More

Print this item

  the fast way to cut image to half
Posted by: josh1 - Jan-21-2019, 01:48 PM - Forum: Data Science - Replies (1)

i need to cut my image and now i am using crop of numpy like that a[a.shape[0] // 2:a.shape[0], :] , there is a faster function or faster processing w..... More

Print this item

  datetime replace error
Posted by: kbrummert - Jan-21-2019, 12:33 PM - Forum: General Coding Help - Replies (2)

I'm trying to apply a pretty basic datetime replace for a datagrid field, but it's not recognizing 'day' for some reason....

[python]
# change to ..... More

Print this item

  petit problème python
Posted by: salahoum - Jan-21-2019, 11:14 AM - Forum: General Coding Help - Replies (1)

programme
[python]
def extraction_donnees(texte):
fichier = open(texte)
contenu = fichier.read()
fichier.close()

lignes = con..... More

Print this item

  please help me improve this minigame
Posted by: Naito - Jan-21-2019, 10:31 AM - Forum: Code sharing - Replies (7)

Hi, i made this minigame for learning purposes it works fine, but it's too long and i guess there are much more improvements i can make , i am a total..... More

Print this item

  Number within range
Posted by: MrGoat - Jan-21-2019, 09:15 AM - Forum: General Coding Help - Replies (4)

So, this was the question description I was given :

# 6.Write a Python function to check whether a number is in a given range.

Below is my code ..... More

Print this item

  Python unittest - running multiple tests from CSV file
Posted by: asheru93 - Jan-21-2019, 08:26 AM - Forum: General Coding Help - No Replies

[python]
class TestSuites(unittest.TestCase):

def completeTest(self):
pathCSV = r'pathToCSV\testCSV.csv'

with open(pathCSV..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  No new line from print in... Less than 1 minute ago Lou snippsat General Codin...
  Python is not working on ... 7 hours ago lary_p noisefloor General Codin...
  Help with Serial.write in... Today, 04:44 racingsubby Larz60+ General Codin...
  Can I develop a live vide... Yesterday, 04:48 mtrkhan mamta25 Web Scraping ...
  silent deployment Python ... 11-26, 21:58 Bummibaer Larz60+ News and Disc...
  Proposal for PEP 11-26, 15:53 matt Gribouillis News and Disc...
  My regex function is not ... 11-26, 08:47 Moltar1997 perfringo General Codin...
  best way to learn python 11-26, 04:40 dutch ichsanputr News and Disc...
  data fetching for indian ... 11-25, 02:50 drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... 11-24, 14:18 Ninja2112 deanhystad GUI
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
Most views
  The best Prog... 579457
  Tutorial Requ... 512607
  Web Scraping ... 442321
  Newbie with P... 386373
  New Users Int... 380659
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+ 12113
buran 8196
snippsat 7391
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
IFDA123 Today
TimTom420 Yesterday
cruisesfares Yesterday
SNR Yesterday
Jonathan Yesterday

User Panel Messages

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