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,941
» Latest member: Noya_Yonatan
» Forum threads: 38,722
» Forum posts: 175,508

Full Statistics

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

Latest Threads
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: Anunderling
3 hours ago
» Replies: 0
» Views: 61
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 04:28 PM
» Replies: 11
» Views: 4,316
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 753
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
Sep-19-2025, 12:30 PM
» Replies: 1
» Views: 3,622
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,096
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,602
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,428
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,619
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,555
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,720

 
  simulate static local varibles with getattr
Posted by: gjenkinslb - Feb-17-2018, 11:32 PM - Forum: Tutorials - Replies (3)

Just post YouTube video with how to use [font=Courier New, Courier, monospace]getattr builtin method to create function st..... More

Print this item

  Newbie ? Python 3 Input()
Posted by: jlgrunr - Feb-17-2018, 09:49 PM - Forum: General Coding Help - Replies (1)

I am running Ubuntu 17.10.1 and Python Python 3.6.3

When I use input() I get a traceback. I bumped into something on python.org and I have success ..... More

Print this item

  basic code help
Posted by: chche5 - Feb-17-2018, 09:22 PM - Forum: General Coding Help - Replies (4)

code:

name = input('enter name please: ')\
\
print('hello', name)

I'm using python 3 shell and I cant get it to work. I get an error..... More

Print this item

  Click on unusual class button using mechanize Ask Question
Posted by: Coto - Feb-17-2018, 07:34 PM - Forum: Web Scraping & Web Development - Replies (1)

So I've been trying to click this button using mechanize/anything else (except selenium - I don't want to use selenium due to it being GUI-based) but ..... More

Print this item

  How to test a function that is supposed to return NoneType?
Posted by: w0mb4rt - Feb-17-2018, 06:58 PM - Forum: General Coding Help - Replies (1)

Hey all. I'm working on an assignment from an intro to Python course on Coursera and I'm trying to check all my functions. I have a function, shown ..... More

Print this item

  Scaping (all) of a specific tag
Posted by: MattH - Feb-17-2018, 06:50 PM - Forum: Web Scraping & Web Development - Replies (1)

Most pages have multiple h2's for example.

I can manually add [0], [1] and [2] for example which is great - but what if a page had 20 h2's? How do ..... More

Print this item

  Python code not working
Posted by: noelaronc - Feb-17-2018, 06:46 PM - Forum: General Coding Help - Replies (2)

[python]def main():
print("Welcome to the rectangle calculator")
print()

# Calls//
input_rectangle1()
input_rectangle2()
a..... More

Print this item

  Learning Python, newbie question about strings and evaluation
Posted by: new_learner_999 - Feb-17-2018, 03:34 PM - Forum: General Coding Help - Replies (13)

Hi all,

I'm going through an online course to learn Python3. Am getting on fine but I seem interested in finding not simply a "correct" answer that..... More

Print this item

  Newbee - substing of column
Posted by: andrewjmdata - Feb-17-2018, 02:26 PM - Forum: General Coding Help - Replies (2)

Hi, I have a column in a dataframe/table called "LSOA Name". 1st issue is the field has a name in it. Referencing it as "df1['LSOA name']" seems to wo..... More

Print this item

  minimize with scipy.optimize
Posted by: tobenmoben - Feb-17-2018, 01:47 PM - Forum: Data Science - No Replies

Hi evrybody,

i have a noisy signal df.measdata and want to fit a model function in my measurement data. the model function is a sinus, whoms frequenc..... More

Print this item

  Combine nested lists in output
Posted by: python12345 - Feb-17-2018, 01:06 PM - Forum: Homework - Replies (2)

TASK:

rhList = [[4.276, 7.000], [4.000, 8.000], [3.771, 9.000], \
[4.443, 3.142], [3.142, 6.284], [2.565, 9.425], [2.221, 12.566]]
rhLi..... More

Print this item

  mkdir() help
Posted by: SteampunkMaverick12 - Feb-17-2018, 11:50 AM - Forum: General Coding Help - Replies (7)

I want to make a folder in a folder that the program is located in. The chdir() only works for computer-specific directories. any help?

Print this item

  Generic If Popup Exists Close It Script
Posted by: digitalmatic7 - Feb-17-2018, 09:32 AM - Forum: Web Scraping & Web Development - Replies (1)

Hey guys, I'm working on a small script that will check if there's more than 1 window (detect if there's a popup), and if it finds one it will switch ..... More

Print this item

  infinite JSON
Posted by: Skaperen - Feb-17-2018, 08:27 AM - Forum: General Coding Help - Replies (8)

i want to parse an infinite stream of JSON. i also want to generate an infinite stream of JSON. this will be sent and received over a TCP connection..... More

Print this item

  ByteArray outside while true
Posted by: Schampbakken - Feb-17-2018, 07:56 AM - Forum: General Coding Help - Replies (5)

Hello,

I have got a question.
I'm trying to define a bytearray outside an While: True loop

[python]
while True:
byte = bytearray(57) # Da..... More

Print this item

  Assignment help
Posted by: yoonash2930 - Feb-17-2018, 07:50 AM - Forum: Homework - Replies (1)

Hi guys just trying my luck here as i am having some trouble with my assignment. Any help is appreciated thank you!

In a class with n students where ..... More

Print this item

  TCG Pack Generator Program
Posted by: ThePastHappened - Feb-17-2018, 07:11 AM - Forum: Jobs - Replies (2)

Hello! First post here, as I have pretty much zero experience with Python. My name's Brooke.

I came here because I have a job request!
So, I've ma..... More

Print this item

  xtick vetical not working
Posted by: bmt - Feb-17-2018, 04:42 AM - Forum: Data Science - Replies (2)

Hi

I am new to pyhton. I wrote a script for time series plot with two y axis. In that script xtick vertical is not working. And I am getting only o..... More

Print this item

  My first Python scraping script not working...
Posted by: MattH - Feb-17-2018, 03:55 AM - Forum: Web Scraping & Web Development - Replies (11)

I'm learning Python and have a huge interest in bots and scraping.

I made the code below to extract the h1 text from a web page, but an error comes..... More

Print this item

  where is this documented?
Posted by: Skaperen - Feb-17-2018, 01:46 AM - Forum: News and Discussions - Replies (8)

the following code:

foo = {}.update(os.environ)
has a behavior that i have been unable to find documentation that describes (assu..... More

Print this item

  printing list of random generated rectangles
Posted by: Zatoichi - Feb-17-2018, 01:38 AM - Forum: Homework - Replies (8)

[python]
import random

class Rectangle:

def __init__(self, width, height):
self.width = width
self.height = height
..... More

Print this item

  I give up...Please help.
Posted by: high_existence - Feb-16-2018, 11:52 PM - Forum: Homework - Replies (4)

Hi fellows.

I just started to learn python but I am stuck with this problem.

I have to create a function:

def clip(lo, x, hi).

The functio..... More

Print this item

  What do you call this type of parameter?
Posted by: league55 - Feb-16-2018, 10:39 PM - Forum: General Coding Help - Replies (2)

In some code I've seen stuff like this:

def some_function(a -> int):
    #do something
I thought a -> int was called a decorat..... More

Print this item

  Load spatialite in Python 3.6 on Win10 failed
Posted by: RTFirefly - Feb-16-2018, 09:21 PM - Forum: General Coding Help - Replies (1)

Hello,

I’ve a problem with Python and sqlite/spatialite on Windows 10.

I’m writing a small Python module to interact with a spatialite databas..... More

Print this item

  Hello, I am thinking if in python - is there a "check for color under you" command???
Posted by: Ondrejoda - Feb-16-2018, 09:02 PM - Forum: General Coding Help - Replies (7)

Because I was tying to make a tron- like game... python

Print this item

  Thank you from a rookie with a question
Posted by: execsys - Feb-16-2018, 07:37 PM - Forum: General Coding Help - Replies (7)

Good afternoon folks :) I have a question that's going to require a fairly deep technical review but as I am new to python (2 weeks) and getting furth..... More

Print this item

  Making maths .py program faster
Posted by: Shutcois - Feb-16-2018, 05:22 PM - Forum: Homework - Replies (1)

Hello!

I just started learning python this week and i'm struggling with this program.

It's a program that gets one input, being a float with 2 d..... More

Print this item

  pip installing package using c++ boost in windows
Posted by: 6hearts - Feb-16-2018, 03:38 PM - Forum: General Coding Help - Replies (2)

I'm trying to install the dionysus package in windows.
I've installed Visual studio 2017 (to get the c++ compiler), I've installed boost and it works..... More

Print this item

  Help required to print MAC addresses
Posted by: anna - Feb-16-2018, 07:33 AM - Forum: General Coding Help - Replies (50)

Hi There,

I am getting below MAC details from telnet script, I am not able print in MAC address format, please help.


mac address | bpor..... More

Print this item

  Problems with not having exceptions crash my script
Posted by: league55 - Feb-16-2018, 06:38 AM - Forum: General Coding Help - Replies (7)

I wrote a decorator to avoid having exceptions crash my script and it's not working. Here's the wrapper:

helpers.py
[python]def try_wrapper(func):..... More

Print this item

  Question about dot notation syntax (Django source)
Posted by: Drone4four - Feb-16-2018, 12:58 AM - Forum: Web Scraping & Web Development - Replies (3)

In, “Password management in Django”, it explains t..... More

Print this item

  Writing Answers From Questionnaire to a new .txt Document
Posted by: FizzyBreak579 - Feb-16-2018, 12:16 AM - Forum: General Coding Help - Replies (4)

Hello I am trying to make a questionnaire, and I am trying to get the answers to be written into a .txt document. It was working until I added more co..... More

Print this item

  Mozilla Project Things open network
Posted by: Larz60+ - Feb-15-2018, 08:33 PM - Forum: News and Discussions - No Replies

Not specifically python related, but noteworthy:
..... More

Print this item

  args converter-help
Posted by: antonmichel - Feb-15-2018, 07:42 PM - Forum: GUI - No Replies

hey guys,

I am making a mobile app using kivy, but I cannot understand how the args converter works!, I want it to make my main list work. I read a..... More

Print this item

  Hey guys, help a newbie out with a list problem.
Posted by: sdezigner - Feb-15-2018, 04:41 PM - Forum: General Coding Help - Replies (2)

Hey all,

As the title suggests, I'm quite new to python and programming in general,(although I have some basic understanding and have played a bit ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Using a For Loop to subtr... 3 hours ago Anunderling Anunderling General Codin...
  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
Most views
  The best Prog... 576491
  Tutorial Requ... 498364
  Web Scraping ... 440380
  Newbie with P... 384274
  New Users Int... 367377
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
python 6
metulburr 6
NonEntity 6
buran 3
Newest members
Noya_Yonatan Today
Saipython555 Today
Anunderling Today
Monir Today
atylerfraces2254 Yesterday

User Panel Messages

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