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,956
» Latest member: crownarmstrong
» Forum threads: 38,727
» Forum posts: 175,527

Full Statistics

Online Users
There are currently 47 online users.
» 1 Member(s) | 41 Guest(s)
Bing, Google, AOL, Mojeek, AOL, crownarmstrong

Latest Threads
extracting data from a us...
Forum: General Coding Help
Last Post: DeaD_EyE
5 hours ago
» Replies: 2
» Views: 110
how to export a dictionar...
Forum: GUI
Last Post: Pedroski55
Today, 03:45 AM
» Replies: 3
» Views: 168
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
Today, 01:04 AM
» Replies: 0
» Views: 356
pip install requests does...
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 02:48 PM
» Replies: 10
» Views: 29,408
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
Sep-23-2025, 12:00 PM
» Replies: 4
» Views: 9,411
IBKR Purchasing code issu...
Forum: General Coding Help
Last Post: compuman145
Sep-23-2025, 09:08 AM
» Replies: 0
» Views: 293
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
Sep-23-2025, 03:29 AM
» Replies: 2
» Views: 742
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
Sep-22-2025, 08:56 PM
» Replies: 9
» Views: 947
403 error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 5,204
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 1,409

 
  Printing a new python list
Posted by: abdallah786 - Aug-16-2018, 01:04 PM - Forum: General Coding Help - Replies (3)

list = 100
if list > 99:
print(list=list(range(100,500))



why wont this work? can you help fix this?

Print this item

  Counting number of characters in a string
Posted by: Drone4four - Aug-16-2018, 12:52 PM - Forum: General Coding Help - Replies (1)

I’m trying to count the number of words that exist in the last line of a small text file.

Here is my text file:[quote]Welcome to your First Tribula..... More

Print this item

  Convert Column To Time
Posted by: Talch - Aug-16-2018, 11:46 AM - Forum: General Coding Help - Replies (1)

Hi All,

Am a newbie in python looking for some help.

I have imported a csv with my data and one of the columns has a date time stamp. As a dataf..... More

Print this item

  Unique Count
Posted by: Talch - Aug-16-2018, 11:15 AM - Forum: Homework - No Replies

Good afternoon All,

A bit of a newbie in python, so looking for a bit of help with a unique count problem.

I am using the following code on a da..... More

Print this item

  fail to upgrade pygobject
Posted by: jiapei100 - Aug-16-2018, 10:32 AM - Forum: General Coding Help - No Replies

Failed to update pygobject , with the following ERROR message:

[error]Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/p..... More

Print this item

  I think this is a problem with returning? maby?
Posted by: TheNumericDolfin - Aug-16-2018, 10:21 AM - Forum: General Coding Help - Replies (8)

[python]
import Button
import Menues
import pygame
import sys
from pygame.locals import *
x = 0
y = 30
import os
os.environ['SDL_VIDEO_WINDOW..... More

Print this item

  lists in list
Posted by: kubine - Aug-16-2018, 10:12 AM - Forum: General Coding Help - Replies (1)

hi I make a list in list and append in [0] index a value. but it appends in all index. can andybody know why?
code:
[python]matrix=[[1]]*3
print(ma..... More

Print this item

  Videogrep .VTT problem win Windows 10
Posted by: MM2018 - Aug-16-2018, 10:09 AM - Forum: Bar - Replies (1)

https://github.com/antiboredom/videogrep
I am using Win10, python 3.70, everything installed fine, but I got this, problem.
already .srt or .vtt sub..... More

Print this item

  compiling python using pyinstaller
Posted by: sabeesh90 - Aug-16-2018, 09:58 AM - Forum: General Coding Help - No Replies

hi. I have written a code to create a GUI to print barcodes. but when I try compiling it on the command prompt using pyinstaller I get this error. ple..... More

Print this item

  string to date time- suggestion required
Posted by: anna - Aug-16-2018, 09:42 AM - Forum: General Coding Help - Replies (4)

Hi All,

I am getting time as in this format '20180801194918.0', I want convert this to date time format.

below in the my code, but need suggesti..... More

Print this item

  under water pool lights
Posted by: Skaperen - Aug-16-2018, 06:57 AM - Forum: Bar - Replies (3)

i bought 3 of these LED multi color remote control pool lights to use on my brother's pool. the lights he has now are under water. do i have to drai..... More

Print this item

  converting int to any base
Posted by: Skaperen - Aug-16-2018, 05:28 AM - Forum: General Coding Help - Replies (3)

i would like to know in there is a way to convert an int to a string of digit, with a specified minimum width and a specified leading character (if th..... More

Print this item

  how to print UTF-8
Posted by: Skaperen - Aug-16-2018, 04:51 AM - Forum: General Coding Help - Replies (5)

my string is already in UTF-8 form. that is, 1 to 6 byte codes (octets) in sequence per character and the codes are in range(256) (could have been in..... More

Print this item

  Split string
Posted by: hext01 - Aug-16-2018, 03:29 AM - Forum: Data Science - Replies (3)

Hello! First post!

I'm super new to python and I'm having the hardest time trying to split this below output:

I want:

Label Date Value Close..... More

Print this item

  Printing lines in a basic text file
Posted by: Drone4four - Aug-16-2018, 12:08 AM - Forum: General Coding Help - Replies (6)

I’ve got a basic text file. I am trying to print the 5th line (total 7 lines).

Here is my text file:
[quote]Welcome to your First Tribulation Rec..... More

Print this item

  Python version 2
Posted by: Skaperen - Aug-15-2018, 11:36 PM - Forum: Bar - No Replies

i am sooo ready for the day i can tell people that Python2 is End Of Life. soon, but not soon enough.

Print this item

  Make one thing act like another
Posted by: Zman350x - Aug-15-2018, 11:24 PM - Forum: General Coding Help - Replies (2)

I have a long list of 750 single digit numbers.

WorldList = [0,0,3,7,3,2...]
I use the variable valIndex plus a number to call ..... More

Print this item

  variable args + named options
Posted by: Skaperen - Aug-15-2018, 11:14 PM - Forum: News and Discussions - No Replies

def foo(*varargs,bar=256):
    ...
    ...
    return bar
this is OK in Python3 but not in Python2. apparently, Python2 requir..... More

Print this item

  Intro to Python for Data Science with Datacamp
Posted by: Sabrusura - Aug-15-2018, 10:55 PM - Forum: Homework - Replies (4)

Hi all,

I am currently following the course Intro to Python for Data Science with Datacamp.com. It is pretty challenging for me as someone who does..... More

Print this item

  function to handle exception errors
Posted by: atlass218 - Aug-15-2018, 10:20 PM - Forum: GUI - Replies (5)

Hello;
I created an application with "TKINTER" which works well today according to my weak knowledge since I am a beginner with the PYTHON language ..... More

Print this item

  go_to() missing 1 required positional argument: 'url'
Posted by: HMAeymo - Aug-15-2018, 07:55 PM - Forum: General Coding Help - Replies (1)

[img]https://scontent.ffjr1-1.fna.fbcdn.net/v/t1.0-9/39193552_525328034562351_519385636281516032_n.jpg?_nc_fx=ffjr1-1&_nc_cat=0&oh=55b8766b3adabf28769..... More

Print this item

  Help with GUI and MVC pattern
Posted by: giu88 - Aug-15-2018, 07:40 PM - Forum: GUI - Replies (1)

Hello,

I need some help understanding the MVC pattern, i am using python. As i understood by reading around, there are two ways to implement this. ..... More

Print this item

  Protecting Python
Posted by: Anysja - Aug-15-2018, 05:39 PM - Forum: General Coding Help - Replies (6)

How do you all go about protecting your python programs? If I were to send an executable to someone, how do you prevent them from redistributing it to..... More

Print this item

  Help creating a class instance dynamically
Posted by: Kotevski - Aug-15-2018, 05:09 PM - Forum: General Coding Help - Replies (9)

Hey folks,

I've been trying to dump the contents of my google drive sheet into class instances. My understanding of classes and object oriented pro..... More

Print this item

  Mission Impossible : New to Python and 3 days to do theses exercises
Posted by: Kangaaxx - Aug-15-2018, 03:52 PM - Forum: Homework - Replies (6)

Hi started to learn Python yesterday( never coding before, this is for a professional reconversion).
I am currently learning on "Codecademy" and i ha..... More

Print this item

  class has no idea what i am talking about, and i have no idea how to give it the info
Posted by: TheNumericDolfin - Aug-15-2018, 03:40 PM - Forum: Game Development - Replies (3)

i have two py files. her they are:

[python]import pygame


class button:
def __init__(self):
pygame.draw.rect(screen, 10, 10, 10, ..... More

Print this item

  GUI for cx_freeze
Posted by: Axel_Erfurt - Aug-15-2018, 03:31 PM - Forum: Code sharing - No Replies

Made for Linux.
On other OS you need to change some paths and "xdg-open" (Line 160) to the right command.

[img]https://user-images.githubuserconte..... More

Print this item

  Help with string practice
Posted by: Hermann_Fegelein - Aug-15-2018, 02:36 PM - Forum: General Coding Help - Replies (2)

Hi everyone,
I'm looking for some help with an exercise I was doing, regarding strings in python.
This program is supposed to find the longest word..... More

Print this item

  how to click javascript button
Posted by: hcyeap - Aug-15-2018, 01:42 PM - Forum: Web Scraping & Web Development - Replies (3)

Hi there,

I am trying to automate to login a page.

i am following the example here:
https://stackoverflow.com/questions/4162...k-javascri..... More

Print this item

  [Help] List of Lists not printing both Cmder/Anaconda?
Posted by: vanicci - Aug-15-2018, 12:55 PM - Forum: General Coding Help - Replies (4)

Hi Python mentors,

I tried running this code:

[python]
import random

M = 'land'
o = 'water'
h = 11 #number of rows
w = 11 #number of colu..... More

Print this item

  Hang man game
Posted by: supermane - Aug-15-2018, 08:51 AM - Forum: General Coding Help - Replies (2)

Hi, beginner here.
Doing a hangman game and i am stuck because when i run my function guess_me, the return value is always new. how am i able to stor..... More

Print this item

  Optimising processing speed
Posted by: Owen - Aug-15-2018, 08:15 AM - Forum: Code sharing - Replies (1)

Hi
I have an HP computer with 24 cores and 48 processors. Part of my work entails creating large tile packages. When I use the ArcGIS tools in Deskto..... More

Print this item

  is this character printable?
Posted by: Skaperen - Aug-15-2018, 05:34 AM - Forum: News and Discussions - Replies (2)

is this character printable?

i found a place where Python is making this decision, probably from a Unicode database. the repr() function, w..... More

Print this item

  Help with tic-tac-toe project
Posted by: MAZambelli4353 - Aug-15-2018, 01:22 AM - Forum: General Coding Help - Replies (3)

Hello Ive been teaching myself python for almost a month now and Im trying to implement classes into this project which is something Im new to. Its n..... More

Print this item

  Python Developer Miami, FL
Posted by: nickn0it - Aug-15-2018, 01:14 AM - Forum: Jobs - Replies (2)

Hi all,

I have a 6 month contract to hire opportunity that will rollover to a permanent Python Developer position within the banking industry. No b..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  extracting data from a us... 5 hours ago Perry DeaD_EyE General Codin...
  [Tkinter] how to export a... Today, 03:45 RonR Pedroski55 GUI
  Is the interpreter that c... Today, 01:04 helendamdam helendamdam General Codin...
  pip install requests does... Yesterday, 14:48 misodca DeaD_EyE General Codin...
  Creating a Mindmap progra... 09-23, 12:00 J_Miller Pedroski55 General Codin...
  IBKR Purchasing code issu... 09-23, 09:08 compuman145 compuman145 General Codin...
  A coding beginner needs h... 09-23, 03:29 Littlefish Littlefish General Codin...
  Using a For Loop to subtr... 09-22, 20:56 Anunderling deanhystad General Codin...
  403 error 09-20, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
Most views
  The best Prog... 576856
  Tutorial Requ... 499416
  Web Scraping ... 440634
  Newbie with P... 384606
  New Users Int... 368582
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+ 12088
buran 8176
snippsat 7367
deanhystad 6895
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
crownarmstrong Today
Jamirul Today
Perry Today
bianchiluca116 Yesterday
Jorgecog Yesterday

User Panel Messages

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