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,959
» Latest member: Xuitar
» Forum threads: 38,728
» Forum posts: 175,533

Full Statistics

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

Latest Threads
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
25 minutes ago
» Replies: 1
» Views: 520
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
28 minutes ago
» Replies: 6
» Views: 4,763
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
3 hours ago
» Replies: 1
» Views: 1,442
Using Python to SSH and R...
Forum: Networking
Last Post: SprunkiRetake
9 hours ago
» Replies: 1
» Views: 2,499
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Today, 12:32 AM
» Replies: 0
» Views: 167
extracting data from a us...
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 01:49 PM
» Replies: 2
» Views: 345
how to export a dictionar...
Forum: GUI
Last Post: Pedroski55
Yesterday, 03:45 AM
» Replies: 3
» Views: 411
pip install requests does...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-24-2025, 02:48 PM
» Replies: 10
» Views: 29,708
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
Sep-23-2025, 12:00 PM
» Replies: 4
» Views: 9,593
IBKR Purchasing code issu...
Forum: General Coding Help
Last Post: compuman145
Sep-23-2025, 09:08 AM
» Replies: 0
» Views: 454

 
  Kirill_Dubovitskiy has dark perception of the world, but (s)he should not be banned
Posted by: pcsailor - Sep-16-2018, 02:57 AM - Forum: Board - Replies (10)

Kirill_Dubovitskiy has dark perception of the world, but (s)he should not be banned.

They're even a bit of an a**hole and pessimistic about everyth..... More

Print this item

  Code Help!!
Posted by: Garyeck - Sep-16-2018, 12:54 AM - Forum: General Coding Help - Replies (1)

Hi, my son is in year 7 and hit a bit of a problem with is coding project and hoping someone out there in code land can help! It's a simple snakes and..... More

Print this item

  How can I link these 6 routines to run sequentially?
Posted by: Pedroski55 - Sep-15-2018, 11:18 PM - Forum: General Coding Help - Replies (2)

Every week I have to insert scores for 7 classes, so I am trying to automate this as much as possible.

I now have 6 routines which all work in my i..... More

Print this item

  Request for input on a talk I was asked to give
Posted by: Phoenix_ZA - Sep-15-2018, 11:09 PM - Forum: News and Discussions - Replies (4)

So I was asked to give a 45-minute talk for next week Wednesday, at a general open source meetup 'like' event in my local city, as they heard that I w..... More

Print this item

  Is this a good way to become a Programmer? Urgent advice needed plz!
Posted by: MoTechie - Sep-15-2018, 10:26 PM - Forum: News and Discussions - Replies (1)

Hi, I've been doing research on a career in coding/programming and now I'm very interested and motivated to learn it. I'm a complete beginner and limi..... More

Print this item

  VSCode issue
Posted by: Larz60+ - Sep-15-2018, 09:28 PM - Forum: General Coding Help - Replies (7)

I made a mistake and clicked a button to load Microsoft Python language server. I don't want this, but don't know where it resides or how to remove it..... More

Print this item

  Making a number list in a .txt file
Posted by: kwak86 - Sep-15-2018, 08:59 PM - Forum: General Coding Help - Replies (13)

Hello,

I would like making a list of number in a file I can read with notepad.

I try this:

[python]

f=open("dico.txt","w")
a=0
while a<=999999:
i..... More

Print this item

  Need help
Posted by: ZoroSama420 - Sep-15-2018, 08:44 PM - Forum: Homework - Replies (1)

Hello guys , I am super new to scripting and i have got this homework assignment at school and i have no idea what it means , if someone can help me o..... More

Print this item

  Python Scraping Error
Posted by: ZenWoR - Sep-15-2018, 07:47 PM - Forum: Web Scraping & Web Development - Replies (1)

I wanted to get .text of <a>, but it simply doesn't work.

Here is my code:
[python]
from bs4 import BeautifulSoup
import requests

generatedLi..... More

Print this item

  reading the binary contents of any file
Posted by: qrani - Sep-15-2018, 07:18 PM - Forum: General Coding Help - Replies (4)

I was wondering how to make it so I can load the binary of any file
so say I have a file called,
file1.qra
(qra is made up)
and the binary content..... More

Print this item

  Using user input to restart and quit a game.
Posted by: Maximuskiller78 - Sep-15-2018, 05:07 PM - Forum: Homework - Replies (4)

Hi, I can't figure out how to use user input, to restart and quit the game.


[python] import random

guessesTaken = 0


print('Hel..... More

Print this item

  [Help] Beginner's code
Posted by: Owenix - Sep-15-2018, 04:47 PM - Forum: General Coding Help - Replies (3)

Hey there, started learning today and i'm currently trying to make an '8 ball' from a challenge online.
I'm trying to make it so when the player says..... More

Print this item

  Trying to write a code to get a long list of unknown URLs
Posted by: hkynefin - Sep-15-2018, 04:27 PM - Forum: Web Scraping & Web Development - Replies (2)

I am using the Princeton Review Top 384 Colleges as a source in a research project. Ultimately, what I want to do is create a code that will go to the..... More

Print this item

  Joystick Input
Posted by: microphone_head - Sep-15-2018, 04:14 PM - Forum: Game Development - Replies (2)

Hi there. I think I'm having trouble with clearing the joystick buffer. Can anyone help?

The project I'm working on allows the user to navigate a..... More

Print this item

  'Looping' does not work out within a 'for Loop'
Posted by: Placebo - Sep-15-2018, 04:07 PM - Forum: General Coding Help - Replies (4)

Hi^^

I just cannot find my mistake regards to an ecercise I have made.
Before asking my questions, I just include here my Code and the output:

..... More

Print this item

  Looking for Selenium setup help
Posted by: ubotbuddy - Sep-15-2018, 03:28 PM - Forum: Web Scraping & Web Development - Replies (3)

Hello everyone!

I'm a new member to the forum but an old dog in the botting universe.

Doing some deep diving with Python and I am now playing ar..... More

Print this item

  Configuring interpretor in PyCharm: [Errno 2] No such file or directory
Posted by: BoaCoder3 - Sep-15-2018, 01:21 PM - Forum: General Coding Help - No Replies

I created a new virtual environment for my project in python3.6.4 so can start using that instead of the previous version python3.5. However, today I ..... More

Print this item

  Python 3 escape codes
Posted by: oldDog - Sep-15-2018, 10:07 AM - Forum: General Coding Help - Replies (1)

I know how to write a newline "\n" and that's about all. I would like to know more. Because i came across the following "\n\t\t" and to be honest i'm ..... More

Print this item

  how to check for file type in a folder
Posted by: SoulsKeeper - Sep-15-2018, 08:47 AM - Forum: General Coding Help - Replies (4)

Hello, I want the script to go through the entire folder and only list the files which are neither Zip or Rar files

but when I use this code, it ju..... More

Print this item

  How to upload images after first paragraph ends instead of uploading them at the end?
Posted by: SamLearnsPython - Sep-15-2018, 06:53 AM - Forum: Web Scraping & Web Development - No Replies

In the below script, how do I upload images after the first paragraph ends instead of uploading it right at the very end.

I want the layout as

parag..... More

Print this item

  Unable to use sqlanydb to execute Sybase IQ Stored Procedure
Posted by: FORTITUDE - Sep-15-2018, 05:58 AM - Forum: General Coding Help - Replies (4)

Hi All,

I am using library sqlanydb to access Sybase IQ database.

It was running fine until it hits some statement that will insert into a temp ..... More

Print this item

  tarfile but not to a file
Posted by: Skaperen - Sep-15-2018, 05:15 AM - Forum: General Coding Help - Replies (2)

i am designing a program that will send tarballs to AWS S3. this means the data in tar format needs to be buffered and instead of writing to disk, wi..... More

Print this item

  Staying motivated? Share your story.
Posted by: Ceegen - Sep-14-2018, 11:45 PM - Forum: Web Scraping & Web Development - Replies (10)

Hello everyone.

I've been learning to program in Python on my own. Reading the docs, watching videos and doing a few projects. So far I've made a s..... More

Print this item

  Is there a way to append to a list WITHOUT modifying the parameter passed?
Posted by: arnavb - Sep-14-2018, 11:09 PM - Forum: General Coding Help - Replies (11)

Let's say I have this code:

def test(some_args):
    some_args += ['two']

args = ['one']
test(args)
print(args)
When I run this ..... More

Print this item

  Can't show PyQt5 mediaPlayer in window
Posted by: DecaK - Sep-14-2018, 09:51 PM - Forum: GUI - Replies (1)

I'm trying to add mediaPlayer to my window for few days but I just can't show it. Qt Designer don't have a option for adding mediaPlayer and I can't a..... More

Print this item

  Help with python3 (BeautifulSoup)
Posted by: freaknez - Sep-14-2018, 09:12 PM - Forum: Web Scraping & Web Development - Replies (1)

[python]
import requests
from termcolor import *
import colorama
from bs4 import BeautifulSoup
colorama.init()
headers = {
"Cookie": "PHPSESSI..... More

Print this item

  IDLE not importing pygame (ok outside of IDLE)
Posted by: miner_tom - Sep-14-2018, 06:56 PM - Forum: General Coding Help - Replies (1)

I do have pygame installed on my ubuntu 16.04 system. I know this because when I run the program outside of IDLE (or IDLE3) I get
the following from ..... More

Print this item

  Bill calculator with different prices
Posted by: JHPythonLearner - Sep-14-2018, 06:39 PM - Forum: General Coding Help - Replies (10)

Hello.

I'm trying to write a program that calculates the total price of photocopies made at a photocpy business.
Prices are as follows:
The firs..... More

Print this item

  Pyenv build of python 3.7.0 issue
Posted by: Larz60+ - Sep-14-2018, 04:32 PM - Forum: General Coding Help - Replies (3)

I had to reinstall 'openSuse Leap 15' because of a virus that I couldn't crush.
So, I'm faced with rebuilding my tool set.
I have reinstalled pyenv,..... More

Print this item

  Creating a delimited file from DB Table
Posted by: anubhav2020 - Sep-14-2018, 02:53 PM - Forum: General Coding Help - Replies (9)

Hi there,

I am new to python (SAS background).
I have this requirement to create a PIPE delimited file from Netezza tables. I tried the following..... More

Print this item

  Help With Error Handling
Posted by: jo15765 - Sep-14-2018, 02:44 PM - Forum: General Coding Help - Replies (6)

Hello - I am new to python and am attempting to validate that the user input is a number with my script. I have the below syntax, but instead of act..... More

Print this item

  Divide a number by numbers in a list.
Posted by: Wallen - Sep-14-2018, 01:46 PM - Forum: General Coding Help - Replies (7)

Hello. Im trying to get the sum of all prime numbers under 2,000,000. In my code Ive tried to divide a number with only prime numbers in order to lowe..... More

Print this item

  Learning Python, motivation problem
Posted by: tarmiricmi - Sep-14-2018, 12:10 PM - Forum: Bar - Replies (1)

Hello fellow Pythoners,
I'm newbie at programming and I have decided to try myself with Python.
I bought a couple of books, bookmarked some tutorial..... More

Print this item

  Embedding, windows, and virtual environments
Posted by: mariofutire - Sep-14-2018, 10:30 AM - Forum: General Coding Help - No Replies

Hi,

I've been writing a C++ app which embeds the python interpreter (tested on 3.6 or 3.7).
I am writing it both for linux and windows.

I would..... More

Print this item

  if else statements
Posted by: remy - Sep-14-2018, 10:05 AM - Forum: General Coding Help - Replies (8)

[python]class Store:
Day = 1
Money = 5
StoreName = "Lemonade Stand"
StoreCount = 1
StoreCost = 3
StoreProfit = 1.5
..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Is the interpreter that c... 25 minutes ago helendamdam noisefloor General Codin...
  pdf file processing: how ... 28 minutes ago Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... 3 hours ago P212 Biks News and Disc...
  Using Python to SSH and R... 9 hours ago justaguy SprunkiRetake Networking
  My goal to be hired worki... Today, 00:32 GnomeSweetGnome GnomeSweetGnome News and Disc...
  extracting data from a us... Yesterday, 13:49 Perry DeaD_EyE General Codin...
  [Tkinter] how to export a... Yesterday, 03:45 RonR Pedroski55 GUI
  pip install requests does... 09-24, 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...
Most views
  The best Prog... 576968
  Tutorial Requ... 499658
  Web Scraping ... 440728
  Newbie with P... 384706
  New Users Int... 368753
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
Xuitar Today
SprunkiRetake Today
GnomeSweetGnome Yesterday
alxpetrovo2272 Yesterday
Jamirul Yesterday

User Panel Messages

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