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,970
» Latest member: Dichaelmag
» Forum threads: 38,731
» Forum posts: 175,552

Full Statistics

Online Users
There are currently 46 online users.
» 1 Member(s) | 37 Guest(s)
Bing, Google, AOL, Google Image, Facebook, KaydenJonah098

Latest Threads
Stephenchers
Forum: General Coding Help
Last Post: Dichaelmag
41 minutes ago
» Replies: 0
» Views: 13
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: Pedroski55
2 hours ago
» Replies: 7
» Views: 367
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Yesterday, 06:39 PM
» Replies: 7
» Views: 2,799
My goal to be hired worki...
Forum: News and Discussions
Last Post: Larz60+
Sep-27-2025, 11:58 PM
» Replies: 1
» Views: 662
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,197
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 8,760
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
Sep-27-2025, 03:54 AM
» Replies: 3
» Views: 655
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,149
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,129
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,421

 
  Case sensitive path
Posted by: asheru93 - Jan-28-2019, 08:30 AM - Forum: General Coding Help - Replies (6)

Hello,

I want to open and setup.exe from python but sometimes it might be with uppercase like Setup.exe. How can I handle it properly?

I have: ..... More

Print this item

  Reverse word
Posted by: xSphere - Jan-28-2019, 08:17 AM - Forum: General Coding Help - Replies (6)

Hi!
I need to reverse words like this:
cake
python

Output:
keca onthpy
I used [::-1] but this isn't a correct answer because it gives..... More

Print this item

  Visual Studio Code - PEP8 Lambda Issue
Posted by: Qui_Ten - Jan-28-2019, 05:20 AM - Forum: General Coding Help - Replies (1)

PEP8 is automatically formatting a part of my code, I was just learning about lambdas and I had a 2 line code like this:

My simple code: (2 ..... More

Print this item

  Help!! Please
Posted by: leokraz - Jan-28-2019, 05:15 AM - Forum: General Coding Help - Replies (4)

I've tried everything to write this program and I keep getting stuck and getting a syntax error. Can someone please tell me how they would tackle this..... More

Print this item

  how write variable in files and retreive it
Posted by: frank - Jan-28-2019, 03:40 AM - Forum: General Coding Help - Replies (2)

Hi I m a beginner. Try to learn python by myself. I started to create a program to help me keeping track of information. (kind of excel sheet but in p..... More

Print this item

  Add stdout to text file
Posted by: maxtimbo - Jan-28-2019, 03:09 AM - Forum: General Coding Help - Replies (3)

Alright, I've tried a great many thing to try to get this to work. This iteration is the closest I've gotten to success. What I'm trying to do is writ..... More

Print this item

  SHARE PYTHON FILE
Posted by: ambush - Jan-27-2019, 11:47 PM - Forum: General Coding Help - Replies (1)

I have a python file and it consists of modules such as pandas,numpy,matplotlib and quandl. However, I need to share the file so the user can directly..... More

Print this item

  clearing an interactive python interpreter/shell
Posted by: rootVIII - Jan-27-2019, 10:39 PM - Forum: News and Discussions - Replies (4)

I got really sick of always doing this when I want to clear my shell:

from os import system
system('clear')
Or with the su..... More

Print this item

  Install of Pillow fails
Posted by: RMJFlack - Jan-27-2019, 10:39 PM - Forum: General Coding Help - Replies (4)

I'm trying to install PIL / Pillow.
Running on Win 7.
I have tried with both Pythin 2.7 and 3.3 (which are both installed)

I typed pip install ..... More

Print this item

  display multiple sensors on webpage python flask jinja
Posted by: pascale - Jan-27-2019, 09:39 PM - Forum: Web Scraping & Web Development - Replies (6)

Hi,
I am a bit stuck,There are plenty of tutorials and forum replies for one DS18B20 sensors but I cannot find any for multiple sensors that dont use..... More

Print this item

  Printing arguments in python console.
Posted by: Narendra - Jan-27-2019, 09:33 PM - Forum: General Coding Help - Replies (1)

Hello all,

I am a new to python. I was writing PyTest for my gui. I use assert to check the condition true or false.

I code every where in my ..... More

Print this item

  whats the difference between sys.exit() and break?
Posted by: mitmit293 - Jan-27-2019, 08:50 PM - Forum: General Coding Help - Replies (1)

it a question from at total beginner, so its probably stupid, but bear with me.

Print this item

  While loop and If Statement
Posted by: farzankh - Jan-27-2019, 05:43 PM - Forum: Homework - Replies (3)

Hello friends,
This is our assignment:
[color=#3498DB]Write a function called stop_at_z that iterates through a list of strings. Using a while loop,..... More

Print this item

  Pyinstaller can not execute script.
Posted by: negru555 - Jan-27-2019, 05:15 PM - Forum: General Coding Help - No Replies

[python]
import imaplib
import email
import os
import box
import smtplib


def obtineID():
f = open("id.txt", "r")
ID = f.read()
..... More

Print this item

  leading zero number formatting
Posted by: RedSkeleton007 - Jan-27-2019, 04:14 PM - Forum: General Coding Help - Replies (3)

Hi, I want to print out lock combination guesses, all as 4 digits with leading zeros as needed (0000, 0001, 0002, etc.), but I'm having trouble:
[pyt..... More

Print this item

  wont print last sentence..
Posted by: mitmit293 - Jan-27-2019, 04:01 PM - Forum: General Coding Help - Replies (2)

[python]import random
a = random.randint(1,99)
guess = int(input('et tal..'))
print
while a != guess:
if guess < a:
print('low..')
..... More

Print this item

  Because the emoji appears black and white at the exit ?
Posted by: nerd - Jan-27-2019, 03:51 PM - Forum: General Coding Help - Replies (3)

I am running an emoji code and the output Run appears in black and white, that is, the emoji does not come..... More

Print this item

  Contest - game programming
Posted by: louiz7 - Jan-27-2019, 03:44 PM - Forum: Game Development - Replies (2)

I notice this contest.
https://www.syntaxbomb.com/index.php/topic,5206.0.html

There should be a lot of talented game programmers in our Python co..... More

Print this item

  Unexpected ininite loop behavior
Posted by: RedSkeleton007 - Jan-27-2019, 03:23 PM - Forum: General Coding Help - Replies (4)

Hi, I'm trying to code a basic while True loop, but I get an infinite loop whether or not I use the continue statement (after I purposely enter invali..... More

Print this item

  Help speeding up ode_int
Posted by: andeye - Jan-27-2019, 02:56 PM - Forum: Data Science - Replies (2)

I've created a tool in python that links a 3d electromagnetic field solver to a time domain electrical equation solver. This allows me to create a 3d ..... More

Print this item

  ValueError: shapes
Posted by: naveen73 - Jan-27-2019, 01:15 PM - Forum: Data Science - No Replies

Hi all,

I am having a very strange problem with predicting using sklearn.
Currently doing the IBM course “Data analysis with Python”. This is the dat..... More

Print this item

  sort a list alphabeticaly without changing the original list
Posted by: Holmen - Jan-27-2019, 01:15 PM - Forum: Homework - Replies (5)

I'm supposed to reverse a list of countries I want to visit (alphabetical)

[python]list = ['Poland', 'Russia', 'Germany', 'USA', 'China'][/p..... More

Print this item

  Connection with SQL Server
Posted by: DionisiO - Jan-27-2019, 01:11 PM - Forum: General Coding Help - No Replies

Hello all!

I'm trying to connect to SQL Server, but i keep getting the message: [Microsoft][ODBC Driver Manager] Data source name not found and no ..... More

Print this item

  How to trigger click event on Button without ID/Name
Posted by: gahhon - Jan-27-2019, 10:51 AM - Forum: Web Scraping & Web Development - Replies (7)

<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12 SecurityPhrase---right-btn-container---32k8- ">
<button type="button" class="btn btn-success btn btn..... More

Print this item

  sorting row values alphabetical
Posted by: PolskaYBZ - Jan-27-2019, 10:35 AM - Forum: Homework - Replies (1)

Hi,

I have the below dataframe object in which I would like to sort the rows in alphabetical order.


[output]
flights
ORG_AIR DEST_AIR
..... More

Print this item

  Python Turtle Help
Posted by: patrick_oneal_4 - Jan-27-2019, 03:43 AM - Forum: Homework - Replies (5)

I need to make three connected shapes. I keep recieving this error:
File "<stdin>", line 5
velez.color("MediumOrchid")
SyntaxError: invalid s..... More

Print this item

  swapname.py
Posted by: Skaperen - Jan-27-2019, 02:55 AM - Forum: Code sharing - No Replies

a little script i often use:

swapname.py[python]#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from __future__ import print_function
from os imp..... More

Print this item

  Embedding HTML Code in Python
Posted by: kendias - Jan-27-2019, 12:37 AM - Forum: Web Scraping & Web Development - Replies (5)

I am trying to embed HTML in Python, not sure how. Tried importing Beautiful Soup but get error.

Print this item

  Branching and Conditionals/If statements
Posted by: MSL - Jan-26-2019, 11:49 PM - Forum: General Coding Help - Replies (1)

I am currently doing a group of python assignments and I need help with completing them.

I am currently stuck on both of the problems listed below...... More

Print this item

  pygame exe crashes
Posted by: TheQuattro - Jan-26-2019, 11:21 PM - Forum: Game Development - Replies (1)

Hello, could anyone tell me why my compiled app crashes upon start if I use these lines?

font = pygame.font.SysFont(None, 100)
text = font.render(..... More

Print this item

  Compiling a Python Package on Windows
Posted by: nagymusic - Jan-26-2019, 08:52 PM - Forum: General Coding Help - Replies (2)

My apology if this may not be the right place to post my question. I recently had to update Windows 10 system on a Lenovo Yoga 910 laptop. Following t..... More

Print this item

  Python tutorial on learning & creating your own LRU Cache :)
Posted by: ncorbuk - Jan-26-2019, 08:28 PM - Forum: Tutorial Requests and Submissions - No Replies

Hello everyone, i have a tutorial on learning & creating your very own LRU Cache. I found it very interesting when i was learning this as i had heard ..... More

Print this item

  NLTK Download Attribute error
Posted by: laila1a - Jan-26-2019, 02:46 PM - Forum: Data Science - Replies (1)

Hello all, I'm having a problem downloading NLTK. This is my first time downloading a module and I keep getting an error. I have been following https:..... More

Print this item

  Instagramlogin Error (Selenium)
Posted by: julian_veit - Jan-26-2019, 02:40 PM - Forum: Web Scraping & Web Development - No Replies

I tried to make a python program that can (should) login into Instagram. Here's the code:
[python]

from selenium import webdriver
from selenium.w..... More

Print this item

  [split] How to insert JSON into MSSQL
Posted by: gehrenfeld - Jan-26-2019, 12:36 PM - Forum: General Coding Help - Replies (3)

micseydel

If you don't want to help please don't.

He is asking a question in a help forum.

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Stephenchers 41 minutes ago Dichaelmag Dichaelmag General Codin...
  Comparing 2 100GB Drives/... 2 hours ago tester_V Pedroski55 General Codin...
  Select Python comment (#)... Yesterday, 18:39 SpongeB0B tester_V General Codin...
  My goal to be hired worki... 09-27, 23:58 GnomeSweetGnome Larz60+ News and Disc...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  Unable to resolve FileNot... 09-27, 03:54 llarkin6 Pedroski55 General Codin...
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
  Is the interpreter that c... 09-26, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... 09-26, 13:14 Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... 09-26, 09:50 P212 Biks News and Disc...
Most views
  The best Prog... 577287
  Tutorial Requ... 500430
  Web Scraping ... 440964
  Newbie with P... 384997
  New Users Int... 369393
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+ 12089
buran 8176
snippsat 7369
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Dichaelmag Today
samuelshlzeo7159 Today
Seu12Jorge Yesterday
seomelbourneaustralia Yesterday
Jacobjoift Yesterday

User Panel Messages

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