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,422
» Latest member: alexfox
» Forum threads: 38,829
» Forum posts: 176,075

Full Statistics

Online Users
There are currently 30 online users.
» 1 Member(s) | 26 Guest(s)
Bing, Google, Internet Archive, Pedroski55

Latest Threads
If I open a file write or...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 12:03 PM
» Replies: 3
» Views: 88
a function to watch files
Forum: News and Discussions
Last Post: Skaperen
Yesterday, 05:21 AM
» Replies: 3
» Views: 743
python re.finditer return...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 02:57 AM
» Replies: 8
» Views: 501
Exponential Number Conver...
Forum: General Coding Help
Last Post: DeaD_EyE
Jan-09-2026, 08:47 PM
» Replies: 4
» Views: 446
Possible bug found, pleas...
Forum: General Coding Help
Last Post: alexajames
Jan-08-2026, 04:31 PM
» Replies: 14
» Views: 800
How to put my game loop i...
Forum: Game Development
Last Post: MarkHenry
Jan-08-2026, 12:47 PM
» Replies: 12
» Views: 7,755
Code failing to ask input...
Forum: Homework
Last Post: perfringo
Jan-08-2026, 06:35 AM
» Replies: 4
» Views: 730
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: OtiliaGen
Jan-07-2026, 07:13 AM
» Replies: 6
» Views: 1,032
Data Science
Forum: Data Science
Last Post: OtiliaGen
Jan-04-2026, 10:20 AM
» Replies: 4
» Views: 3,619
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Jan-02-2026, 12:32 PM
» Replies: 29
» Views: 17,377

 
  argument and option scanning
Posted by: Skaperen - Nov-20-2017, 05:23 AM - Forum: News and Discussions - Replies (2)

i am nearly finished with a new script that has a lot of code dedicated to argument and option scanning.  i think i need to write my own option scanni..... More

Print this item

  Get name of instanciated class from class itself
Posted by: Larz60+ - Nov-20-2017, 03:05 AM - Forum: General Coding Help - Replies (7)

when I create an instance of a class,
I'm thinking that the new object is somewhere on the call stack,
during the instantiating process. Is it possi..... More

Print this item

  How to make pyinstaller import the ttk theme?
Posted by: royer14 - Nov-20-2017, 02:46 AM - Forum: GUI - Replies (6)

I have a project done and it is in the following:
[python]import tkinter as tk
from tkinter import ttk
import tkinter.messagebox as tmb
from ttkth..... More

Print this item

  Python 3 break statement
Posted by: kresh - Nov-19-2017, 09:28 PM - Forum: General Coding Help - Replies (5)

Hi everyone. I have some problem with BREAK in my code. I don't understand why the program does not stop after adding a new username to LIST. Sorry fo..... More

Print this item

  Getting top albums from last.fm
Posted by: ozzyk - Nov-19-2017, 06:23 PM - Forum: General Coding Help - Replies (1)

Im getting the top artists from a specific country from lastfm api. Im getting the name of each artist and store in the artists{} with success with:
..... More

Print this item

  Numerical Python Cluster?
Posted by: squirrel_s - Nov-19-2017, 02:30 PM - Forum: News and Discussions - No Replies

Hello!

I am a statistican. I want to found up a startup, which offers statistical computing and statistical consulting to customers.

Therefore, ..... More

Print this item

  [Selenium] Element Visible / Invisible | Delay - Best Settings?
Posted by: digitalmatic7 - Nov-19-2017, 01:02 PM - Forum: Web Scraping & Web Development - Replies (2)

I have this snippet of code that delays the script from moving forward until images are done uploading to a website.

[python]WebDriverWait(driver, 2..... More

Print this item

  Create a new list dynamically
Posted by: floatingshed - Nov-19-2017, 08:23 AM - Forum: General Coding Help - Replies (6)

I have a list of dicts. One of the values in the dict contains several words semi-colon separated which I would like to be the names of dynamically cr..... More

Print this item

  List in function
Posted by: thehimanshukeshri - Nov-19-2017, 07:45 AM - Forum: General Coding Help - Replies (1)

def f(x,l=):
for i in range(x):
l.append(i*i)
print(l)

f(2)
f(3,[3,2,1])
f(3)


[0, 1]
[3, 2, 1, 0, 1, 4]
#How this is possible?
[0, 1, ..... More

Print this item

  sha384
Posted by: Skaperen - Nov-19-2017, 06:08 AM - Forum: General Coding Help - Replies (8)

what module has the sha384 and sha512 functions?

Print this item

  Python 3.6.3 installation
Posted by: paragvijay - Nov-19-2017, 04:42 AM - Forum: General Coding Help - Replies (2)

Hi,
While installing Python on my Windows laptop, it gives an error -
"The TARGETDIR variable must be provided while invoking this installer"

Pl..... More

Print this item

  OSC python and puredata
Posted by: andrea0913 - Nov-19-2017, 04:14 AM - Forum: General Coding Help - Replies (1)

Hi, i'm trying to used OSC to communicate python with pureData, but i haven't found a godd library yet.

Can anyone please recommend me one? This w..... More

Print this item

  number of items per line
Posted by: kiki1113 - Nov-19-2017, 03:48 AM - Forum: Homework - Replies (3)

[quote] I've created a list of numbers. I need to print 10 numbers per line, so they're all lined up one underneath the other. I'm having trouble tr..... More

Print this item

  Lists Homework
Posted by: kekev1997 - Nov-19-2017, 03:00 AM - Forum: Homework - Replies (1)

Write a function named get_strings to ask the user for a series of strings and to return a list where each string is an item in the list. The user ind..... More

Print this item

  Need help with Web Parsing and Lists
Posted by: HiImNew - Nov-18-2017, 10:16 PM - Forum: Web Scraping & Web Development - Replies (2)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  Match two tables to select exactly matching items
Posted by: klllmmm - Nov-18-2017, 06:46 PM - Forum: Data Science - Replies (1)

I want to select the data from "table" that are exactly matched with the data in "criteria" dataframe.
[python]
import pandas as pd
table = pd.Data..... More

Print this item

  How to find the number of permutations of a list of lists?
Posted by: JoeB - Nov-18-2017, 05:18 PM - Forum: General Coding Help - Replies (5)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  Apple High Sierra problem(s)
Posted by: jamie - Nov-18-2017, 05:12 PM - Forum: News and Discussions - Replies (1)

A week ago I updated to High Sierra and encountered two (probably related) problems in a proven Python 3 program - a Sudoku solver using tkinter (TTK)..... More

Print this item

  Where is "switch" statement ? Do nobody needs it ?
Posted by: vlad1777d - Nov-18-2017, 12:25 PM - Forum: News and Discussions - Replies (17)

Hello.

I wonder that in Python there's absent "switch" statement.
And the most interesting - nobody asks about it, nobody discusses it.
Seems, it..... More

Print this item

  Discount on pre-order, new gamer cases
Posted by: Larz60+ - Nov-18-2017, 12:15 PM - Forum: News and Discussions - No Replies

EVGA has new cases available for pre-order: https://www.evga.com/newsletter/ENL_2017-11-16/

There's supposed to be a discount code associated with ..... More

Print this item

  upgrading python package
Posted by: amka - Nov-18-2017, 09:19 AM - Forum: General Coding Help - Replies (5)

Hi,

I am new in python and I need please help. I use the python ezdxf package (ezdxf.readthedocs.io), I have installed the 0.8.1 version on my debi..... More

Print this item

  things i want that probably mean code to write
Posted by: Skaperen - Nov-18-2017, 08:38 AM - Forum: News and Discussions - Replies (2)

i want a print()-like function that modifies most non-printable characters (exceptions would include common output formatting characters like newline)..... More

Print this item

  how to solve this problem. IndexError: axis 2 out of bounds [0, 2)
Posted by: bedio - Nov-18-2017, 06:43 AM - Forum: Homework - Replies (10)

hello, i am trying to use the pydlssvm code found on internet but i still getting error on the test_camera file i can not make a real tracking.

ac..... More

Print this item

  Clock Program
Posted by: AnjyilLee - Nov-18-2017, 05:12 AM - Forum: Homework - Replies (3)

For my current assignment, I had to make a clock program:

[python]class clock():
import Tkinter as tk
import time

def update_time..... More

Print this item

  The python DOT org cert problem and a new Firefox
Posted by: Skaperen - Nov-18-2017, 05:09 AM - Forum: News and Discussions - Replies (12)

i got a new version of Firefox with my weekly upgrade today (which made it take several minutes, so i knew something big came in) and so i tried it on..... More

Print this item

  How To Modify This Code??
Posted by: digitalmatic7 - Nov-18-2017, 02:38 AM - Forum: General Coding Help - Replies (6)

for img_scan in os.listdir('./test_folder'):
    if img_scan.endswith('.jpg'):
        print(str(img_scan))
The code scans for ...... More

Print this item

  play audio tone of specific frequency
Posted by: insearchofanswers87 - Nov-17-2017, 08:54 PM - Forum: General Coding Help - Replies (3)

Does anyone know of a simple cross-platform Python 3 way to play an audio tone of a specific frequency?

I am developing a sorting animation to help..... More

Print this item

  Sniffer calls on MAC
Posted by: georgelza - Nov-17-2017, 01:15 PM - Forum: Networking - Replies (2)

Hi all

Created the sniffing program available via people like Bucky Roberts etc on MAC, it just sits there, no errors, copied same code to Raspberr..... More

Print this item

  Python - Why multi threads are not working in this web crawler?
Posted by: ratanbhushan - Nov-17-2017, 12:30 PM - Forum: Web Scraping & Web Development - Replies (1)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  How to do multithrading of a simple function?
Posted by: ratanbhushan - Nov-17-2017, 09:43 AM - Forum: General Coding Help - Replies (1)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  How to give variables to a list?
Posted by: HiImNew - Nov-17-2017, 05:31 AM - Forum: Web Scraping & Web Development - Replies (3)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  Functions to remove vowels and extra blanks
Posted by: RiceGum - Nov-17-2017, 03:56 AM - Forum: Homework - Replies (10)

Example A:
Input:

Um cidadão ficou sem paciência ao esperar nas Finanças.

O âmbito do atentado foi grande. Ouve 56 vítimas. Que horror!

O co..... More

Print this item

  Starting to learn python on a Mac
Posted by: asifhoss - Nov-17-2017, 12:50 AM - Forum: General Coding Help - Replies (8)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  Software Engineer (Python/Django) needed in Sydney, Australia
Posted by: mathspace - Nov-17-2017, 12:44 AM - Forum: Jobs - Replies (1)

Join us in sunny Sydney, Australia! Work visa can be provided. We're looking for people who have strong Python skills and experience building complex ..... More

Print this item

  readline() and readlines()
Posted by: rpaskudniak - Nov-17-2017, 12:35 AM - Forum: General Coding Help - Replies (9)

Greetings.

This is my first thread on this forum. I am learning Python from a book named "Learn to Program Using Python" (I am a VERY experienced p..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  If I open a file write or... Yesterday, 12:03 Pedroski55 noisefloor General Codin...
  a function to watch files Yesterday, 05:21 Skaperen Skaperen News and Disc...
  python re.finditer return... Yesterday, 02:57 arbiel Pedroski55 General Codin...
  Exponential Number Conver... 01-09, 20:47 Tuurbo46 DeaD_EyE General Codin...
  Possible bug found, pleas... 01-08, 16:31 Hassher alexajames General Codin...
  How to put my game loop i... 01-08, 12:47 temlotresid6 MarkHenry Game Developm...
  Code failing to ask input... 01-08, 06:35 Phoenix_Narukami perfringo Homework
  sorting a lisr of file pa... 01-07, 07:13 Skaperen OtiliaGen News and Disc...
  Data Science 01-04, 10:20 Oshadha OtiliaGen Data Science
  Merge video with subtitle... 01-02, 12:32 Pavel_47 OtiliaGen General Codin...
  Check if running from she... 01-01, 11:52 rjdegraff42 noisefloor General Codin...
Most views
  The best Prog... 580739
  Tutorial Requ... 522245
  Web Scraping ... 442912
  New Users Int... 388112
  Newbie with P... 387134
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+ 12117
buran 8197
snippsat 7399
deanhystad 6921
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
alexfox Yesterday
zalexisshulzeo8879 Yesterday
SUMIATI Yesterday
starboy25 Yesterday
zabenjamitop8877 01-10

User Panel Messages

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