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,968
» Latest member: Seu12Jorge
» Forum threads: 38,730
» Forum posts: 175,551

Full Statistics

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

Latest Threads
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: Pedroski55
1 hour ago
» Replies: 7
» Views: 353
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Yesterday, 06:39 PM
» Replies: 7
» Views: 2,794
My goal to be hired worki...
Forum: News and Discussions
Last Post: Larz60+
Sep-27-2025, 11:58 PM
» Replies: 1
» Views: 657
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,193
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 8,754
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
Sep-27-2025, 03:54 AM
» Replies: 3
» Views: 647
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,141
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,123
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,409
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
Sep-26-2025, 09:50 AM
» Replies: 1
» Views: 1,970

 
  How to deploy Django application on Apache2 server
Posted by: deepag - Jan-23-2019, 05:09 AM - Forum: Web Scraping & Web Development - No Replies

Hello,

I am trying to deploy my Django project on server[Ubuntu 18.04]. I referred this forum.
https://www.digitalocean.com/community/tutorials/..... More

Print this item

  Beginner python password program
Posted by: jakobscheffler - Jan-23-2019, 02:52 AM - Forum: General Coding Help - Replies (4)

[python]print('\n')

print('uPass 1.0')




menu = input('Create - Y, Enter N: ')

if menu == 'Y' or menu == 'y':

new_pass = input('En..... More

Print this item

  Recursive using Python
Posted by: karupython - Jan-22-2019, 09:35 PM - Forum: General Coding Help - Replies (1)

Need help in achieving below logic using python

I have a data in the table as below and need output as below

https://imgur.com/a/ppSRXeT

Print this item

  python
Posted by: salahoum - Jan-22-2019, 09:16 PM - Forum: General Coding Help - Replies (1)

I'm trying to read a csv file in python
but not just display it but from the manager as a table
I found a lot of video that read csv file but only f..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Comparing 2 100GB Drives/... 1 hour ago tester_V Pedroski55 General Codin...
  Select Python comment (#)... Yesterday, 18:39 SpongeB0B tester_V General Codin...
  My goal to be hired worki... 09-27, 23:58 GnomeSweetGnome Larz60+ News and Disc...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  Unable to resolve FileNot... 09-27, 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
Most views
  The best Prog... 577285
  Tutorial Requ... 500422
  Web Scraping ... 440963
  Newbie with P... 384993
  New Users Int... 369389
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 7369
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Seu12Jorge Yesterday
seomelbourneaustralia Yesterday
Jacobjoift Yesterday
zalexstolzeoz5360 Yesterday
Edzed4431 09-27

User Panel Messages

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