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,273
» Latest member: Astrobert
» Forum threads: 38,788
» Forum posts: 175,860

Full Statistics

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

Latest Threads
link variable to exc bloc...
Forum: General Coding Help
Last Post: Astrobert
36 minutes ago
» Replies: 0
» Views: 16
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
2 hours ago
» Replies: 2
» Views: 130
best way to learn python
Forum: News and Discussions
Last Post: mamta25
5 hours ago
» Replies: 5
» Views: 3,061
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 10:27 PM
» Replies: 3
» Views: 186
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
Yesterday, 11:47 AM
» Replies: 4
» Views: 173
PermissionError: [Errno 1...
Forum: GUI
Last Post: Tuurbo46
Yesterday, 08:44 AM
» Replies: 2
» Views: 132
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Nov-15-2025, 04:07 PM
» Replies: 2
» Views: 178
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Nov-15-2025, 01:00 PM
» Replies: 5
» Views: 354
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 73
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 376

 
  Randomly changing numbers
Posted by: NicoConti - Mar-26-2018, 11:30 AM - Forum: General Coding Help - Replies (4)

Hello, this is my first post here. I come from an art background and am an extremely interesting in intersecting both art and programming.
I am curr..... More

Print this item

  a __class__ syntax error
Posted by: aaron1989041 - Mar-26-2018, 09:16 AM - Forum: General Coding Help - Replies (1)

I'm learning the __class__ property,but when I try to execute code below,a syntax error raises:
print(1.__class__)
from my opinion,in python,ever..... More

Print this item

  How to used the edge detection in opencv python to return number of edge?
Posted by: Vivian - Mar-26-2018, 05:12 AM - Forum: Homework - Replies (2)

Hi I have the following picture, how to use edge detection to return the result which is equal to 4?[Image: zDRxA.jpg]

Print this item

  decorators within decorators
Posted by: mp3909 - Mar-26-2018, 04:57 AM - Forum: General Coding Help - Replies (6)

I am trying to build decorators within decorators.
I thought I take the example I have discussed previously.
I have a function that multiplies x and..... More

Print this item

  iincomplete terators
Posted by: Skaperen - Mar-26-2018, 03:08 AM - Forum: General Coding Help - Replies (7)

i would like to iterate over an iterator and then deal with it (the iterator itself), such as return it, in its incomplete (not iterated all the way) ..... More

Print this item

  IndexError: tuple index out of range
Posted by: Truman - Mar-25-2018, 10:57 PM - Forum: General Coding Help - Replies (5)

[python]
tp=(1,2,3,4,5,6,7,8,9,10)
for i in tp:
lt = []
if tp[i]%2 == 0:
lt.append(tp[i])
else:
pass
tp2 = tuple(lt)..... More

Print this item

  execute function at a certain time
Posted by: StevenLewis - Mar-25-2018, 08:41 PM - Forum: General Coding Help - No Replies

Hi guys
I'm new at Python and programming, so I found myself with difficulties at it.
As I wrote in the subject, I'm trying to run a function at a c..... More

Print this item

  Questions abou Web-scraping part-2 Tutorial
Posted by: ljmetzger - Mar-25-2018, 07:24 PM - Forum: Web Scraping & Web Development - Replies (2)

Thank you for an excellent tutorial.

I had to make two changes to make the Selenium (How Secure is Your Password?) example at the bottom of the tut..... More

Print this item

  Looping and naming multiple files
Posted by: revo - Mar-25-2018, 05:00 PM - Forum: Web Scraping & Web Development - Replies (4)

Hi Big Grin

I'm writing to see if you guys can help me take my code to the next level.

As it is now it takes a list of urls from a CSV fi..... More

Print this item

  School python program task help
Posted by: TommyLee - Mar-25-2018, 01:54 PM - Forum: Homework - Replies (3)

Hi all.

My daugther has Python proggraming task for homework. It might be simple, but since she was ill at time when they learned about that , she ..... More

Print this item

  Hashing big files
Posted by: wavic - Mar-25-2018, 12:24 PM - Forum: News and Discussions - Replies (8)

I have to hash big files and even with fast algorithms, it takes a lot of time. Regular hdd, not ssd storages. I've tried the usual way but it is slow..... More

Print this item

  elif and if
Posted by: jlgeter2002 - Mar-25-2018, 12:20 PM - Forum: General Coding Help - Replies (4)

this code works fine except the last elif

elif age >= '100' and name != 'Alice':
print('you are not alice grannie')
If I enter any value be..... More

Print this item

  python age calculator need to find the number of years before they turn 100 not using
Posted by: orangevalley - Mar-25-2018, 09:10 AM - Forum: Homework - Replies (4)

[font=Times New Roman, Times, serif]
I am new at python and i'm trying to teach myself the best way i can. So i will make noob mistakes. I was wonderi..... More

Print this item

  Tkinter Font Color
Posted by: notsolowki - Mar-25-2018, 07:22 AM - Forum: GUI - Replies (11)

im very very new to python and im trying to change the font color of a very basic tkinter gui. what the script does is read a text file and display it..... More

Print this item

  Multiple Windows
Posted by: jarrod0987 - Mar-25-2018, 03:50 AM - Forum: General Coding Help - No Replies

If I wish to be able to run 2 different python scripts at the same time in 2 different windows, can I do this?
Also, is there a way to run a script o..... More

Print this item

  mro
Posted by: Skaperen - Mar-25-2018, 12:50 AM - Forum: News and Discussions - Replies (4)

what do the initials "mro" mean in the class attribute .__mro__? i'll make a guess and say that "m" means "[u]multi[/u..... More

Print this item

  Recurse through n-dimensional array
Posted by: ColdDeath - Mar-24-2018, 11:18 PM - Forum: Data Science - Replies (2)

Hi all,

I'm learning the basics of Python (and programming). I'm aware that Numpy exists and I eventually will (have to) use it, but I don't want to ..... More

Print this item

  Download from youtube
Posted by: antonbison - Mar-24-2018, 09:47 PM - Forum: General Coding Help - Replies (7)

Hello!
I am trying to download video from youtube from.... to

But my attempt does not work

[python]import pytube
link = "https://www.youtube.com/wat..... More

Print this item

  Community Project: Python Arcade Collab
Posted by: Mekire - Mar-24-2018, 09:29 PM - Forum: Game Development - Replies (3)

2-ish years ago we had a pretty successful group project here called pyrollers where users wrote casino style games:
https://github.com/iminurnamez..... More

Print this item

  urllib request urlopen?
Posted by: nutgut - Mar-24-2018, 07:30 PM - Forum: Web Scraping & Web Development - Replies (4)

Hi,

I have build a small program with Python3. I'm using urllib.request.urlopen() to download csv files from an open API.
I save the files with fi..... More

Print this item

  Simple newbie Q
Posted by: Darkish - Mar-24-2018, 07:04 PM - Forum: Web Scraping & Web Development - Replies (4)

I'm new to python so hope this is really simple.

import bs4 as bs
import urllib .request

saurce = urllib .request.urlopen("https://www.premierl..... More

Print this item

  Bytearray questions
Posted by: mattps - Mar-24-2018, 06:02 PM - Forum: General Coding Help - Replies (2)

Hi,

I am currently neck deep in my first Raspberry Pi/NFC project and need some advice with a Python bytearray. When reading the contents of a Clas..... More

Print this item

  Wifi.Scan
Posted by: thenewguy - Mar-24-2018, 05:59 PM - Forum: General Coding Help - No Replies

Hello Forum World!

I am trying to get the hang of the Python language and am having some difficulties.

I am attempting to try to connect to a gi..... More

Print this item

  CSV file into a python list is not completely imported
Posted by: socertis - Mar-24-2018, 05:36 PM - Forum: Data Science - Replies (4)

i want to read a csv file into a python list. sometimes, it produces an

Error:
IOError: [Errno 0]
i have searched a lot and tried to use fl..... More

Print this item

  multi-processing
Posted by: dR_Garuby - Mar-24-2018, 03:32 PM - Forum: General Coding Help - Replies (1)

I've created a GUI with tkinter where you can enter 5 inputs and send them whenever you want by pressing a button. Now I want to give a limit of time ..... More

Print this item

  submit element from a list into a post request
Posted by: Godzilla - Mar-24-2018, 02:35 PM - Forum: Web Scraping & Web Development - No Replies

Hello everybody,

I'm a Python beginner and I have no idea on how to solve this problem

I create a variable called list_id with several customer ..... More

Print this item

  A toy for my son
Posted by: RailRoaded - Mar-24-2018, 02:32 PM - Forum: Game Development - Replies (4)

So first a little bit of backgroud on me, Im pretty good with hardware, breadboards, and laying out circuits. I have not done much coding at all since..... More

Print this item

  Use of Python in field of cyber Security and Ethical Hacking
Posted by: sumandas89 - Mar-24-2018, 12:28 PM - Forum: News and Discussions - Replies (7)

I maintain cyber security of a small organization. I want to know How can I use python in the field of cyber security? like preventing hackers from ac..... More

Print this item

  PDf reader
Posted by: jorgelameira - Mar-24-2018, 10:38 AM - Forum: General Coding Help - Replies (2)

Hello,
I'm doing a master thesis in Finance so I decided to learn python in order to make things simpler.
I have learned the basics but my questio..... More

Print this item

  trying to get MPG to output as float
Posted by: tetoronga - Mar-24-2018, 09:58 AM - Forum: Homework - Replies (2)

[python]starting = raw_input ("Please enter the starting l/100km:")
ending = raw_input ("Please enter the ending l/100km:")
starting = int (starting..... More

Print this item

  code wanted: file splicing
Posted by: Skaperen - Mar-24-2018, 05:17 AM - Forum: Bar - Replies (10)

i often need a command to take particular columns of different files and combine them. for example i just needed to take columns 1-19 of file A and c..... More

Print this item

  code wanted: finding absent characters
Posted by: Skaperen - Mar-24-2018, 04:56 AM - Forum: General Coding Help - Replies (2)

i have a set of files. references to directories mean all files in the subtree that directory is the top of. references to files mean just that file..... More

Print this item

  elegant code
Posted by: Skaperen - Mar-24-2018, 03:10 AM - Forum: Bar - Replies (7)

what is it that make code elegant?

Print this item

  pypyodbc accdb extract ole object (picturedata)
Posted by: dusca - Mar-24-2018, 03:07 AM - Forum: General Coding Help - No Replies

Hello,

I have a accdb database and I use python and pypyodbc to connect.

I can extract all data except images. PictureData in bytearray? OLE obj..... More

Print this item

  Write a program to compute the sum of the terms of the series: 4 - 8 + 12 - 16 + 20 -
Posted by: chewey777 - Mar-24-2018, 12:39 AM - Forum: Homework - No Replies

#Write a program to compute the sum of the terms of the series: 4 - 8 + 12 - 16 + 20 -
24 + 28 - 32 + .... +/- n, where n is an input. Consider that ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  link variable to exc bloc... 36 minutes ago Astrobert Astrobert General Codin...
  PyQt6 QWidgets and system... 2 hours ago stevecoh1 Axel_Erfurt GUI
  best way to learn python 5 hours ago dutch mamta25 News and Disc...
  Graph Interpolate Difficu... Yesterday, 22:27 Tuurbo46 deanhystad General Codin...
  [SOLVED] Access keys and ... Yesterday, 11:47 Winfried Winfried General Codin...
  PermissionError: [Errno 1... Yesterday, 08:44 Tuurbo46 Tuurbo46 GUI
  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...
  [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...
Most views
  The best Prog... 579117
  Tutorial Requ... 511377
  Web Scraping ... 442078
  Newbie with P... 386143
  New Users Int... 378529
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 6915
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Astrobert Today
DataScientist071 Today
aminrony1999 Yesterday
fobby888 Yesterday
digitalboy346 Yesterday

User Panel Messages

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