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,303
» Latest member: IFDA123
» Forum threads: 38,798
» Forum posts: 175,907

Full Statistics

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

Latest Threads
Python Online Compiler
Forum: News and Discussions
Last Post: ichsanputr
43 minutes ago
» Replies: 3
» Views: 11,079
No new line from print in...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 06:10 PM
» Replies: 4
» Views: 165
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 10:44 AM
» Replies: 4
» Views: 172
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 04:44 AM
» Replies: 8
» Views: 693
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Nov-27-2025, 04:48 AM
» Replies: 6
» Views: 7,816
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 163
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 140
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
Nov-26-2025, 08:47 AM
» Replies: 3
» Views: 228
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Nov-26-2025, 04:40 AM
» Replies: 6
» Views: 3,222
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Nov-25-2025, 02:50 AM
» Replies: 6
» Views: 334

 
  Help with loops
Posted by: freckles - Dec-07-2018, 07:10 PM - Forum: Homework - Replies (7)

Hi everyone,

I have been trying to avoid doing this, but I'm taking a basic programming class online and I am at a total loss on how to do this ass..... More

Print this item

  Convert number to a different base and make calculations
Posted by: frequency - Dec-07-2018, 06:18 PM - Forum: Homework - Replies (12)

Hello,
Is there any way to make 010(10)*067(8)-->(2).
In this example. "010" will be converted to Decimal and will be multipli..... More

Print this item

  Extracting specific columns in an array
Posted by: uthongam - Dec-07-2018, 06:03 PM - Forum: Data Science - Replies (1)

We have an array with six columns and 25,000 rows. Our goal is to assign each column as a variable and then be able to run them in a function for all ..... More

Print this item

  Value , if condition
Posted by: mitmoot - Dec-07-2018, 04:59 PM - Forum: General Coding Help - Replies (6)

Good afternoon,

Well second post about this small programm I have, after fixed the problem of memory error thank to you guys i have another one.
..... More

Print this item

  No module named pywin32
Posted by: WantedStarling - Dec-07-2018, 04:56 PM - Forum: General Coding Help - Replies (3)

Hello, I am trying to import the pywin32 module to my program but I get the error

ImportError: No module named pywin32
. I have pywin3..... More

Print this item

  How to set up visual studio 2017 for 3ds max Python development
Posted by: littleGreenDude - Dec-07-2018, 04:31 PM - Forum: General Coding Help - Replies (1)

I'm trying to configure my visual studio (2017) development environment so it will allow me to debug Python scripts that are written for 3ds Max (2018..... More

Print this item

  Rename folders as files inside
Posted by: Ral1s - Dec-07-2018, 03:57 PM - Forum: General Coding Help - Replies (2)

Hi,
i have a problem with rename a lot of folders.

There is a structure of my problem and what i need..

I have many folders..
for example:
..... More

Print this item

  ASCII Art
Posted by: sepandhaghighi - Dec-07-2018, 03:55 PM - Forum: Code sharing - No Replies

[python]
>>> from art import *
>>> Art=text2art("art") # Return ascii text (default font) and default chr_ignore=True
>>> print(Art)
..... More

Print this item

  Shutil - permission error
Posted by: equaliser - Dec-07-2018, 09:34 AM - Forum: General Coding Help - Replies (1)

Hey people,

I hava a lil script that moves pdf-files because of the extracted sign. This script shall do this proccess for each file. But it ..... More

Print this item

  Dataframe Rows Sorting
Posted by: stranger14u - Dec-07-2018, 07:04 AM - Forum: Data Science - Replies (1)

How to sort dataframe rows horizontally from lowest to the highest
for an example I have
This To This
1 3 2 8 5 -->1 2 3 5 8
3 2 4 8 6 -->..... More

Print this item

  Easy way to sort a nested dict
Posted by: Alfalfa - Dec-07-2018, 04:21 AM - Forum: General Coding Help - Replies (3)

I want to convert a dict of audio metadata into an ordered dict, sorted by it's nested values (such as values of keys 'artist' or 'track'). What would..... More

Print this item

  Working on my FOR loop
Posted by: wilsonrivas - Dec-06-2018, 11:18 PM - Forum: General Coding Help - Replies (1)

Hello friends!

Actually I'm a little new on phyton and I been working on a scrape file; in a part on code is like:

[python]
isver = paged_soup...... More

Print this item

  Python: Creating N Dimensional Grid
Posted by: jf451 - Dec-06-2018, 10:53 PM - Forum: General Coding Help - No Replies

Hello,
I am new to python, so I apologize in advance. I was wondering if anyone had any advice on how to solve the following problem:

https://sta..... More

Print this item

  Error in VS Code after installing
Posted by: raduf - Dec-06-2018, 09:18 PM - Forum: General Coding Help - Replies (2)

I'm starting to learn Python and I have just installed it on my laptop.

Python 3.7.1 -> D:/Python/Python37
VS Code -> D:/Microsoft VS Code

I h..... More

Print this item

  repeating for loop
Posted by: Kaldesyvon - Dec-06-2018, 07:23 PM - Forum: General Coding Help - Replies (5)

Hello guys,
Is there any command for repeating for cycle? I need to have done list of numbers that do not repeat...
[python]z=[]
for i in range(15)..... More

Print this item

  Python - Tkinter
Posted by: Ditrate40 - Dec-06-2018, 05:53 PM - Forum: GUI - Replies (10)

Hi, I'm doing Python with Tkinter.

So, I've a program :

[python]from tkinter import *

root = Tk()

def fonction(event):
print(event)
..... More

Print this item

  NameError: name '' is not defined
Posted by: archiejw - Dec-06-2018, 05:07 PM - Forum: General Coding Help - Replies (1)

Hi, I'm new to python. I've coded this to check whether an inputted name is between 3 and 10 letters and to ask the user whether they want to change i..... More

Print this item

  Is there in 2018 a python3 library that implements the Internet Printing Protocol?
Posted by: AFoeee - Dec-06-2018, 03:37 PM - Forum: Networking - Replies (1)

All python libraries that implement the Internet Printing Protocol (IPP) do not se..... More

Print this item

  Classes and Objects - question
Posted by: AI_ML_Neophyte - Dec-06-2018, 02:29 PM - Forum: General Coding Help - Replies (3)

Hi,

I'm teaching myself Python and am having trouble with Classes and Objects.

Please see below my Python Code.

I'm struggling to figure out ..... More

Print this item

  File pointers
Posted by: tjnichols - Dec-06-2018, 12:48 PM - Forum: Web Scraping & Web Development - Replies (2)

Good morning. I am getting an error telling me BeautifulSoup isn't installed. Yet, I've installed it several times. I'm stuck.

[python]import bs4 B..... More

Print this item

  Python's id() function output in prompt and script mode
Posted by: stormshadow - Dec-06-2018, 12:01 PM - Forum: General Coding Help - Replies (4)

In CPython it is agreed that id's (in effect addresses) of objects with values > 256 should be different.

When using the Python prompt in a termina..... More

Print this item

  what's wrong with the loop
Posted by: lielz - Dec-06-2018, 11:33 AM - Forum: Homework - Replies (1)

The question is "Write a program that repeatedly prompts a user for integer numbers until the user enters 'done'. Once 'done' is entered, print out th..... More

Print this item

  tkinter - unexpected output - don't know how func is triggered before calling
Posted by: omm - Dec-06-2018, 10:53 AM - Forum: GUI - Replies (8)

This is how my app looks like in the image below
[Image: 4jBdPFH]

WHAT I AM TRYING TO DO:
I am trying to create a desktop..... More

Print this item

  SSL Certificate Error when trying to do command-line registration with pypi
Posted by: DeliriousDelight - Dec-06-2018, 09:38 AM - Forum: Homework - No Replies

I am getting this error message when trying to do the command-line registration as per the Heads First Python book:

[icode]Macinbu:nester majibu$ p..... More

Print this item

  setting working directory in pycharm
Posted by: saisankalpj - Dec-06-2018, 09:29 AM - Forum: General Coding Help - Replies (10)

parent/
    one/
        __init__.py
        sample1.py
    two/
        __init__.py
        sample.py
When i run the code through ..... More

Print this item

  Autocorrelation:application of autocorrelation on several rows
Posted by: StevenZut - Dec-06-2018, 08:41 AM - Forum: Data Science - No Replies

I want to find the autocorrelation of a series of numbers with lag 1,2,...N

In this example I have 56 numbers and N = 20.

So I have a file with ..... More

Print this item

  Help coding the computers ship placements in battleships
Posted by: MAZambelli4353 - Dec-06-2018, 07:33 AM - Forum: General Coding Help - Replies (1)

Im trying to code random placements for the computer's ships into the 10x10 grid. The five ships are of lengths 2, 3, 3, 4, and 5. If you are unawar..... More

Print this item

  Brightening an image by changing pixel value (PIL image import) grok learning
Posted by: Turkejive - Dec-06-2018, 05:22 AM - Forum: Homework - Replies (2)

Hello again,
Currently I'm having an issue with an assignment where I must change the value of pixels to brighten an image.

Here is the full ques..... More

Print this item

  opening a file from a windows desktop folder- error opening file
Posted by: Charan007 - Dec-06-2018, 01:03 AM - Forum: General Coding Help - Replies (1)

Hi Team,

I am trying to open a file that is available in the desktop folder with the below command but getting an error
that file is not present...... More

Print this item

  mysql csv
Posted by: tsinapah - Dec-06-2018, 12:15 AM - Forum: General Coding Help - Replies (5)

[align=left]Hello,

First of all I am a total newbie as this are my first python coding...

I am trying to write a python script to extract data ..... More

Print this item

  ENV variable in Python
Posted by: anandoracledba - Dec-05-2018, 10:50 PM - Forum: General Coding Help - Replies (2)

I have this simple code:

[python]
#!/usr/bin/env python

import sys, re, os

NAS1=os.environ['NAS1']
print 'Value of NAS1: ' + NAS1

pwdfil..... More

Print this item

  Callback URL for twitter app
Posted by: Truman - Dec-05-2018, 09:53 PM - Forum: General Coding Help - Replies (5)

I'm trying to create my first twitter app and ran to a wall that is called a callback url/
on twitter website this is an explanation:
https://develope..... More

Print this item

  Not sure how to turn this into a loop
Posted by: iamgonge - Dec-05-2018, 09:37 PM - Forum: General Coding Help - Replies (1)

Im very new to python and am a bit stuck. I have some code. I have a variable called data that is json that I need to access. The problem is I get the..... More

Print this item

  from API to ip
Posted by: whatl0ol - Dec-05-2018, 09:11 PM - Forum: General Coding Help - Replies (12)

Hello, I have python webserver runnng flask.
I need python script
IP requests for json, go to API request for json receive it and send to IP

I d..... More

Print this item

  pyttsx3 cuts off when run from py file
Posted by: duelistjp - Dec-05-2018, 08:37 PM - Forum: General Coding Help - Replies (4)

i'm using pyttsx3 on a raspberry pi running raspbian which is debian linux to read out the current time and date. this is a simple test of the module..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Python Online Compiler 43 minutes ago alexmaxwell1 ichsanputr News and Disc...
  No new line from print in... Yesterday, 18:10 Lou snippsat General Codin...
  Python is not working on ... Yesterday, 10:44 lary_p noisefloor General Codin...
  Help with Serial.write in... Yesterday, 04:44 racingsubby Larz60+ General Codin...
  Can I develop a live vide... 11-27, 04:48 mtrkhan mamta25 Web Scraping ...
  silent deployment Python ... 11-26, 21:58 Bummibaer Larz60+ News and Disc...
  Proposal for PEP 11-26, 15:53 matt Gribouillis News and Disc...
  My regex function is not ... 11-26, 08:47 Moltar1997 perfringo General Codin...
  best way to learn python 11-26, 04:40 dutch ichsanputr News and Disc...
  data fetching for indian ... 11-25, 02:50 drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... 11-24, 14:18 Ninja2112 deanhystad GUI
Most views
  The best Prog... 579479
  Tutorial Requ... 512698
  Web Scraping ... 442342
  Newbie with P... 386392
  New Users Int... 381331
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+ 12113
buran 8196
snippsat 7391
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
IFDA123 Yesterday
TimTom420 11-27
cruisesfares 11-27
SNR 11-27
Jonathan 11-27

User Panel Messages

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