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,310
» Latest member: QABOB
» Forum threads: 38,801
» Forum posts: 175,920

Full Statistics

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

Latest Threads
No new line from print in...
Forum: General Coding Help
Last Post: Pedroski55
3 hours ago
» Replies: 9
» Views: 255
Python compiler
Forum: General Coding Help
Last Post: NeoQuant
9 hours ago
» Replies: 0
» Views: 38
Trading Risk management s...
Forum: Code sharing
Last Post: NeoQuant
9 hours ago
» Replies: 5
» Views: 76
Standard template Data En...
Forum: Code Review
Last Post: Hosthubac
11 hours ago
» Replies: 0
» Views: 37
Python Online Compiler
Forum: News and Discussions
Last Post: ichsanputr
Yesterday, 07:39 AM
» Replies: 3
» Views: 11,113
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
Nov-28-2025, 10:44 AM
» Replies: 4
» Views: 197
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Nov-28-2025, 04:44 AM
» Replies: 8
» Views: 722
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Nov-27-2025, 04:48 AM
» Replies: 6
» Views: 7,836
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 191
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 159

 
  .so files
Posted by: pythonCode - Aug-27-2018, 08:34 AM - Forum: General Coding Help - Replies (1)

How can access to the code inside .so files?
I cannot find the output in this piece of code, where I should search for it:
[python]if (config.loadFr..... More

Print this item

  Use defs instead of classes
Posted by: sylas - Aug-27-2018, 07:15 AM - Forum: General Coding Help - Replies (1)

Hi all ! Since it is easier to use defs instead of classes, is it not reasonable to use classes only in case there are more than 1 classes ??

Print this item

  Get last tuple from two-dimensional array?
Posted by: Winfried - Aug-27-2018, 06:09 AM - Forum: General Coding Help - Replies (6)

Hello,

Searching the archives with "two dimensional array last" returned no hits.

I need to find the last tuple from this kind of output:
[code..... More

Print this item

  Skaperen blames Ubuntu
Posted by: Skaperen - Aug-27-2018, 05:48 AM - Forum: Bar - Replies (12)

i did a fresh install of Ubuntu 16.04 in a cloud instance and found it had 21 PyPi packages installed. but pip was not one of them. and the data tha..... More

Print this item

  [SOLVED] [Nominatim] How to get "town" from reply?
Posted by: Winfried - Aug-27-2018, 05:36 AM - Forum: General Coding Help - No Replies

Hello,

I use Nominatim to reverse geolocate by providing lat+lon and getting the full adress back.

Before I resort to regex for parsing, is there a ..... More

Print this item

  How to sum up the elements of an integer using python split/join?
Posted by: mohanraj1986 - Aug-27-2018, 05:18 AM - Forum: General Coding Help - Replies (5)

I am trying to sum up the elements of an integer using python split join
Here is my code,
-----------------------
a='1234'
b=list(a)
c='+'.join..... More

Print this item

  parse tree to json dictionary in python
Posted by: maryum - Aug-27-2018, 04:59 AM - Forum: General Coding Help - No Replies

(S
(NP
(NP (NNP Takahama) (POS 's))
(JJ problematic))
(VP (VBP restart)
(NP
(NP (NN https://t.co/3hx12xWrnf) (NN #G7..... More

Print this item

  Problem in installation and difficulty to use Python 3.5 on
Posted by: gowther - Aug-27-2018, 02:16 AM - Forum: GUI - Replies (1)

Hello, I'm studying the Python language, and I needed to update the version I was using 3.4 to 3.6 or higher, but I noticed a constant error when I in..... More

Print this item

  py.exe: printing ascii number 7
Posted by: qrani - Aug-27-2018, 01:12 AM - Forum: News and Discussions - Replies (3)

I was messing around in python with ascii,
And I found something I think is interesting.
This:
[python]quitfunc = 'r'
while(quitfunc == 'r'):
..... More

Print this item

  i need a way ...
Posted by: Skaperen - Aug-26-2018, 11:56 PM - Forum: Bar - No Replies

i need a way, given a file path, a way to determine whether apt-get or pip installed it (and not if they think they did). in an old backup i am able ..... More

Print this item

  how to get pip to uninstall packages
Posted by: Skaperen - Aug-26-2018, 10:47 PM - Forum: Bar - Replies (7)

i am getting errors like these:[output]Cannot uninstall 'apturl'. It is a distutils installed project and thus we cannot accurately determine which fi..... More

Print this item

  I want to add B1 + A2 = B2
Posted by: kasicrypto - Aug-26-2018, 10:43 PM - Forum: General Coding Help - Replies (1)

I have a file with 1mil records and am trying to add the number in cell B1 to the number immediately below it in cell A2 and show the results in B2 an..... More

Print this item

  write split words of sentence to file
Posted by: bluefrog - Aug-26-2018, 08:51 PM - Forum: Homework - Replies (1)

When I test the split on Python's IDLE, I get a list of words, for example:
[python]Python 3.6.5 (default, Apr 1 2018, 05:46:30)
[GCC 7.3.0] on li..... More

Print this item

  run code while playing video
Posted by: almulder - Aug-26-2018, 07:19 PM - Forum: General Coding Help - No Replies

I am new to python, and been reading and i think i am in the right direction, just not sure.

I am trying to start executing code and without waitin..... More

Print this item

  Change values in string multiline
Posted by: DavidFernandez - Aug-26-2018, 07:12 PM - Forum: General Coding Help - Replies (4)

Hi,
my question is the following.

can we change the value of some information in a multiline string?

I tested the format but it does not work...... More

Print this item

  Simple Byte Question
Posted by: malonn - Aug-26-2018, 06:35 PM - Forum: General Coding Help - Replies (3)

Isn't b'\xec' the same as 0xEC?

I have bytes like 0xEC as keys for a dict, but I keep getting a key er..... More

Print this item

  Alien game code from book
Posted by: TheMusicMan - Aug-26-2018, 04:06 PM - Forum: General Coding Help - Replies (4)

Im still on my book and got stuck at this code.


[python]alien_0 = {'x_position': 0, 'y_poaition': 25, 'speed': 'medium'}
print('original x-position:..... More

Print this item

  need help decrypting a gif file
Posted by: SoulsKeeper - Aug-26-2018, 03:28 PM - Forum: Homework - Replies (1)

hello, i got a job offer which will send me to a fully paid studying program which i will be able to work at the end of, if only i will be able to sol..... More

Print this item

  code copy from pep-3134
Posted by: bluefrog - Aug-26-2018, 02:59 PM - Forum: General Coding Help - Replies (1)

I'm attempting to run the snippet of code in PEP-3134, but I'm not getting the errors stated.
The ..... More

Print this item

  Not receiving serial data from arduino
Posted by: dinoel_cool - Aug-26-2018, 02:42 PM - Forum: General Coding Help - Replies (4)

Hi guys. So, I am trying to receive serial data from my Arduino Uno.
The Arduino sends the heading from a magnetometer over serial, but the Python co..... More

Print this item

  Generate PDF reports
Posted by: giu88 - Aug-26-2018, 11:20 AM - Forum: General Coding Help - Replies (7)

Hello,

I need to generate nice-looking pdf reports with charts and tables.
Right now i am looking at three different solutions, but can't figur..... More

Print this item

  iterate over class properties?
Posted by: NobahdiAtoll - Aug-26-2018, 10:44 AM - Forum: General Coding Help - Replies (10)

is there a way to iterate over python property descriptors rather than __dict__ attributes?

[python]import datetime
from datetime i..... More

Print this item

  Display image from URL
Posted by: mr_byte31 - Aug-25-2018, 09:13 PM - Forum: General Coding Help - Replies (1)

Hi All,

I try to display an image from a URL but that doesn't seem to work.
do I have to download it first before I display ?


[python]from t..... More

Print this item

  Text to column pandas
Posted by: ms5573 - Aug-25-2018, 08:18 PM - Forum: Data Science - No Replies

Hi - I have a cvs file that has the below format. How do I apply text to column to the second column so that the data is broken out in separate column..... More

Print this item

  IDE and new Students
Posted by: JRValdez - Aug-25-2018, 06:09 PM - Forum: Bar - Replies (6)

Hello,

I am brand new to Python and though I learned some basic in elementary school and a little C++ in college I am for all intents and purposes ..... More

Print this item

  Problem with Lists in Python
Posted by: DEAD_BOT - Aug-25-2018, 06:06 PM - Forum: General Coding Help - Replies (2)

Thanks for answering my question in advanced... Sorry If I sound Stupid. Wink

I popped an element from the middle of a list in python how do ..... More

Print this item

  a class that gets available, running, and stopped services (Ubuntu/Debian)
Posted by: rootVIII - Aug-25-2018, 05:35 PM - Forum: Code sharing - Replies (5)

[python]
#! /usr/bin/python3
import os


class ServiceReport:
def __init__(self):
self.services = []
self.all_services = [..... More

Print this item

  SUDS - Time Out
Posted by: Dzony - Aug-25-2018, 05:31 PM - Forum: Networking - Replies (1)

Hello,
I am using SUDS for calling webservice method. Everything works under Windows but when I run it on Suse Linux I get this kind of error:

[e..... More

Print this item

  Quick question
Posted by: HespelerDad - Aug-25-2018, 04:08 PM - Forum: Web Scraping & Web Development - Replies (3)

Hey there. Can I ask what this website is coded with? https://mapleleafsaggr.com/ Is it Python?

Cheers, Rick

Print this item

  makingVariable declaration mandatory
Posted by: rohitnirantar - Aug-25-2018, 03:55 PM - Forum: General Coding Help - Replies (5)

Hi All,

How can i make variable declaration mandatory before i can use it in python?

I don't want my spelling mistakes to introduce any defects ..... More

Print this item

  So I was learning python
Posted by: Sanlus - Aug-25-2018, 03:28 PM - Forum: General Coding Help - Replies (8)

Used video from automate the boring stuff with python course, and copied the course program onto my own computer and try to ran it. Didn't work as the..... More

Print this item

  Problem with variable
Posted by: O_Pas_Sage - Aug-25-2018, 02:33 PM - Forum: General Coding Help - Replies (7)

Hello,
My program :

variable = chocolate
number = 'variable'

print(number... ?)
And I want the answer of the program to..... More

Print this item

  Converting String into Nested List
Posted by: Nirmal - Aug-25-2018, 01:19 PM - Forum: General Coding Help - Replies (1)

I have a nested list . i Need to reorganize it.

Expected Output :

[python][['Eth1/1,1,eth,f-path,down,Channel,admin down,10G(D),1'],['Eth102/1/1..... More

Print this item

  I wan't to Download all .zip Files From A Website (Project AI)
Posted by: eddywinch82 - Aug-25-2018, 12:12 PM - Forum: Web Scraping & Web Development - Replies (68)

Hi there,

I downloaded .zip Files, a while back, using a Python Code,which I was very kindly helped with by snippsat, and others on here. I would n..... More

Print this item

  Having issues getting a loop to work PLESSE HELP ASAP
Posted by: manthus007 - Aug-25-2018, 10:12 AM - Forum: General Coding Help - Replies (1)

hi people,

I'm trying to get a loop going for a project and just can't seem to get it work work. the program works before I put the 'while' stateme..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  No new line from print in... 3 hours ago Lou Pedroski55 General Codin...
  Python compiler 9 hours ago NeoQuant NeoQuant General Codin...
  Trading Risk management s... 9 hours ago NeoQuant NeoQuant Code sharing
  Standard template Data En... 11 hours ago Hosthubac Hosthubac Code Review
  Python Online Compiler Yesterday, 07:39 alexmaxwell1 ichsanputr News and Disc...
  Python is not working on ... 11-28, 10:44 lary_p noisefloor General Codin...
  Help with Serial.write in... 11-28, 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...
Most views
  The best Prog... 579498
  Tutorial Requ... 512854
  Web Scraping ... 442366
  Newbie with P... 386397
  New Users Int... 381726
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 7393
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
QABOB Today
adityaN Today
NeoQuant Yesterday
Hosthubac Yesterday
ifdainstitute7 Yesterday

User Panel Messages

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