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,268
» Latest member: zaloganteaxd3586
» Forum threads: 38,788
» Forum posts: 175,856

Full Statistics

Online Users
There are currently 32 online users.
» 0 Member(s) | 30 Guest(s)
Bing, Google

Latest Threads
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: Tuurbo46
32 minutes ago
» Replies: 2
» Views: 90
PermissionError: [Errno 1...
Forum: GUI
Last Post: Tuurbo46
51 minutes ago
» Replies: 2
» Views: 90
i need help pls
Forum: Game Development
Last Post: zaloganteaxd3586
2 hours ago
» Replies: 3
» Views: 6,903
Access keys and values fr...
Forum: General Coding Help
Last Post: buran
Yesterday, 07:01 PM
» Replies: 3
» Views: 102
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Nov-15-2025, 04:07 PM
» Replies: 2
» Views: 137
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Nov-15-2025, 01:00 PM
» Replies: 5
» Views: 336
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 58
PyQt6 QWidgets and system...
Forum: GUI
Last Post: stevecoh1
Nov-14-2025, 06:38 PM
» Replies: 0
» Views: 90
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 323
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
Nov-14-2025, 03:33 PM
» Replies: 3
» Views: 178

 
  Get inteface information
Posted by: tcpip - Feb-01-2018, 08:34 PM - Forum: Networking - Replies (1)

Hi all,

Im new in python and Im looking for a script to check how much traffic is going via an interface and only graba specific info.I need to cap..... More

Print this item

  Python 3.701b released yesterday--who should install it and who shouldn't?
Posted by: league55 - Feb-01-2018, 07:54 PM - Forum: News and Discussions - Replies (7)

I happen to have 3.701a installed, but, at my level of use, haven't noticed any differences from 3.6.x. Who whould install the new 3.7 beta and who sh..... More

Print this item

  Function
Posted by: AmanTripathi - Feb-01-2018, 07:05 PM - Forum: General Coding Help - Replies (2)

Code:

def h():
    print('hey')
print(h(),'hello')
Output:
Output:
hey None hello
Please someone explain me the o..... More

Print this item

  What's the meaning of this coding?
Posted by: xin2408 - Feb-01-2018, 06:03 PM - Forum: Homework - Replies (7)

What's the meaning of this code? Could someone please explain this to me? Thanks! Huh

[python]temp = input('Please enter a number:')
number =..... More

Print this item

  PyMODINIT_FUNC and gcc hidden visibility
Posted by: jock - Feb-01-2018, 03:47 PM - Forum: General Coding Help - No Replies

Hello all,

I have a question about an exernal module I'm writing. I'm following the official tutorial at this page: https://docs.python.org/3/extendi..... More

Print this item

  Making a calculator with just the + sign
Posted by: gerardmanken - Feb-01-2018, 03:05 PM - Forum: Homework - Replies (1)

Hey everyone! I just started programming in Python some weeks ago and I'm stuck with some homework.
We are asked to create a calculator which could ..... More

Print this item

  [split] How to write at a very specific position of a text file
Posted by: Lalit - Feb-01-2018, 11:31 AM - Forum: General Coding Help - Replies (1)

Hello Folks,
I need to write at a very specific position of a text file and then i have to delete the same content , i have to do it in one loop ,i a..... More

Print this item

  Multithread telnet not working Parallel
Posted by: anna - Feb-01-2018, 11:02 AM - Forum: Networking - Replies (7)

[python]#!/usr/bin/python
import threading
import sys
import os
import unidecode
import telnetlib
import time
import re
from time import sleep..... More

Print this item

  Draw two lines and show independently in one event
Posted by: haha001 - Feb-01-2018, 09:56 AM - Forum: GUI - Replies (4)

Hi, all,

If need display red line first, and wait 2 seconds, draw green line.
However, current program will wait and display two line at a time...... More

Print this item

  Python // C # - SOCKET connection is constantly interrupted
Posted by: raspberryPiBRA - Feb-01-2018, 09:53 AM - Forum: Networking - No Replies

Hello experts,


I'm new to the world of programming and I've already made a socket connection to C # on a Raspberry Pi (Python).

The software c..... More

Print this item

  Copy data from 1 blk device in machine A to another blk device in machine B
Posted by: AbhishekV - Feb-01-2018, 09:06 AM - Forum: Networking - Replies (2)

Eg:
copy data from /dev/sdc1 of Machine A and write to /dev/sdb1 of Machine B.
To achive this, i have written socket_client.py and socket_server.py..... More

Print this item

  My program subtracts fractions, but for some reason isn't simplifying them
Posted by: RedSkeleton007 - Feb-01-2018, 07:12 AM - Forum: General Coding Help - Replies (9)

I'm trying to grab numbers from a couple of short lists, turn them into fractions, subtract the fractions, and then simplify them:
[python]
#!/usr/b..... More

Print this item

  Help with infile questions
Posted by: Balakay97 - Feb-01-2018, 02:58 AM - Forum: Homework - Replies (3)

1. Write a function, countWords(ifile) which takes an input file, ifile, and counts the number of occurrences for each word in the file. You must remo..... More

Print this item

  Substracting number with a limit
Posted by: mrplow92 - Feb-01-2018, 02:52 AM - Forum: Homework - Replies (3)

Hello,
I'm new to this forum since I'm starting to use Python at school.

In one of my homework, I need to be able to substract a meter when it wil..... More

Print this item

  Rolling sum for a window of 2 days (Pandas)
Posted by: klllmmm - Feb-01-2018, 12:27 AM - Forum: Data Science - Replies (1)

I'm trying to calculate rolling sum for a winows of 2 days for the Income column considering client ID & Category column wise.
[python]
import panda..... More

Print this item

  popup login form in django
Posted by: uditvashisht - Jan-31-2018, 11:55 PM - Forum: Web Scraping & Web Development - No Replies

Can anyone help me in creating a popup login form with django.

Print this item

  Display middle character/s
Posted by: jmcatena91 - Jan-31-2018, 10:37 PM - Forum: Homework - Replies (2)

OK, so this time I have a question about how to find the middle character/s. My instructions tell me for middle characters is

a. This operation wi..... More

Print this item

  programmer for my project
Posted by: siliconvalleymusicbrokerscom - Jan-31-2018, 08:15 PM - Forum: Jobs - Replies (1)

Hello friends, what's upThumbs Up | :thumbsup:
This is me, I am looking for programmer to do a dream project, it is a personal thing, I thought it w..... More

Print this item

  Help basic terminal menu
Posted by: jmcatena91 - Jan-31-2018, 08:13 PM - Forum: Homework - Replies (2)

Basically I want to get to start and pick a number and it go to the function specified. I know I haven't added mc or ex function yet but I can add the..... More

Print this item

  Error in running MS Access Database connection code
Posted by: pyuser1 - Jan-31-2018, 07:43 PM - Forum: General Coding Help - Replies (4)

Hi,
I am a new Python programmer and I have question regarding database. I couldn’t find the “database” category, so I am posting here. I have 64-bi..... More

Print this item

  Unexpected output, not sure why
Posted by: Ixxxxxx - Jan-31-2018, 07:41 PM - Forum: General Coding Help - Replies (1)

I am a beginner and im trying to learn python for project with my brother.
Here is the code


[PYTHON]
""" so im learning python for a project ..... More

Print this item

  Get host from ip
Posted by: antmar904 - Jan-31-2018, 07:09 PM - Forum: General Coding Help - Replies (3)

Hi All,

First time post and first python script ever! :)

I am trying to create a python script that will have one argument passed to it:

pyth..... More

Print this item

  pyparsing pproblems
Posted by: standenman - Jan-31-2018, 06:47 PM - Forum: General Coding Help - Replies (2)

I am trying to parse the bookmarks from a document x.pdf


[python]>>> import pyparsing as pp
>>> import PyPDF2
>>> from PyPDF2 import PdfFileRea..... More

Print this item

  Visual effects in live video
Posted by: urielkiedis - Jan-31-2018, 05:31 PM - Forum: Homework - Replies (1)

I was trying to show a live video recording someone with a effect that shows, all the time, the silhouettes in different colors and the background in ..... More

Print this item

  zip() function does not work as expected
Posted by: AyCaramba - Jan-31-2018, 04:47 PM - Forum: General Coding Help - Replies (1)

This is my code for creating 2 lists, zipping them together, unzipping them and printout the unzipped lists.

[python]list1 = [1, 2, 3] # create 2 ..... More

Print this item

  random thread
Posted by: metulburr - Jan-31-2018, 04:32 PM - Forum: Board - Replies (3)

i added a plugin that selects a random thread. This more or less is mainly for boredom or just looking to come across new things in python for new use..... More

Print this item

  json with regex script snagging
Posted by: mepyyeti - Jan-31-2018, 03:45 PM - Forum: General Coding Help - Replies (6)

Hi -

I wrote a simple py script to basically act as a password json repository. Yes, I'm aware I could accomplish this is many different ways (even..... More

Print this item

  PyPDF2.PDFFileReader
Posted by: standenman - Jan-31-2018, 03:40 PM - Forum: General Coding Help - Replies (9)

I am trying to use PyPDF2 class PDFFileReader to extract text from the name of a Bookmark. I have used the GetOutlines() function and I get every boo..... More

Print this item

  Study Questions
Posted by: captainflint - Jan-31-2018, 03:09 PM - Forum: Homework - Replies (8)

Define a function unique_elem takes two strings str_1 and str_2 as inputs and prints
only the elements that occur in str_1 and not in str_2. Note: Yo..... More

Print this item

  Error message when running autostarted code
Posted by: Python4Mike - Jan-31-2018, 02:57 PM - Forum: General Coding Help - Replies (4)

I have created a python3 script for use on Raspberry pi 3 (approx. 300 lines of code), this program runs perfectly under the included Terminal utility..... More

Print this item

  Reportlab: PDF Processing with Python - Mike Driscoll's new project on Kickstarter
Posted by: buran - Jan-31-2018, 09:12 AM - Forum: News and Discussions - No Replies

Mike Driscoll, the well known author of several books:

  • Python 101
  • Python 201: Intermediate Python
  • wxPython Cookbook (a.k.a wxPytho..... More

Print this item

  Printing Dictionaries
Posted by: Bladesodoom1895 - Jan-31-2018, 07:59 AM - Forum: General Coding Help - Replies (1)

Is this code doing what it is supposed to do?

[python]
alien_0 = {}

alien_0['color'] = 'green'
alien_0['points'] = 5

print(alien_0)
[/pyth..... More

Print this item

  argument parser: to execute single function, and subsequent functions also
Posted by: raghu - Jan-31-2018, 07:12 AM - Forum: General Coding Help - Replies (10)

Do we have any options in argument parser or any other way for continuing the execution from that respective position till the end of the code, on pro..... More

Print this item

  2D list creation
Posted by: garikhgh0 - Jan-31-2018, 06:57 AM - Forum: General Coding Help - Replies (2)

Hello. How can be created a 2D list in a loop starting from 1 to 9:
[[1,2,3],
[4,5,6],
[7,8,9]]
Thanks beforehand.

Print this item

  Name Error
Posted by: atik666 - Jan-31-2018, 06:52 AM - Forum: Homework - Replies (1)

I am getting Name Error every time I am trying to execute a program.
My code and everything is right though.
Name Error: Name 'b' is not defined

..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Graph Interpolate Difficu... 32 minutes ago Tuurbo46 Tuurbo46 General Codin...
  PermissionError: [Errno 1... 51 minutes ago Tuurbo46 Tuurbo46 GUI
  [PyGame] i need help pls 2 hours ago augusto_A zaloganteaxd3586 Game Developm...
  Access keys and values fr... Yesterday, 19:01 Winfried buran General Codin...
  How to make ball stay wit... 11-15, 16:07 nathanael deanhystad General Codin...
  sorting a lisr of file pa... 11-15, 13:00 Skaperen DeaD_EyE News and Disc...
  conditional nested loops 11-14, 23:31 Skaperen Skaperen News and Disc...
  PyQt6 QWidgets and system... 11-14, 18:38 stevecoh1 stevecoh1 GUI
  [solved] re.split issue 11-14, 18:02 paul18fr deanhystad General Codin...
  Please guide me to comple... 11-14, 15:33 pbkurd Larz60+ General Codin...
  New to python and coding 11-13, 19:58 lary_p jefsummers Homework
Most views
  The best Prog... 579048
  Tutorial Requ... 511059
  Web Scraping ... 442048
  Newbie with P... 386098
  New Users Int... 378265
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+ 12108
buran 8196
snippsat 7389
deanhystad 6913
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
zaloganteaxd3586 Today
ViktoriaMetodieva Today
tlandr02 Yesterday
Rerus3700 Yesterday
pas88 Yesterday

User Panel Messages

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