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,964
» Latest member: Edzed4431
» Forum threads: 38,730
» Forum posts: 175,547

Full Statistics

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

Latest Threads
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: noisefloor
1 hour ago
» Replies: 4
» Views: 87
My goal to be hired worki...
Forum: News and Discussions
Last Post: Larz60+
11 hours ago
» Replies: 1
» Views: 481
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 06:49 PM
» Replies: 4
» Views: 2,018
My First App
Forum: Code Review
Last Post: carlbidwell
Yesterday, 10:53 AM
» Replies: 8
» Views: 8,578
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 03:54 AM
» Replies: 3
» Views: 477
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 942
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 962
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,228
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
Sep-26-2025, 09:50 AM
» Replies: 1
» Views: 1,845
Using Python to SSH and R...
Forum: Networking
Last Post: SprunkiRetake
Sep-26-2025, 03:53 AM
» Replies: 1
» Views: 2,882

 
  learning more abput re
Posted by: Skaperen - Dec-08-2018, 06:08 AM - Forum: News and Discussions - Replies (2)

i want to learn more about regular expression and the re module. particularly expression substitution. as an exercise, i plan to write a command that..... More

Print this item

  Python Looping
Posted by: dnetvaggos - Dec-07-2018, 09:51 PM - Forum: Web Scraping & Web Development - Replies (3)

Hello guys...i was wondering....when you have platforms for vehicle cars like "Choose Manufacturer", next you have to choose brand, type and then do y..... More

Print this item

  Setting DCHP in Windows 10 with Python
Posted by: Martin2998 - Dec-07-2018, 08:54 PM - Forum: General Coding Help - Replies (4)

HI,

Trying to fiugre out how i can set DHCP and Static IP in Windows 10 using python 3.6.5.

Been googling without finding what im looking for,

Print this item

  some question!help
Posted by: Allen - Dec-07-2018, 08:00 PM - Forum: General Coding Help - Replies (1)

from codebat:

Return True if the string "cat" and "dog" appear the same number of times in the given string.


cat_dog('catdog') → True
cat_dog..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Comparing 2 100GB Drives/... 1 hour ago tester_V noisefloor General Codin...
  My goal to be hired worki... 11 hours ago GnomeSweetGnome Larz60+ News and Disc...
  what does % stand for in ... Yesterday, 18:49 arbiel Gribouillis General Codin...
  My First App Yesterday, 10:53 BCopeland64 carlbidwell Code Review
  Unable to resolve FileNot... Yesterday, 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...
  Using Python to SSH and R... 09-26, 03:53 justaguy SprunkiRetake Networking
  extracting data from a us... 09-25, 13:49 Perry DeaD_EyE General Codin...
Most views
  The best Prog... 577195
  Tutorial Requ... 500211
  Web Scraping ... 440899
  Newbie with P... 384913
  New Users Int... 369194
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 7368
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Edzed4431 Yesterday
chaoh1911 Yesterday
KaydenJonah098 Yesterday
carlbidwell Yesterday
llarkin6 09-26

User Panel Messages

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