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,266
» Latest member: tlandr02
» Forum threads: 38,788
» Forum posts: 175,853

Full Statistics

Online Users
There are currently 43 online users.
» 0 Member(s) | 41 Guest(s)
Bing, Google

Latest Threads
Access keys and values fr...
Forum: General Coding Help
Last Post: buran
8 hours ago
» Replies: 3
» Views: 72
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Nov-15-2025, 04:07 PM
» Replies: 2
» Views: 128
PermissionError: [Errno 1...
Forum: GUI
Last Post: deanhystad
Nov-15-2025, 02:42 PM
» Replies: 1
» Views: 80
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-15-2025, 01:54 PM
» Replies: 1
» Views: 78
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Nov-15-2025, 01:00 PM
» Replies: 5
» Views: 332
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 54
PyQt6 QWidgets and system...
Forum: GUI
Last Post: stevecoh1
Nov-14-2025, 06:38 PM
» Replies: 0
» Views: 87
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 312
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
Nov-14-2025, 03:33 PM
» Replies: 3
» Views: 174
New to python and coding
Forum: Homework
Last Post: jefsummers
Nov-13-2025, 07:58 PM
» Replies: 6
» Views: 270

 
  tenPrint
Posted by: mcmxl22 - Jan-27-2018, 02:12 AM - Forum: Code sharing - No Replies

Here is my Python 2.7 version of the old 10 Print program.

[python]
import random

slash1 = '\\'
slash2 = '/'
slash3 = '|'
slash4 = '-'

wh..... More

Print this item

  invalid syntax error
Posted by: penlemon - Jan-27-2018, 01:07 AM - Forum: Homework - Replies (4)

Hi Everyone

I'm taking a basic coding class, and while I like it so far, my teacher doesn't really have a knack for teaching, so I'm finding it ver..... More

Print this item

  Help with homework problem - iterating a function
Posted by: midnitetots12 - Jan-26-2018, 10:43 PM - Forum: Homework - Replies (4)

def iterate(iterationnumber):
indented - f(x) = 2*x
indented - count = srange(iterationnumber)
indented - vals = [3]
indented..... More

Print this item

  Compare several strings and output average
Posted by: TotallyCoolGuy - Jan-26-2018, 10:17 PM - Forum: General Coding Help - Replies (2)

Hello Forum :)

this is my first post in the forum and my first day with python.
Searched the internet for my problem but could not find a good sol..... More

Print this item

  Need some beginner Module help...
Posted by: Alimdor - Jan-26-2018, 09:06 PM - Forum: General Coding Help - Replies (2)

Just started Intro to Programming Logic and am having a little trouble understanding modules. Here is the instructional video https://www.youtube.com/..... More

Print this item

  Can't make it print 0 if false
Posted by: goldtiger6 - Jan-26-2018, 08:17 PM - Forum: Homework - Replies (5)

I'm working on a little code for class and I'm not sure what to do to make it print 0 when everything else is false.

Input:
[inline]1 -3 ..... More

Print this item

  Python Site Reliability Engineer / Devops at Divio
Posted by: djangojobs.net - Jan-26-2018, 07:22 PM - Forum: Jobs - No Replies

If working with a sophisticated cloud environment spanning multiple service providers and using a range of technologies such as Python, Django, Docker..... More

Print this item

  [SOLVED]passing a lot of information to subprocess.call()
Posted by: Barrowman - Jan-26-2018, 06:58 PM - Forum: General Coding Help - Replies (11)

Hi,
I have a long list of names and phone numbers in the following format:[quote]0100 12345
Harry horse
0100 43234
Jane Jones
0121 67574
Mary L..... More

Print this item

  Error creating virtualenv in Windows 7 with Python36-32.
Posted by: djalmabright - Jan-26-2018, 06:44 PM - Forum: Web Scraping & Web Development - Replies (3)

[size=small][b]I am trying running a blockchain application using pipenv in Python3.6 under virtualenv in my Windows machine but return..... More

Print this item

  Can't figure out how to use these variables
Posted by: TimeForged - Jan-26-2018, 06:20 PM - Forum: Homework - Replies (2)

Hello so I am new to python, I only have experience in C#. This is on my assignment's I'm working on and I'm very confused. I am suppose to make it so..... More

Print this item

  Begginer coding problem
Posted by: wiktor - Jan-26-2018, 06:07 PM - Forum: General Coding Help - Replies (2)

Hello,

Im pretty new to python and programming and I need some help. I need to check if user name is already in usage by another one. That was good..... More

Print this item

  Help - GTK3 + Pango: Printing data as table format
Posted by: scandido - Jan-26-2018, 06:03 PM - Forum: GUI - No Replies

Hi, i'm beginner in Python, i'm writing my first program.
I want to print some data in table format.

I found this link http://www.pango.org/HelpOn..... More

Print this item

  Seeking input on my remote Python repo structure/look (recently updated)
Posted by: league55 - Jan-26-2018, 05:39 PM - Forum: News and Discussions - Replies (4)

I've been trying to get my Python repo to have a good structure and look presentable. Could you have a peek at the structure and look and comment? (If..... More

Print this item

  why is it crushing ?
Posted by: Cheetos - Jan-26-2018, 01:29 PM - Forum: General Coding Help - Replies (10)

Hello guys i am totally new to python and programming at all
my first try was to make a simulator to the discord bot Tatsumaki fishing system but idk ..... More

Print this item

  I don't get this....
Posted by: pancit_canton - Jan-26-2018, 12:12 PM - Forum: General Coding Help - Replies (3)

Hello, everybody....I am new to this forum...And definitely very new in programming, ANYTHING....I have these few lines of code on the if, elif...just..... More

Print this item

  How to link two python scripts
Posted by: berthenet - Jan-26-2018, 10:18 AM - Forum: General Coding Help - Replies (35)

Hi everyone !

This is my first post here. I am originally a biologist but I started doing bioinformatics. I have very basic knowledge in programmin..... More

Print this item

  Hello,Guys!,I met a very strange bug
Posted by: homepoeple - Jan-26-2018, 09:59 AM - Forum: General Coding Help - Replies (4)

#I am learning Python now ,I have some experience about C#,VB,C.
#The scripture is very easy but I just dont know what's wrong

[python]def eval_lo..... More

Print this item

  container data type formatting
Posted by: nzcan - Jan-26-2018, 09:18 AM - Forum: Homework - Replies (5)

hello,

one interesting task:
[python]
>>> gaga(15)
[ 1, 2, 'gaga', 4, 'bieber', 'gaga', 7, 8, 'gaga', 'bieber', 11, 'gaga', 13, 14, 'gagabieber'..... More

Print this item

  Help me improve my code
Posted by: Emagii - Jan-26-2018, 08:03 AM - Forum: Code sharing - Replies (3)

Hi.
I'm new to programming and Python, but I do enjoy learning as much as I can.
I started play around with classes in Python and get the most basic..... More

Print this item

  My 1st Program
Posted by: ineedhelp - Jan-26-2018, 07:49 AM - Forum: General Coding Help - Replies (1)

I need help in this simple program! I don't know why I'm getting this error! I'm new to python!

This is what I typed:

[python]print ('WHAT IS YO..... More

Print this item

  qutebrowser v1.1.0-1
Posted by: dvs1 - Jan-26-2018, 03:37 AM - Forum: News and Discussions - No Replies

"Initial support for Greasemonkey scripts."

https://github.com/qutebrowser/qutebrowser/releases

"qutebrowser is a keyboard-focused browser with ..... More

Print this item

  Pygsheets Keeps inserting a blank row, Need Help
Posted by: HiImNew - Jan-26-2018, 02:07 AM - Forum: General Coding Help - Replies (1)

I apoligize in advance for the overly complicated code, this is just a segment of a larger part.

[python]
while True:
import bs4 as bs
import..... More

Print this item

  We need your Python expertise. Please participate in our study!
Posted by: PLG - Jan-25-2018, 09:09 PM - Forum: News and Discussions - No Replies

Hi everyone,

We like to invite you to participate in a research study about Python programming (conducted by researchers at the University of Appli..... More

Print this item

  On Just One line
Posted by: Fumi - Jan-25-2018, 09:00 PM - Forum: General Coding Help - Replies (4)

Hi there,

Does anyone know how to condense the following into one line as target.write()


[python]
target.write (line1)
target.write ("\n")

target...... More

Print this item

  The number of object makes code slower?
Posted by: fig0 - Jan-25-2018, 09:00 PM - Forum: General Coding Help - Replies (1)

I'm profilling my script to find its speed bottlenecks, but there is an anomaly that is messing with my understanding of how python interpreter works...... More

Print this item

  Understanding square bracket use
Posted by: wahsape - Jan-25-2018, 08:54 PM - Forum: General Coding Help - Replies (4)

I'm currently reading through "Python Programming for the Absolute Beginner, Third Edition" and I need some help to understand a section of a program ..... More

Print this item

  How do I change an image dynamically
Posted by: LeeMadeux - Jan-25-2018, 08:49 PM - Forum: GUI - Replies (7)

I am trying to dynamically change a displayed picture to another picture on a GUI.
I have tried various suggested ways seen on websites and none have ..... More

Print this item

  Flattening List
Posted by: mp3909 - Jan-25-2018, 08:45 PM - Forum: General Coding Help - Replies (8)

Just a curious question, how would one flatten the following list [[[2], [4, 1, 3]], [5, 7], 1, 10, [[[5, 5, 5], [4, 4, 4]]]] ?

Print this item

  the profusion of Python 2 questions offsite
Posted by: league55 - Jan-25-2018, 08:41 PM - Forum: News and Discussions - Replies (3)

I browse some learner sites other than this one, and have seen far too many questions about Python2 syntax/implementations/etc.

I think the culprit..... More

Print this item

  .Desktop problems
Posted by: mepyyeti - Jan-25-2018, 08:35 PM - Forum: General Coding Help - Replies (21)

Regarding RUNNING a .py through a desktop icon. .Desktop is the Linux version of an .exe . I wasn't able to find a solution to this (tried stackexc..... More

Print this item

  problem with simple class code
Posted by: diegoraffo - Jan-25-2018, 07:35 PM - Forum: General Coding Help - Replies (5)

I'm havingg a problem with my code, I dont know why my code doesn't work. It works well when I use a string value to the condition variable, but not w..... More

Print this item

  MultiAV
Posted by: pfsms - Jan-25-2018, 06:23 PM - Forum: News and Discussions - No Replies

Hello All
I`m newbie in python and Unix OS
and i need install this package from github
and i run..... More

Print this item

  [UDEMY] Complete Python course: Mastery in python course - Just 10EUR
Posted by: wikihassni - Jan-25-2018, 06:11 PM - Forum: News and Discussions - Replies (1)

https://www.udemy.com/complete-package-o...YTHONFORUM
Complete Python course: Mastery in python c..... More

Print this item

  RGB to PALETTE conversion
Posted by: dusca - Jan-25-2018, 06:03 PM - Forum: General Coding Help - No Replies

Hello,

I'm trying to convert RGB image to PALETTE image with PIL:

img = Image.open(tiffile)
img = img1convert("P", palette=Image.ADAPTIVE, c..... More

Print this item

  Does str type support multibyte characters?
Posted by: wikihassni - Jan-25-2018, 05:58 PM - Forum: General Coding Help - Replies (2)

I.e. the first character in a string var is multibyte, will var[0] return the character, or a code stored in the first byte?

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Access keys and values fr... 8 hours ago Winfried buran General Codin...
  How to make ball stay wit... 11-15, 16:07 nathanael deanhystad General Codin...
  PermissionError: [Errno 1... 11-15, 14:42 Tuurbo46 deanhystad GUI
  Graph Interpolate Difficu... 11-15, 13:54 Tuurbo46 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...
  PyQt6 QWidgets and system... 11-14, 18:38 stevecoh1 stevecoh1 GUI
  [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...
  New to python and coding 11-13, 19:58 lary_p jefsummers Homework
  Backward compatibility qu... 11-13, 11:52 yutaozhou noisefloor News and Disc...
Most views
  The best Prog... 579036
  Tutorial Requ... 510996
  Web Scraping ... 442041
  Newbie with P... 386085
  New Users Int... 377562
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 6913
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
tlandr02 Yesterday
Rerus3700 Yesterday
pas88 Yesterday
aanthonymaaleyo3938 Yesterday
chuhlowe 11-15

User Panel Messages

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