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,937
» Latest member: atylerfraces2254
» Forum threads: 38,721
» Forum posts: 175,507

Full Statistics

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

Latest Threads
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 04:28 PM
» Replies: 11
» Views: 4,190
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 656
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
Sep-19-2025, 12:30 PM
» Replies: 1
» Views: 3,563
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 988
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,499
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,328
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,532
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,492
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,642
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 1,206

 
  calling a class multiple times
Posted by: GOB - Feb-02-2018, 04:28 AM - Forum: General Coding Help - Replies (2)

Hello,

I am trying to make a loop that calls a class multiple times. It is to write text on an LED screen, and the text changes after each loop.

The..... More

Print this item

  News you can't (or perhaps you can) live without
Posted by: Larz60+ - Feb-02-2018, 04:16 AM - Forum: News and Discussions - No Replies

Last month, the 50th Known Mersenne Prime was found Found.
It contained 23,249,425 digits, and you can learn about it here: https://www.mersenne.org/..... More

Print this item

  byte string
Posted by: Skaperen - Feb-02-2018, 03:03 AM - Forum: General Coding Help - Replies (5)

i can do x=b'foo' then [y for y in x] gives me [102, 111, 111]. how can i reverse that so [inline]..... More

Print this item

  This project a little over my head, would love some help.
Posted by: michoff - Feb-02-2018, 03:00 AM - Forum: Homework - Replies (3)

Hello,

I have the following data:

CONST robtarget robttarget1:=[[-42277.480909368,-4997.36320197,2332.380745999],[0.347787091,-0.799426288,0.217080..... More

Print this item

  how to print out all the link <a> under each h2 section using beautifulsoup
Posted by: HenryJ - Feb-02-2018, 02:43 AM - Forum: Web Scraping & Web Development - Replies (2)

Hi all,

I am a newbie on Python, forgive me if my question sounds silly. So I am trying to print out all the <a> url under each h2 section.
The ht..... More

Print this item

  New to Python
Posted by: scarcefox8888 - Feb-02-2018, 01:30 AM - Forum: News and Discussions - Replies (1)

I'm new to Python, this Forum, and... coding in general.

What is the best version for python on a windows 10?
Do I need a syntax editor or any oth..... More

Print this item

  receive from a generator, send to a generator
Posted by: Skaperen - Feb-02-2018, 01:06 AM - Forum: General Coding Help - Replies (9)

i can receive a stream from some generator like:

    for thing in some_generator():
        ...
is there some equivalent..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  403 Error Yesterday, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  Scraping a page with log ... 09-19, 12:30 iamaghost Hershien Web Scraping ...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
Most views
  The best Prog... 576442
  Tutorial Requ... 498264
  Web Scraping ... 440344
  Newbie with P... 384225
  New Users Int... 367282
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+ 12087
buran 8175
snippsat 7368
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
atylerfraces2254 Yesterday
AdrianCocian Yesterday
humanoidAI Yesterday
Baran12332 09-19
Hershien 09-19

User Panel Messages

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