473,779 Members | 1,873 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to stop google from messing Python code

i'm using groups-beta.google.com to post python code.

Is there a way to stop google from messing with my format? it seems to
have eaten the spaces in my python code.
thanks.

Xah
xa*@xahlee.org
http://xahlee.org/PageTwo_dir/more.html

Jul 18 '05 #1
10 1364
In article <11************ **********@z14g 2000cwz.googleg roups.com>,
"Xah Lee" <xa*@xahlee.org > wrote:
i'm using groups-beta.google.com to post python code.

Is there a way to stop google from messing with my format? it seems to
have eaten the spaces in my python code.


It does that when you cross-post.

Just
Jul 18 '05 #2

"Xah Lee" <xa*@xahlee.org > wrote in message
news:11******** **************@ z14g2000cwz.goo glegroups.com.. .
i'm using groups-beta.google.com to post python code.

Is there a way to stop google from messing with my format? it seems to
have eaten the spaces in my python code.
thanks.


1. don't post, or
2. don't use google to post -- there is no real excuse for doing so.

Just about every computer comes with a newsreader. Get a free account with
news.gmane.org and read/post gmane.comp.pyth on.

Terry J. Reedy

Jul 18 '05 #3
gmane is great! its renaming of newsgroups is quite a headache.
i found that comp.lang.pytho n corresponds to gmane.comp.pyth on.general.
do you know which one corresponds to comp.lang.perl. misc?
there's no .misc or .general...

--
i thought there a strick like preceding a line by -- or something that
prevents google from reformating the post.
Xah
xa*@xahlee.org
http://xahlee.org/PageTwo_dir/more.html

Jul 18 '05 #4

Xah Lee wrote:
gmane is great! its renaming of newsgroups is quite a headache.
i found that comp.lang.pytho n corresponds to gmane.comp.pyth on.general. do you know which one corresponds to comp.lang.perl. misc?
there's no .misc or .general...

--
i thought there a strick like preceding a line by -- or something that prevents google from reformating the post.
Xah
xa*@xahlee.org
http://xahlee.org/PageTwo_dir/more.html


I guess that most people use google to post to newsgroups is that they
don't have nntp access. Telling htem to use a newsreader is facetious
and unhelpful.

Google strips leading whitespace. Putting *anything* before indentation
stops the formatting getting messed up. It doesn't stop long lines
being wrapped of course.
Regards,

Fuzzy
http://www.voidspace.org.uk/python/index.shtml

Jul 18 '05 #5

"Fuzzyman" <fu******@gmail .com> wrote in message
news:11******** **************@ f14g2000cwb.goo glegroups.com.. .

Xah Lee wrote:
gmane is great!
I guess that most people use google to post to newsgroups is that they
don't have nntp access.
Anyone with a normal internet connection has nntp access. What some do not
get from their ISP is 'free' access to a full newsite, and they may not
feel like paying extra $$ to one when they can get free access to
non-binary groups via Google that is better in regards to retention and
search, Google just happens to not work well for posting Python code. What
most of those people may not know is that there is free access to a
restricted news site (gmane) which mirrors a large number of mailing lists,
one of which is the Python mailing list, which mirrors the Python
newsgroup. So I help them by giving them this information. Xah Lee used
the information I shared, as have many other people, and even, in effect,
thanked me for doing so. Gmane also gives a Pythoneer easy access to about
50 specialized Python-related mailing lists (and 1000s not related to
Python).
Telling htem to use a newsreader is facetious and unhelpful.


Telling someone to stop sharing sharing useful information is nasty and
unhelpful. You owe me an apology.

Terry J. Reedy

Jul 18 '05 #6
Fuzzyman wrote:
I guess that most people use google to post to newsgroups is that they
don't have nntp access. Telling htem to use a newsreader is facetious
and unhelpful.


if you have internet access, you have NNTP access. gmane.org provides access
to more than 6,500 mailing lists via NNTP, including all relevant Python forums.

</F>

Jul 18 '05 #7
In article <ma************ *************** ***********@pyt hon.org>,
Fredrik Lundh <fr*****@python ware.com> wrote:
Fuzzyman wrote:

I guess that most people use google to post to newsgroups is that they
don't have nntp access. Telling htem to use a newsreader is facetious
and unhelpful.

Most people use Gooja to post because they're lazy.
if you have internet access, you have NNTP access. gmane.org provides
access to more than 6,500 mailing lists via NNTP, including all
relevant Python forums.


You also have access to the free netnews server http://news.cis.dfn.de/
--
Aahz (aa**@pythoncra ft.com) <*> http://www.pythoncraft.com/

"19. A language that doesn't affect the way you think about programming,
is not worth knowing." --Alan Perlis
Jul 18 '05 #8
Aahz schreef:
You also have access to the free netnews server http://news.cis.dfn.de/


That address is now for DFN internal use only.

Their public service moved to <http://news.individual .net/>.
--
JanC

"Be strict when sending and tolerant when receiving."
RFC 1958 - Architectural Principles of the Internet - section 3.9
Jul 18 '05 #9

Fredrik Lundh wrote:
Fuzzyman wrote:
I guess that most people use google to post to newsgroups is that they don't have nntp access. Telling htem to use a newsreader is facetious and unhelpful.
if you have internet access, you have NNTP access. gmane.org

provides access to more than 6,500 mailing lists via NNTP, including all relevant Python forums.
Not if you're behind a censoring proxy that blocks everything except
http. This is a situation many people find themselves in.

Regards,

Fuzzy
http://www.voidspace.org.uk/python/index.shtml
</F>


Jul 18 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
5205
by: engsol | last post by:
I'm using Python to parse a bunch of s/w test files and make csv files for later report generation by MS ACCESS....(my boss loves the quick turn-around compared to C). Each log file may contain one or more 'sessions', and each session may contain one or more 'nodes'. Each session in the log has an ASCII start and stop time, as does each node. I have the basic parse part done for parameters, errors, etc., but noticed my routine for...
0
1282
by: jelle | last post by:
Hi, Has anyone so far been messing accessing / quering the google desktop database files? It seems it could be the best reflection of one in a couple of hundred mb, and i intent to unleash some furious queries on it, when i'd know how to access it. Any suggestion how this could be done in python? My intention is to apply data mining to the google desktop database. How about it, who's in for it? Cheers,
5
3068
by: Zunbeltz Izaola | last post by:
Hi, I have a wxPython application that call makes a thread (with threading module). In some moment i've to stop the thread but i need to finish a funtion in the thread before it can stop. How can i achive this? Thanks in advance Zunbletz
87
5258
by: ziliath | last post by:
I recently tried out the Google "top coder" contest, as a C++ coder. I noticed immediately that they expected me to know STL. To which I say, what the fuck?! I may be missing something, but at what point when learning C++ was I supposed to have picked up STL? I ask because at every job I've had, and every job interview for that matter, whenever STL comes up it's not I, but a manager who says effectively yuck, we don't use that crap.
13
2940
by: python | last post by:
hello and thanks for reading this, i have been a dos/windows user using some form of the basic language for 30 years now. i own and run a small programming company and there is one feature that keeps me in the windows/basic world. while i will agree that it has not evolved well, it does have one awesome feature that i have yet to see replicated in any linux product that i know about so far. i am a long time windows user and have had...
3
1399
by: Anders K. Jacobsen [DK] | last post by:
I simple can't get visual studio 2003 to stop messing with my HTML code. I have unchecked all formating options under Tools / Options / Text editor / HTML/XML / Format I have even tried to uncheck every assitence i could see remotly related to this. But it just keeps messing it up. eg <td>text</td> is very often converted to <td>text</TD>
108
5336
by: JB | last post by:
It seems that our master Guido van Rossum had an offer from google and he accepted it!! long life to Guido & Goole ! many things to come ;) ju²
0
1788
by: Dirk Runge | last post by:
Hi! I have embedded Python in an C++ App. The Python-Interpreter is running in its own Thread (I'm using PThreads). I use PyRun_SimpleString to run Python-Code that the user entered in an editorwindow. I want the user to be able to stop the execution of Python-Code (e.g. using a Cancel-Button).
0
10302
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10136
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9925
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8958
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7478
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5372
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5501
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4036
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2867
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.