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: TimTom420
» Forum threads: 38,798
» Forum posts: 175,899

Full Statistics

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

Latest Threads
No new line from print in...
Forum: General Coding Help
Last Post: Lou
7 minutes ago
» Replies: 0
» Views: 2
Python is not working on ...
Forum: General Coding Help
Last Post: Pedroski55
5 hours ago
» Replies: 2
» Views: 74
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Yesterday, 04:48 AM
» Replies: 6
» Views: 7,800
Help with Serial.write in...
Forum: General Coding Help
Last Post: racingsubby
Yesterday, 02:09 AM
» Replies: 7
» Views: 629
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 124
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 107
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
Nov-26-2025, 08:47 AM
» Replies: 3
» Views: 184
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Nov-26-2025, 04:40 AM
» Replies: 6
» Views: 3,209
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Nov-25-2025, 02:50 AM
» Replies: 6
» Views: 303
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 188

 
  Replace changing string including uppercase character with lowercase character
Posted by: silfer - Mar-23-2019, 01:07 PM - Forum: General Coding Help - Replies (11)

Hello Smile

My input lines :
[python]
<p>Material blabla ;<lb/>Dimension blabla ;<lb/></p>
<p>Sideral blublu ;<lb/>Sticky Gonzalez blibli;..... More

Print this item

  Distributing custom version of Python
Posted by: touc82 - Mar-23-2019, 01:06 PM - Forum: News and Discussions - Replies (1)

We have a large Windows and Linux application that we distribute to clients. We would like to ship our own version of Python with the application - es..... More

Print this item

  name ' ' is not defined error
Posted by: nonzzo - Mar-23-2019, 12:58 PM - Forum: General Coding Help - Replies (4)

[Image: AOhTfvC]


it won't print my str please help it has worked before but just now it won't work

Print this item

  telnet question
Posted by: jacklee26 - Mar-23-2019, 12:04 PM - Forum: Networking - Replies (2)

Hi All,
i have some question related to telnet this script. Are we able to login and don't close the session. For example login, and user is able to ..... More

Print this item

  Need help with a simple slideshow that uses pyglet
Posted by: Steven_04 - Mar-23-2019, 10:29 AM - Forum: GUI - Replies (1)

Hello,

I started Python a few weeks ago and have already made some little programs like: Cable sag calculation with matplotlib and auto take screen..... More

Print this item

  RoboBrowser error
Posted by: Pythenx - Mar-23-2019, 09:55 AM - Forum: Web Scraping & Web Development - Replies (2)

This code should go to the mp3 converter page and fill in the form with "just an example". It shows an error, which I don't know how to fix. I tried l..... More

Print this item

  failed in initialization .gitignore
Posted by: erfanakbari1 - Mar-23-2019, 08:52 AM - Forum: Web Scraping & Web Development - Replies (2)

Hey guys !
It's been a while since I just started working on some projects in Django framework and after creating projects and activate virtual envir..... More

Print this item

  How to get coroutine from a task, and an object from a coroutine?
Posted by: AlekseyPython - Mar-23-2019, 07:46 AM - Forum: General Coding Help - Replies (2)

Python 3.5

I have an object, one of the methods of which is coroutine:
[python]class A:
def __init__(self):
self.number = random.random()..... More

Print this item

  CGIHTTPRequestHandler and rest
Posted by: geko - Mar-23-2019, 07:16 AM - Forum: Web Scraping & Web Development - No Replies

hi all, how can I manage rest calls to this code?

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

from http.server import CGIHTTPRequestHandler, HTTPServer

..... More

Print this item

  System of 3 non-linear equations in 3 unknowns (how-to-solve?)
Posted by: samsonite - Mar-23-2019, 06:50 AM - Forum: General Coding Help - Replies (2)

This detailed screenshot http://imgbox.com/qFBxoHWd shows how I've solved, in the old past, the system by means of a MatLab function (fsolve), and I'l..... More

Print this item

  Regex not specific enough
Posted by: Clunk_Head - Mar-23-2019, 03:47 AM - Forum: General Coding Help - Replies (9)

I'm having trouble with regex.
I'm looking for the double quoted string starting with GET

[python]
>>> import re
>>> entry = '77.247.22.51 - - [..... More

Print this item

  Raycasting(again) walls with different heights
Posted by: robie972003 - Mar-23-2019, 01:18 AM - Forum: Game Development - No Replies

Ok so I found a tutorial on how to make a ray-caster eliminating the need for fish eye correction, heres the link, ..... More

Print this item

  Flask tutorial:
Posted by: kintarowonders - Mar-22-2019, 11:36 PM - Forum: Web Scraping & Web Development - Replies (1)

I am trying to get the Flask tutorial running. However I have ran into a problem of an undefined method used in the tutorial.

[code]
$ flask init-..... More

Print this item

  Tileset Slpiting
Posted by: Zman350x - Mar-22-2019, 11:23 PM - Forum: Game Development - Replies (1)

I want to use a tileset in my game (the image is an example) how would I go about splitting it?
https://ibb.co/Kb4YS4s
I want it to end up something..... More

Print this item

  Nested if stmts in for loop
Posted by: johneven - Mar-22-2019, 10:01 PM - Forum: Homework - Replies (2)

I'm completely flummoxed by this one.
Homework question follows:

Create an empty list called resps. Using the list percent_rain, for each percent,..... More

Print this item

  Linux command output not working
Posted by: adam2020 - Mar-22-2019, 08:36 PM - Forum: General Coding Help - Replies (2)

Hi guys,

I am working on a network analysis tool for a project in college, I am using airodump-ng to find all networks in the general area,

when I r..... More

Print this item

  eric6 IDE no output into text file
Posted by: daveq - Mar-22-2019, 01:34 PM - Forum: General Coding Help - Replies (5)

I read in, reformat, and output a text file from the command line, but if I execute the same code in the eric6 IDE it produces an empty output file.
..... More

Print this item

  concatenate
Posted by: mcgrim - Mar-22-2019, 01:24 PM - Forum: Data Science - Replies (1)

I am trying to concatenate 2 lists (L3 and L4) but L5 does not print any output.
How come?

[python]
L=[1,2]
L3=3*L

L4=[k**2 for k in L3]

..... More

Print this item

  Error:unsupported operand type(s) for ** or pow(): 'list' and 'int'
Posted by: mcgrim - Mar-22-2019, 12:42 PM - Forum: Data Science - Replies (3)

this code is generating the error message written on the subject line.
I am not understanding why.

[python]
L=[1,2]
L3=[3*L]
L4=[k**2 for k in..... More

Print this item

  How to give polygons a colour value with python?
Posted by: fzentner1987 - Mar-22-2019, 12:40 PM - Forum: Data Science - Replies (1)

Hey guys,

I'm working with arcpy since a few weeks and I have question and hopefully somebody knows how to deal with it.

I have a feature class ..... More

Print this item

  Compare and replace
Posted by: veltor88 - Mar-22-2019, 11:58 AM - Forum: General Coding Help - Replies (5)

Bonjour,

I have 2 files .txt i am trying to find a script for compare et replace between 2 files. I heard about python but i dont know how

Examp..... More

Print this item

  loop to regroup modality of a variable
Posted by: LoliMarth - Mar-22-2019, 11:05 AM - Forum: General Coding Help - Replies (11)

Hello there,

I'm kind of new with Python and sometimes I'm lacking some basics.

Here I want to regroup some modalities like them :

For column..... More

Print this item

  Python Developer Jobs in Brussels!
Posted by: SaraLitime - Mar-22-2019, 10:56 AM - Forum: Jobs - No Replies

Hello!


I am writing as a freelance in headhunting (I am not an engineer sorry Smile ) and one of the clients I recruit for -leader in the e..... More

Print this item

  Plotting help! Time is of the essence
Posted by: lordhyperfluxed - Mar-22-2019, 10:25 AM - Forum: General Coding Help - Replies (6)

Hello, I seem to be having an issue with plotting a figure correctly. it brings up the error that: ValueError: Image size of 1215624718x1259970318 pix..... More

Print this item

  problems with the If statement or is it the variables being used
Posted by: NickIgoe - Mar-22-2019, 05:39 AM - Forum: General Coding Help - Replies (2)

I am very new to python but do have some coding experience but for the life of me cannot get my head around this issue I am having.

When I hard cod..... More

Print this item

  merging sublist into single list in python
Posted by: abhishek8singhai - Mar-22-2019, 04:55 AM - Forum: General Coding Help - Replies (8)

Hi All,

I need help in solving the below problem -

my current list value are like this -
[python]single_list1 = [ 'Group Name Details', 'Gro..... More

Print this item

  IPython Notebook - How to use a class you have written
Posted by: moga2003 - Mar-22-2019, 12:41 AM - Forum: Homework - Replies (2)

Good evening,

I have completed my first code in Ipython Notebook (as MSword file), and now I need to use the class that I wrote the code for to an..... More


Attached Files

.docx   Analyzing Text Checker.docx (Size: 96.56 KB / Downloads: 623)
Print this item

  Lerning django 2.1, having problems with tutorial
Posted by: funkytwig - Mar-22-2019, 12:19 AM - Forum: Web Scraping & Web Development - Replies (1)

I have done a load of googeling but can't quite get the tutorial at https://docs.djangoproject.com/en/2.1/intro/tutorial01/ working:(.

So my projec..... More

Print this item

  String Slicing in List Comphrensions
Posted by: Patroclus72790 - Mar-21-2019, 09:28 PM - Forum: General Coding Help - Replies (1)

Hello!

I have a question about the following code:
Example 1
[python]
str = "hello"
i = str[2]
str[i]
TypeError: string indices must b..... More

Print this item

  Amicable numbers.
Posted by: pawlo392 - Mar-21-2019, 09:20 PM - Forum: Homework - Replies (2)

I want to create a program, which will find pairs of amicable numbers lower than n.
I wrote a cod : [python]def sumdiv(n):
Sum = 0
for x in..... More

Print this item

  Multiple calls to Python interpreter embedded in C++ application yield segmentation f
Posted by: mmoelle1 - Mar-21-2019, 08:54 PM - Forum: General Coding Help - No Replies

Dear Forum,

I have asked this question before at ..... More

Print this item

  How to solve a function and get x, y and z?
Posted by: TheZenMan - Mar-21-2019, 07:54 PM - Forum: General Coding Help - Replies (2)

Hi, I'm fairly new to python and was wondering how to solve this.

So I have the following:

[python]sigma_x=2
sigma_y=2
sigma_z=2
curr_locati..... More

Print this item

  Very strange error of indentation
Posted by: samsonite - Mar-21-2019, 06:30 PM - Forum: General Coding Help - Replies (12)

Reference is made to the python code listed here http://reionization.org/wp-content/uploa...st2ra.html and, in details, to this p..... More

Print this item

  package(s) error pykdtree
Posted by: zahid990170 - Mar-21-2019, 06:18 PM - Forum: General Coding Help - No Replies

Hi all,

I have just joined the forum,
I started programming in Python, only recently.

I have installed Anaconda, and PyCharm.

I had inst..... More

Print this item

  Move a character left or right in a file.
Posted by: DreamingInsanity - Mar-21-2019, 06:14 PM - Forum: General Coding Help - Replies (4)

Depending on an input ('a' or 'd') I would like to move a character left or right. I already have this:
[python]
pos = line.index('4')
pos = pos - ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  No new line from print in... 7 minutes ago Lou Lou General Codin...
  Python is not working on ... 5 hours ago lary_p Pedroski55 General Codin...
  Can I develop a live vide... Yesterday, 04:48 mtrkhan mamta25 Web Scraping ...
  Help with Serial.write in... Yesterday, 02:09 racingsubby racingsubby General Codin...
  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
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
Most views
  The best Prog... 579422
  Tutorial Requ... 512505
  Web Scraping ... 442307
  Newbie with P... 386359
  New Users Int... 380541
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+ 12111
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
TimTom420 Yesterday
cruisesfares Yesterday
SNR Yesterday
Jonathan Yesterday
matt 11-26

User Panel Messages

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